6.0

Table Of Contents
Delete Swap Files
If a host fails, and that host had running virtual machines that were using swap files, those swap files
continue to exist and consume many gigabytes of disk space. You can delete the swap files to eliminate this
problem.
Prerequisites
Launch the vSphere Client and log in to a vCenter Server system or an ESXi host.
Procedure
1 Restart the virtual machine that was on the host that failed.
2 Stop the virtual machine.
The swap file for the virtual machine is deleted.
Configure the Host Cache
You can change the percentage of space allocated for host cache or disable the host's ability to swap to host
cache.
Prerequisites
Launch the vSphere Client and log in to a vCenter Server system.
You must have an SSD-backed datastore in your inventory.
Procedure
1 In the vSphere Client, select the host in the inventory.
2 Click the Configuration tab.
3 Under Software, click Host Cache Configuration.
4 Select the datastore in the list and click Properties.
5 Select a size for the host cache allocation on the drive.
6 To disable the ability for the host to swap to host cache on a per-datastore basis, deselect the Allocate
space for host cache check box.
7 Click OK.
Enable or Disable the Memory Compression Cache
Memory compression is enabled by default. You can use the Advanced Settings dialog box in the vSphere
Client to enable or disable memory compression for a host.
Prerequisites
Launch the vSphere Client and log in to a vCenter Server system.
Procedure
1 In the vSphere Client, select the host in the inventory.
2 Click the Configuration tab.
3 Under Software, select Advanced Settings.
4 In the left pane, select Mem and locate Mem.MemZipEnable.
vSphere Administration with the vSphere Client
348 VMware, Inc.