Enable your ESXi host to swap to the host cache. You can also change the percentage of space allocated for the host cache.

Before you begin

Create a flash-backed VMFS datastore. See Create a VMFS Datastore.

About this task

Use this task if you do not have an appropriate license that allows you to set up and manage a virtual flash resource. If you have the license, use the virtual flash resource for host cache configuration.


  1. Browse to the host in the vSphere Web Client navigator.
  2. Click the Configure tab.
  3. Under Storage, click Host Cache Configuration.
  4. Select the flash datastore in the list and click the Allocate space for host cache icon.
  5. To enable the host swap cache on a per-datastore basis, select the Allocate space for host cache check box.

    By default, maximum available space is allocated for the host cache.

  6. (Optional) : To change the host cache size, select Custom size and make appropriate adjustments.
  7. Click OK.