HomeFreeBSD

Allow scaling of arc in proportion to pagecache

Description

Allow scaling of arc in proportion to pagecache

When multiple filesystems are in use, memory pressure causes arc_cache
to collapse to a minimum. Allow arc_cache to maintain proportional size
even when hit rates are disproportionate. We do this only via evictable
size from the kernel shrinker, thus it's only in effect under memory
pressure.

AKAMAI: zfs: CR 3695072
Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Closes #6035

Details

Provenance
Debabrata Banerjee <dbanerje@akamai.com>Authored on Mar 16 2017, 1:34 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 2 2017, 7:50 PM
Parents
rG4149bf498a34: Correct signed operation
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG03b60eee78b0: Allow scaling of arc in proportion to pagecache (authored by Debabrata Banerjee <dbanerje@akamai.com>).May 2 2017, 7:50 PM