summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-07-27 13:17:32 -0700
committerBrian Behlendorf <[email protected]>2015-07-30 11:50:22 -0700
commit11f552fa9074a94dac3463300e369013ec2f1544 (patch)
tree58293fbe84d64056544233fa17888e982e75c8ba /etc
parent6339c1b9dce9f7cf4b7269d588d7a9c3bf338ebb (diff)
Update arc_available_memory() to check freemem
While Linux doesn't provide detailed information about the state of the VM it does provide us total free pages. This information should be incorporated in to the arc_available_memory() calculation rather than solely relying on a signal from direct reclaim. Conceptually this brings arc_available_memory() back in sync with illumos. It is also desirable that the target amount of free memory be tunable on a system. While the default values are expected to work well for most workloads there may be cases where custom values are needed. The zfs_arc_sys_free module option was added for this purpose. zfs_arc_sys_free - The target number of bytes the ARC should leave as free memory on the system. This value can checked in /proc/spl/kstat/zfs/arcstats and setting this module option will override the default value. Signed-off-by: Brian Behlendorf <[email protected]> Closes #3637
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions