XenCenter

Storage Read Caching

Note:

Storage Read Caching is available for Citrix Hypervisor Premium Edition customers, or those customers who have access to Citrix Hypervisor through their Citrix Virtual Apps and Desktops entitlement.

Read Caching improves a VM’s disk performance as, after the initial read from an external disk, data is cached within the host’s free memory. It greatly improves performance in situations where many VMs are cloned off a single base VM as it drastically reduces the number of blocks read from disk. For example, Read Caching improves performance in Citrix Virtual Desktops Machine Creation Services (MCS) environments.

This performance improvement can be seen whenever data must be read from disk more than once, as it gets cached in memory. This performance difference is most noticeable in the degradation of service that occurs during heavy I/O situations. For example:

  • When a significant number of end users boot up within a narrow time frame (boot storm)
  • When a significant number of VMs are scheduled to run malware scans at the same time (antivirus storm)

Note:

The amount of memory assigned to the Citrix Hypervisor control domain (dom0) might need to be increased for the most efficient use of read caching. For instructions on increasing dom0 memory, see Changing the Control Domain Memory.

XenCenter displays the status of Read Caching on the VM’s General tab.

Read Caching is enabled by default, provided:

  • The Citrix Hypervisor host is licensed with Citrix Hypervisor Premium Edition or a Citrix Virtual Apps and Desktops license.
  • The VM is attached to a VDI on a file-based SR such as NFS, EXT3/EXT4, or GFS2. Read Caching cannot be used with other SR types.
  • The VM is created from a fast clone or a snapshot, or the VM is attached to a read-only VDI.

For detailed information about Read Caching, see Storage read caching.

To disable read caching

You can disable read caching for an SR in its Properties dialog.

  1. In the Resources pane, select the SR that you want to disable read caching on.
  2. In the General tab, click Properties.
  3. In the Properties dialog, deselect Enable Read Caching.
  4. Click OK.

To enable read caching

You can enable read caching for an SR in its Properties dialog.

  1. In the Resources pane, select the SR that you want to enable read caching on.
  2. In the General tab, click Properties.
  3. In the Properties dialog, select Enable Read Caching.
  4. Click OK.
  5. Restart any VMs that you want to benefit from the changed setting.
Storage Read Caching