You can configure Flash Read Cache for your virtual machine.
When you enable Flash Read Cache, you can specify the block size and cache size reservation.
Block size is the minimum number of contiguous bytes that can be stored in the cache. This block size can be larger than the nominal disk block size of 512 bytes, between 4 KB and 1024 KB. If a guest operating system writes a single 512-byte disk block, the surrounding cache block size bytes are cached. Do not confuse the cache block size with the disk block size.
Reservation is a reservation size for cache blocks. There is a minimum number of 256 cache blocks. If the cache block size is 1 MB, then the minimum cache size is 256 MB. If the cache block size is 4 K, then the minimum cache size is 1 MB.
For more information about sizing guidelines, search for the Performance of vSphere Flash Read Cache in VMware vSphere white paper on the VMware website.
Set up virtual flash resource.
- Navigate to the virtual machine.
- Right-click the virtual machine and select Edit Settings.
- On the Virtual Hardware tab, expand Hard disk to view the disk menu items.
- To enable Flash Read Cache for the virtual machine, enter a value in the Virtual Flash Read Cache text box.
- Click Advanced to specify the following parameters.
This option is available only in the vSphere Web Client.
Select a cache size reservation.
Select a block size.
- Click OK.