Wednesday, December 4, 2013

How to Configure Flash Read Cache on one Host

What it is:

Flash Read Cache is a new feature found in 5.5 to centralize the management and configuration of flash based devices such as pci-e flash cards or SAS/Sata SSDs. These local devices can now be used to enhance the performance of esxi hosts by storing the host swap file and read caching for virtual machines i/o requests.


1. Launch the web client and log in as the administrator. You can't use the Vsphere Client for this.

2. Select one of your esxi servers and go to the the Manage tab.

3. Select Settings and click on Cache Configuration

4. Click on Add Capacity and Select the SSD drive to use. Then click on Ok

5. Once selected, the system creates a VFFS file system.

6. To configure a virtual machine to use the Flash Read Cache, right click on a virtual machine and select Edit Settings. Select Hard Drive 1 and expand. Enable Flash Read Cache and specify the Cache Reservation and the Block Size.

Note:  The Web Client in 5.5 allows for vmotion of vms with flash read cache. As you vmotion a virtual machine, there are two new choices that allow you to select "Always Migrate the Cache Contents" and "Do Not Migrate the Cache Contents".

Flash Read Cache esxcli Commands:

esxcli storage vflash

. module get
. module list

. cache get
. cache list

. cache stats get
. cache stats reset

. device list

ex:  # esxcli storage vflash device list

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.