HomeFreeBSD

Set zfs_arc_min to 4MB

Description

Set zfs_arc_min to 4MB

Decrease the mimimum ARC size from 1/32 of total system memory
(or 64MB) to a much smaller 4MB.

  1. Large systems with over a 1TB of memory are being deployed and reserving 1/32 of this memory (32GB) as the mimimum requirement is overkill.
  1. Tiny systems like the raspberry pi may only have 256MB of memory in which case 64MB is far too large.

The ARC should be reclaimable if the VFS determines it needs
the memory for some other purpose. If you want to ensure the
ARC is never completely reclaimed due to memory pressure you
may still set a larger value with zfs_arc_min.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Issue #2110

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 23 2013, 10:33 PM
Parents
rG3965d2e6ee3c: Merge branch 'issue-2094'
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG914158259225: Set zfs_arc_min to 4MB (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 21 2014, 10:52 PM