aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl/vm.txt
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@engr.sgi.com>2006-02-01 06:05:33 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-01 11:53:16 -0500
commit2a11ff06d7d12be5d1bbcf592fff649b45ac2388 (patch)
treecef86d3f60b6ae5b3dab277a554a92a8e08d903b /Documentation/sysctl/vm.txt
parenta92f71263af9d0ab77c260f709c0c079656221aa (diff)
[PATCH] zone_reclaim: configurable off node allocation period.
Currently the zone_reclaim code has a fixed window of 30 seconds of off node allocations should a local zone have no unused pagecache pages left. Reclaim will be attempted again after this timeout period to avoid repeated useless scans for memory. This is also useful to established sufficiently large off node allocation chunks to relieve the local node. It may be beneficial to adjust that time period for some special situations. For example if memory use was exceeding node capacity one may want to give up for longer periods of time. If memory spikes intermittendly then one may want to shorten the time period to reduce the number of off node allocations. This patch allows just that.... Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/sysctl/vm.txt')
-rw-r--r--Documentation/sysctl/vm.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 391dd64363e7..44518c023949 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -28,6 +28,7 @@ Currently, these files are in /proc/sys/vm:
28- block_dump 28- block_dump
29- drop-caches 29- drop-caches
30- zone_reclaim_mode 30- zone_reclaim_mode
31- zone_reclaim_interval
31 32
32============================================================== 33==============================================================
33 34
@@ -137,4 +138,15 @@ of memory should be used for caching files from disk.
137 138
138It may be beneficial to switch this on if one wants to do zone 139It may be beneficial to switch this on if one wants to do zone
139reclaim regardless of the numa distances in the system. 140reclaim regardless of the numa distances in the system.
141================================================================
142
143zone_reclaim_interval:
144
145The time allowed for off node allocations after zone reclaim
146has failed to reclaim enough pages to allow a local allocation.
147
148Time is set in seconds and set by default to 30 seconds.
149
150Reduce the interval if undesired off node allocations occur. However, too
151frequent scans will have a negative impact onoff node allocation performance.
140 152