diff options
author | Debabrata Banerjee <[email protected]> | 2017-03-15 21:34:56 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-02 15:50:49 -0400 |
commit | 03b60eee78b0bf1125878dbad0fcffd717def61f (patch) | |
tree | 1b97ca89db3be944d8f5511b291f88be0389290c /man | |
parent | 4149bf498a3490a8ab506109e3893087f35fd23f (diff) |
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 <[email protected]>
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Debabrata Banerjee <[email protected]>
Closes #6035
Diffstat (limited to 'man')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 77f1af6d5..2fbab1d01 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -702,6 +702,24 @@ Default value: \fB5\fR. .sp .ne 2 .na +\fBzfs_arc_pc_percent\fR (uint) +.ad +.RS 12n +Percent of pagecache to reclaim arc to + +This tunable allows ZFS arc to play more nicely with the kernel's LRU +pagecache. It can guarantee that the arc size won't collapse under scanning +pressure on the pagecache, yet still allows arc to be reclaimed down to +zfs_arc_min if necessary. This value is specified as percent of pagecache +size (as measured by NR_FILE_PAGES) where that percent may exceed 100. This +only operates during memory pressure/reclaim. +.sp +Default value: \fB0\fR (disabled). +.RE + +.sp +.ne 2 +.na \fBzfs_arc_sys_free\fR (ulong) .ad .RS 12n |