Memory utilization

From OpenZFS on OS X
Revision as of 23:42, 21 October 2015 by Ilovezfs (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Memory Utilization

To set a persistent arc maximum, you need to create a new file /etc/zfs/zsysctl.conf. An example file is installed at /etc/zfs/zsysctl.conf.example.

Open /etc/zfs/zsysctl.conf in your favorite text editor, and add a line like this:


This would limit the arc max to 11GB (see table below).

You may also wish to set the arc meta limit explicitly. The default is 1/4 of the arc max, but for some workloads 3/4 may be more appropriate. Setting 3/4 of the arc max above:


For additional information, please see Performance.

External links