Creating and Using Oracle Solaris Kernel Zones

Exit Print View

Updated: December 2014

Tuning the Host ZFS ARC Cache on a Kernel Zone Host

To ensure efficient performance, you must configure the kernel zone host to limit the system ZFS Adaptive Replacement Cache (ARC). This value needs to be set only once on the host when you are planning your kernel zone configuration.


Caution  -  Failure to limit the host ZFS ARC cache can lead to low memory failures.

To limit the ZFS ARC cache on the host, as an administrator, set the zfs_arc_max value to the ZFS ARC cache value in bytes. The suggested value is one-half of what you would like the host ZFS resources to use. For example, if you want ZFS to use less than 2 GB of memory, set the ARC cache to 1 GB, or 0x40000000. See ZFS ARC Parameters in Oracle Solaris 11.2 Tunable Parameters Reference Manual and Chapter 11, Recommended Oracle Solaris ZFS Practices, in Managing ZFS File Systems in Oracle Solaris 11.2 for further information.

You must reboot the kernel zone host to have the changes take effect.