Allow ZFS ARC min / max to be tuned at runtime

Description

Allow ZFS ARC min / max to be tuned at runtime

Prior to this change ZFS ARC min / max could only be changed using
boot time tunables, this allows the values to be tuned at runtime
using the sysctls:

  • vfs.zfs.arc_max
  • vfs.zfs.arc_min

When adjusting ZFS ARC minimum the memory used will only reduce
to the new minimum given memory pressure.

Reviewed by: allanjude
Approved by: re (gjb)
MFC after: 2 weeks
Relnotes: yes
Sponsored by: Multiplay
Differential Revision: https://reviews.freebsd.org/D5907

Details

Committed
smhJun 29 2016, 7:55 AM
Reviewer
allanjude
Differential Revision
D5907: Allow ZFS ARC min / max to be tuned at runtime
Parents
rS302264: Update vendor/libarchive to git 084ef320b8fc62e3fd3acb762fe6175d48d7829c
Branches
Unknown
Tags
Unknown