running a CX4-960 and using storage pools, I used Unisphere to create a 1945GB lun for our ESXi farm and then used the VMWare plugin to create a datastore from VMCenter 4. the plugin asks for blocksize whereas in Unisphere there was no specification for blocksize.
What is the blocksize that gets used when creating the lun via Unisphere tools? and, what is the penalty (if any) for using larger blocksizes when using the VMWare plugin?
I know that the larger blocksize allows me to create larger vmdk's but is there any penalty associated with, say, choosing the largest 8mb block size? is FAST affected in its capabilities when choosing the blocksize?
The VMFS Datastore block size does not affect IO size or performance, it only affects the allocation sizes in the filesystem for individual files. An 8MB block size essentially means 8MB is the smallest file size. Since VMDKs are generally GBs in size a large block size is not an issue. If you think you may have VMDKs approaching 300GB in size then you will want to go with larger block sizes. There is really no downside to a larger size.
When chosing your block size, keep in mind that to take advantage of VAAI (vStorage APIs for Array Integration) and the array hardware acceleration primitives such as "Full Copy" (cloning, Storage vMotion, etc) which copy between datastores, the block size must be the same. Otherwise, you lose the offload to the array and, of course, simply reverts back to the way it was without VAAI support.
Since VAAI requires FLARE 30 and vSphere 4.1 (as well as other several other configuration settings such as using ALUA for the Navisphere/Unisphere host failover mode), this might be something to look forward to and plan for now. Therefore, I'm simply bringing this up as (a reminder) you may want to standardize on one value.
Many people (scattered comments on Chad Sakac's blog) choose 8MB in consideration of standarizing and the flexibility of the larger file/datastore sizes. As already pointed out performance is not usually impacted and generally not too much space is wasted either with the larger block size.
Storagesavvy
474 Posts
164
0
Posted February 4th, 2011 15:00
The VMFS Datastore block size does not affect IO size or performance, it only affects the allocation sizes in the filesystem for individual files. An 8MB block size essentially means 8MB is the smallest file size. Since VMDKs are generally GBs in size a large block size is not an issue. If you think you may have VMDKs approaching 300GB in size then you will want to go with larger block sizes. There is really no downside to a larger size.
Richard Anderson