Enable your ESXi host to swap to the host cache. You can also change the amount of space allocated for the host cache.
Your ESXi hosts can use a portion of a flash-backed storage entity as a swap cache shared by all virtual machines.
The host-level cache is made up of files on a low-latency disk that ESXi uses as a write-back cache for virtual machine swap files. All virtual machines running on the host share the cache. Host-level swapping of virtual machine pages makes the best use of potentially limited flash device space.
Prerequisites
Create a VMFS datastore using flash devices as backing. See Create a vSphere VMFS Datastore.
Procedure
- In the vSphere Client, navigate to the ESXi host.
- Click the Configure tab.
- Under Storage, click Host Cache Configuration.
- Select the flash datastore in the list and click the Edit icon.
- Allocate appropriate space for host cache.
- Click OK.