]> git.proxmox.com Git - mirror_zfs.git/commit
Allow scaling of arc in proportion to pagecache
authorDebabrata Banerjee <dbanerje@akamai.com>
Thu, 16 Mar 2017 01:34:56 +0000 (21:34 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 May 2017 19:50:49 +0000 (15:50 -0400)
commit03b60eee78b0bf1125878dbad0fcffd717def61f
tree1b97ca89db3be944d8f5511b291f88be0389290c
parent4149bf498a3490a8ab506109e3893087f35fd23f
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
man/man5/zfs-module-parameters.5
module/zfs/arc.c