[PATCH] Documentation/sysctl/vm.txt update

From: Thayne Harbaugh
Date: Wed Nov 12 2003 - 19:14:13 EST


Now that 2.4.9 is well behind us, it's time to update
Documentation/sysctl/vm.txt.

Thanks

--- linux-2.4.22/Documentation/sysctl/vm.txt 2002-11-28 16:53:08.000000000 -0700
+++ linux-2.4.22-bs/Documentation/sysctl/vm.txt 2003-11-12 17:35:11.000000000 -0700
@@ -18,13 +18,10 @@

Currently, these files are in /proc/sys/vm:
- bdflush
-- buffermem
-- freepages
- kswapd
- max_map_count
- overcommit_memory
- page-cluster
-- pagecache
- pagetable_cache

==============================================================
@@ -102,38 +99,6 @@
of buffer cache that is dirty which will stop bdflush.
The default is 20%, the miniumum is 0%, and the maxiumum is 100%.
==============================================================
-buffermem:
-
-The three values in this file correspond to the values in
-the struct buffer_mem. It controls how much memory should
-be used for buffer memory. The percentage is calculated
-as a percentage of total system memory.
-
-The values are:
-min_percent -- this is the minimum percentage of memory
- that should be spent on buffer memory
-borrow_percent -- UNUSED
-max_percent -- UNUSED
-
-==============================================================
-freepages:
-
-This file contains the values in the struct freepages. That
-struct contains three members: min, low and high.
-
-The meaning of the numbers is:
-
-freepages.min When the number of free pages in the system
- reaches this number, only the kernel can
- allocate more memory.
-freepages.low If the number of free pages gets below this
- point, the kernel starts swapping aggressively.
-freepages.high The kernel tries to keep up to this amount of
- memory free; if memory comes below this point,
- the kernel gently starts swapping in the hopes
- that it never has to do real aggressive swapping.
-
-==============================================================

kswapd:

@@ -208,24 +173,6 @@

==============================================================

-pagecache:
-
-This file does exactly the same as buffermem, only this
-file controls the struct page_cache, and thus controls
-the amount of memory used for the page cache.
-
-In 2.2, the page cache is used for 3 main purposes:
-- caching read() data from files
-- caching mmap()ed data and executable files
-- swap cache
-
-When your system is both deep in swap and high on cache,
-it probably means that a lot of the swapped data is being
-cached, making for more efficient swapping than possible
-with the 2.0 kernel.
-
-==============================================================
-
pagetable_cache:

The kernel keeps a number of page tables in a per-processor

--
Thayne Harbaugh
Linux Networx

Attachment: signature.asc
Description: This is a digitally signed message part