summaryrefslogtreecommitdiffstats
path: root/man/man5
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-07-28 11:30:00 -0700
committerBrian Behlendorf <[email protected]>2015-07-30 11:52:12 -0700
commit7e8bddd01952722b8f8bda773b3c96cb49b2e2bc (patch)
tree8cf73340385ce03104af185142788aca3f8e0b56 /man/man5
parent11f552fa9074a94dac3463300e369013ec2f1544 (diff)
Update arc_memory_throttle() to check pageout
This brings the behavior of arc_memory_throttle() back in sync with illumos. The updated memory throttling policy roughly goes like this: * Never throttle if more than 10% of memory is free. This threshold is configurable with the zfs_arc_lotsfree_percent module option. * Minimize any throttling of kswapd even when free memory is below the set threshold. Allow it to write out pages as quickly as possible to help alleviate the memory pressure. * Delay all other threads when free memory is below the set threshold in order to avoid compounding the memory pressure. Buffers will be evicted from the ARC to reduce the issue. The Linux specific zfs_arc_memory_throttle_disable module option has been removed in favor of the existing zfs_arc_lotsfree_percent tuning. Setting zfs_arc_lotsfree_percent=0 will have the same effect as zfs_arc_memory_throttle_disable and it was therefore redundant. Signed-off-by: Brian Behlendorf <[email protected]> Closes #3637
Diffstat (limited to 'man/man5')
-rw-r--r--man/man5/zfs-module-parameters.513
1 files changed, 7 insertions, 6 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5
index c0365ea5c..de3f35bbb 100644
--- a/man/man5/zfs-module-parameters.5
+++ b/man/man5/zfs-module-parameters.5
@@ -388,23 +388,24 @@ Default value: \fB5\fR.
.sp
.ne 2
.na
-\fBzfs_arc_max\fR (ulong)
+\fBzfs_arc_lotsfree_percent\fR (int)
.ad
.RS 12n
-Max arc size
+Throttle I/O when free system memory drops below this percentage of total
+system memory. Setting this value to 0 will disable the throttle.
.sp
-Default value: \fB0\fR.
+Default value: \fB10\fR.
.RE
.sp
.ne 2
.na
-\fBzfs_arc_memory_throttle_disable\fR (int)
+\fBzfs_arc_max\fR (ulong)
.ad
.RS 12n
-Disable memory throttle
+Max arc size
.sp
-Use \fB1\fR for yes (default) and \fB0\fR to disable.
+Default value: \fB0\fR.
.RE
.sp