XenCenter

Storage Read Caching

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 XenServer 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.

Note:

Storage Read Caching is available for XenServer Premium Edition customers.

Read Caching is enabled by default, provided:

  • The XenServer host is licensed with XenServer Premium Edition.
  • 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.

XenServer 8

Citrix Hypervisor 8.2 Cumulative Update 1

Storage Read Caching