<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can check out the following:<br>
<br>
<a class="moz-txt-link-freetext" href="http://linux-mm.org/LinuxMM">http://linux-mm.org/LinuxMM</a><br>
<br>
Guilherme Menegon Arantes wrote:
<blockquote cite="mid:20080610135315.GA4894@dinamobile" type="cite">
<pre wrap="">On Tue, Jun 10, 2008 at 06:13:00AM -0700, <a class="moz-txt-link-abbreviated" href="mailto:beowulf-request@beowulf.org">beowulf-request@beowulf.org</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Date: Tue, 10 Jun 2008 00:58:12 -0400 (EDT)
From: Mark Hahn <a class="moz-txt-link-rfc2396E" href="mailto:hahn@mcmaster.ca"><hahn@mcmaster.ca></a>
Subject: Re: [Beowulf] size of swap partition
To: Gerry Creager <a class="moz-txt-link-rfc2396E" href="mailto:gerry.creager@tamu.edu"><gerry.creager@tamu.edu></a>
Cc: Mikhail Kuzminsky <a class="moz-txt-link-rfc2396E" href="mailto:kus@free.net"><kus@free.net></a>, <a class="moz-txt-link-abbreviated" href="mailto:beowulf@beowulf.org">beowulf@beowulf.org</a>
it is possible to tune how the kernel responds to memory crunches -
for instance, you can always avoid OOM with the vm.overcommit_memory=2
sysctl (you'll need to tune vm.overcommit_ratio and the amount of swap
to get the desired limits.) in this mode, the kernel tracks how much VM
it actually needs (worst-case, reflected in Committed_AS in /proc/meminfo)
and compares that to a commit limit that reflects ram and swap.
...
their real/virtual ratio. the kernel only enforces RLIMIT_AS
(vsz in ps),assuming a 2.6 kernel - I forget whether 2.4 did
RLIMIT_RSS or not.
</pre>
</blockquote>
<pre wrap=""><!---->
And that brings me to another related question: Where I can get more
information about VM usage/tunning options (such as vm.overcommit_ratio,
RLIMIT_AS, etc) and VM metrics (such as vmstat) for the current linux
kernels (>= 2.6.18)? I have looked on /usr/src/linux/Documentation/vm
but anywhere else with more accessible/digested info?
Regards,
Guilherme
--
Guilherme Menegon Arantes, PhD São Paulo, Brasil
______________________________________________________
_______________________________________________
Beowulf mailing list, <a class="moz-txt-link-abbreviated" href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a>
To change your subscription (digest mode or unsubscribe) visit <a class="moz-txt-link-freetext" href="http://www.beowulf.org/mailman/listinfo/beowulf">http://www.beowulf.org/mailman/listinfo/beowulf</a>
</pre>
</blockquote>
<br>
</body>
</html>