Question about LSFS size on SSD and sector size

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

fanello
Posts: 19
Joined: Mon May 05, 2014 2:48 pm

Tue Jun 24, 2014 7:58 pm

Hi,

I want to create a HA Device on a 480GB Intel DC S3500 SSD.
What is the maximum size I can give the device if I want to use LSFS? If I understood correctly, LSFS device can use 2-3 times more space, than it offers.
So I can not give it a value near the 480 GB. But if I use a thick provisined img, the device will lack the benefits of trim.
What is the best practice here?

Is it correct, that I should not use thin-provisioning in Hyper-V? I'm using Server 2012 R2.

Next question is about the sector size. Intel RSTe tells me, that the physical sector size is 4096 byte, but the logical sector is 512 byte. Which sector size should I choose in Starwind?

Thanks for your help.

Regards
Benny
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue Jun 24, 2014 9:13 pm

150-160 GB should work fine.

We'll pass down TRIM we'll get down the storage stack so you'll have it.

Don't confuse thin-provitioned VHDX layered on top of a storage and actual thin-provisioned storage policy. These are different and have no relation to each other. For most of the setups you should be using indeed pre-allocated VHDX but it's OK to layer them on top of a thin-provisioned storage volumes where LSFS is just an example.

We'll always report 4KB block with LSFS (technically we can do any block size including 512e but that's made out of user control).
fanello wrote:Hi,

I want to create a HA Device on a 480GB Intel DC S3500 SSD.
What is the maximum size I can give the device if I want to use LSFS? If I understood correctly, LSFS device can use 2-3 times more space, than it offers.
So I can not give it a value near the 480 GB. But if I use a thick provisined img, the device will lack the benefits of trim.
What is the best practice here?

Is it correct, that I should not use thin-provisioning in Hyper-V? I'm using Server 2012 R2.

Next question is about the sector size. Intel RSTe tells me, that the physical sector size is 4096 byte, but the logical sector is 512 byte. Which sector size should I choose in Starwind?

Thanks for your help.

Regards
Benny
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
robnicholson
Posts: 359
Joined: Thu Apr 14, 2011 3:12 pm

Wed Jun 25, 2014 11:40 am

Is it correct, that I should not use thin-provisioning in Hyper-V? I'm using Server 2012 R2.
We use thin-provisioning on v6 for our entire Hyper-V 2012 farm and it works fine. Sure, there will be a performance overhead but it's not visibly effecting our environment.

Cheers, Rob.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Wed Jul 02, 2014 9:41 am

Rob, thank you for the input.

fanello, could you please try out the suggested and let us know if it works for you?
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
fanello
Posts: 19
Joined: Mon May 05, 2014 2:48 pm

Sat Jul 05, 2014 5:15 pm

Hi,

thanks for your help.
I decided to use thick provisioning, because I need the space. Do you pass down TRIM even with thick provisioning? If I place a vm directly onto my Raid, TRIM is working fine in the vm, if I place it onto the Starwind Volume, TRIM is no longer working.
Using 2012R2 as Hypervisor and 2012R2 in the VM.

Regards
Benny
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Mon Jul 07, 2014 8:50 am

LSFS has own implementation of TRIM need to check do we pass TRIM down on FLAT. Hold on, I'll bring developers here.
fanello wrote:Hi,

thanks for your help.
I decided to use thick provisioning, because I need the space. Do you pass down TRIM even with thick provisioning? If I place a vm directly onto my Raid, TRIM is working fine in the vm, if I place it onto the Starwind Volume, TRIM is no longer working.
Using 2012R2 as Hypervisor and 2012R2 in the VM.

Regards
Benny
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Mon Jul 07, 2014 9:14 am

Flat container doesn't translate TRIM commands to underlying storage now.
We are planning to add this functionality during the month.
Best regards,
Alexey.
fanello
Posts: 19
Joined: Mon May 05, 2014 2:48 pm

Mon Jul 07, 2014 10:08 am

Thanks, I really love the support here :)
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Jul 07, 2014 4:44 pm

It is always pleasure to assist you!
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
rriiicchh
Posts: 5
Joined: Mon Apr 07, 2014 9:50 am

Tue Jul 29, 2014 11:44 am

Alex (staff) wrote:Flat container doesn't translate TRIM commands to underlying storage now.
We are planning to add this functionality during the month.
Do you have a timeline for this to be included in the released version?
robnicholson
Posts: 359
Joined: Thu Apr 14, 2011 3:12 pm

Tue Jul 29, 2014 2:35 pm

Yes, you always promised TRIM support in v8 so to learn it's not there is a bit of a disappointment.
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue Jul 29, 2014 4:03 pm

It's there for LSFS and TRIM / UNMAP is already working for FLAT so we'll have an update for that soon.
robnicholson wrote:Yes, you always promised TRIM support in v8 so to learn it's not there is a bit of a disappointment.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
rriiicchh
Posts: 5
Joined: Mon Apr 07, 2014 9:50 am

Tue Jul 29, 2014 4:23 pm

anton (staff) wrote:It's there for LSFS and TRIM / UNMAP is already working for FLAT so we'll have an update for that soon.
Are you able to say when approximately? I may be deploying an all flash solution and in that case flat makes sense as I don't need the benefits of LSFS to speed up the array and can't stretch the budget enough to cover the 2-3x size increase for LSFS.
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue Jul 29, 2014 4:35 pm

This week + some tests so I guess couple of weeks sounds reasonable. Did not get the idea about LSFS size increase as LSFS with enabled dedupe and snapshot offloads keeps LESS flash used.
rriiicchh wrote:
anton (staff) wrote:It's there for LSFS and TRIM / UNMAP is already working for FLAT so we'll have an update for that soon.
Are you able to say when approximately? I may be deploying an all flash solution and in that case flat makes sense as I don't need the benefits of LSFS to speed up the array and can't stretch the budget enough to cover the 2-3x size increase for LSFS.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
rriiicchh
Posts: 5
Joined: Mon Apr 07, 2014 9:50 am

Tue Jul 29, 2014 4:48 pm

anton (staff) wrote:This week + some tests so I guess couple of weeks sounds reasonable. Did not get the idea about LSFS size increase as LSFS with enabled dedupe and snapshot offloads keeps LESS flash used.
The note about LSFS size increase is in reference to the first post whereby it is recommended to only assign 150-160GB on a disk with 480GB capacity.

We are looking at putting about 6TB of data on the StarWind array so to give this the headroom that LSFS needs we would be looking for 18TB which is naturally 3 times the cost for SSDs and makes it out of reach.

However if we go for flat disks then we can purchase the 6TB of flash however we would need the trim/unmap commands to get this to a working solution.
Post Reply