<br><div class="gmail_quote">On Mon, Dec 5, 2011 at 11:24 AM, bill4carson <span dir="ltr"><<a href="mailto:bill4carson@gmail.com" target="_blank">bill4carson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, all<br>
<br>
Since there is a practical needs for user application with the ability<br>
to sense kernel memory use pressure,<br>
<a href="http://elinux.org/Memory_Management" target="_blank">http://elinux.org/Memory_Management</a> gives some approach on this as below:<br>
<br>
OOM notification in cgroups<br>
mem_notify patches<br>
Google cgroup OOM handler<br>
Nokia OOM enhancements<br></blockquote><div><br></div><div>OOM by itself is for non-critical server, or hand-held devices where physical memory is severely constrained. For server running database, or any high end server, it is disastrous to have it turned on. Judge for yourself the criticality of your applications and turn it on/off if needs to:</div>
<div><br></div><div><a href="http://serverfault.com/questions/141988/avoid-linux-out-of-memory-application-teardown" target="_blank">http://serverfault.com/questions/141988/avoid-linux-out-of-memory-application-teardown</a></div>
<div><a href="http://www.cyberciti.biz/tips/linux-oom-killer-out-of-memory-and-nfs-server-optimization.html" target="_blank">http://www.cyberciti.biz/tips/linux-oom-killer-out-of-memory-and-nfs-server-optimization.html</a></div>
<div><br></div><div><a href="http://lwn.net/Articles/49531/" target="_blank">http://lwn.net/Articles/49531/</a></div><div><a href="http://lwn.net/Articles/317814/" target="_blank">http://lwn.net/Articles/317814/</a></div>
<div><a href="http://lwn.net/Articles/391222/" target="_blank">http://lwn.net/Articles/391222/</a></div><div><br></div><div>For the latest development, read this:</div><div>
<br></div><div><a href="https://www.redhat.com/archives/linux-audit/2011-May/msg00000.html" target="_blank">https://www.redhat.com/archives/linux-audit/2011-May/msg00000.html</a></div>
<div><br></div><div>and the Documentation/feature-removal-schedule.txt and Documentation/cgroups/memory.txt</div><div>has some development on OOM as well</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
AFAIK, it seems none of these have been merged into mainline or updated<br>
continuously,<br>
I'm not so familiar with mm system, so may I ask which known approach is<br>
best to work with mainline kernel now?<br>
<font color="#888888"><br>
<br>
<br>
--<br>
I am a slow learner<br>
but I will keep trying to fight for my dreams!<br>
<br>
--bill<br>
<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Peter Teoh<br>