diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-06-30 04:55:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 14:25:35 -0400 |
commit | 34aa1330f9b3c5783d269851d467326525207422 (patch) | |
tree | a47db4fa53527ea937dee9e763267ab21865ce11 /Documentation | |
parent | f3dbd34460ff54962d3e3244b6bcb7f5295356e6 (diff) |
[PATCH] zoned vm counters: zone_reclaim: remove /proc/sys/vm/zone_reclaim_interval
The zone_reclaim_interval was necessary because we were not able to determine
how many unmapped pages exist in a zone. Therefore we had to scan in
intervals to figure out if any pages were unmapped.
With the zoned counters and NR_ANON_PAGES we now know the number of pagecache
pages and the number of mapped pages in a zone. So we can simply skip the
reclaim if there is an insufficient number of unmapped pages. We use
SWAP_CLUSTER_MAX as the boundary.
Drop all support for /proc/sys/vm/zone_reclaim_interval.
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')
-rw-r--r-- | Documentation/sysctl/vm.txt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 2dc246af4885..86754eb390da 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
@@ -28,7 +28,6 @@ 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 | ||
32 | - panic_on_oom | 31 | - panic_on_oom |
33 | 32 | ||
34 | ============================================================== | 33 | ============================================================== |
@@ -167,18 +166,6 @@ use of files and builds up large slab caches. However, the slab | |||
167 | shrink operation is global, may take a long time and free slabs | 166 | shrink operation is global, may take a long time and free slabs |
168 | in all nodes of the system. | 167 | in all nodes of the system. |
169 | 168 | ||
170 | ================================================================ | ||
171 | |||
172 | zone_reclaim_interval: | ||
173 | |||
174 | The time allowed for off node allocations after zone reclaim | ||
175 | has failed to reclaim enough pages to allow a local allocation. | ||
176 | |||
177 | Time is set in seconds and set by default to 30 seconds. | ||
178 | |||
179 | Reduce the interval if undesired off node allocations occur. However, too | ||
180 | frequent scans will have a negative impact onoff node allocation performance. | ||
181 | |||
182 | ============================================================= | 169 | ============================================================= |
183 | 170 | ||
184 | panic_on_oom | 171 | panic_on_oom |