From 728d6ae91e5381cda813672c9e9f66a269f58368 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 26 Jun 2015 15:59:23 -0700 Subject: Reinstate zfs_arc_p_min_shift Commit f521ce1 removed the minimum value for "arc_p" allowing it to drop to zero or grow to "arc_c". This was done to improve specific workload which constantly dirties new "metadata" but also frequently touches a "small" amount of mfu data (e.g. mkdir's). This change may still be desirable but it needs to be re-investigated. in the context of the recent ARC changes from upstream. Therefore this code is being restored to facilitate benchmarking. By setting "zfs_arc_p_min_shift=64" we easily compare the performance. Signed-off-by: Brian Behlendorf Issue #3533 --- man/man5/zfs-module-parameters.5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'man/man5') diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 0444d9050..5b6eb7afd 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -521,6 +521,18 @@ the reclaim thread catches up and the overflow condition no longer exists. Default value: \fB8\fR. .RE +.sp +.ne 2 +.na + +\fBzfs_arc_p_min_shift\fR (int) +.ad +.RS 12n +arc_c shift to calc min/max arc_p +.sp +Default value: \fB4\fR. +.RE + .sp .ne 2 .na -- cgit v1.2.3