aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2014-01-21 18:49:14 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-21 19:19:44 -0500
commit49f0ce5f92321cdcf741e35f385669a421013cb7 (patch)
treed41c5a2283b32be69840cb8722ffd8cd8c38a1b0 /Documentation/sysctl
parentaec6a8889a98a0cd58357cd0937a25189908f191 (diff)
mm: add overcommit_kbytes sysctl variable
Some applications that run on HPC clusters are designed around the availability of RAM and the overcommit ratio is fine tuned to get the maximum usage of memory without swapping. With growing memory, the 1%-of-all-RAM grain provided by overcommit_ratio has become too coarse for these workload (on a 2TB machine it represents no less than 20GB). This patch adds the new overcommit_kbytes sysctl variable that allow a much finer grain. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: fix nommu build] Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl')
-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 1fbd4eb7b64a..9f5481bdc5a4 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -47,6 +47,7 @@ Currently, these files are in /proc/sys/vm:
47- numa_zonelist_order 47- numa_zonelist_order
48- oom_dump_tasks 48- oom_dump_tasks
49- oom_kill_allocating_task 49- oom_kill_allocating_task
50- overcommit_kbytes
50- overcommit_memory 51- overcommit_memory
51- overcommit_ratio 52- overcommit_ratio
52- page-cluster 53- page-cluster
@@ -574,6 +575,17 @@ The default value is 0.
574 575
575============================================================== 576==============================================================
576 577
578overcommit_kbytes:
579
580When overcommit_memory is set to 2, the committed address space is not
581permitted to exceed swap plus this amount of physical RAM. See below.
582
583Note: overcommit_kbytes is the counterpart of overcommit_ratio. Only one
584of them may be specified at a time. Setting one disables the other (which
585then appears as 0 when read).
586
587==============================================================
588
577overcommit_memory: 589overcommit_memory:
578 590
579This value contains a flag that enables memory overcommitment. 591This value contains a flag that enables memory overcommitment.