<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: vm.overcommit_memory and _ratio</title>
	<atom:link href="http://kmandla.wordpress.com/2009/09/13/vm-overcommit_memory-and-_ratio/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmandla.wordpress.com/2009/09/13/vm-overcommit_memory-and-_ratio/</link>
	<description>K.Mandla's blog of Linux experiences</description>
	<lastBuildDate>Mon, 11 Feb 2013 18:19:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2009/09/13/vm-overcommit_memory-and-_ratio/#comment-40403</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Mon, 14 Sep 2009 01:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/09/13/vm-overcommit_memory-and-_ratio/#comment-40403</guid>
		<description><![CDATA[Well, to be honest, those settings fall a little ways beyond my normal area of &quot;expertise,&quot; so I&#039;m not really sure my expectations matched the actual intentions.

I saw the same threads probably, that mentioned how programs were killed. Judging by Kyle&#039;s note and by the kernel documentation, I was hoping that those settings would shave the amount of memory allocated to each program.

But I was probably wrong from the start. Which is okay with me; I&#039;ve been wrong so many times with Linux that it feels weird to be right. :mrgreen:]]></description>
		<content:encoded><![CDATA[<p>Well, to be honest, those settings fall a little ways beyond my normal area of &#8220;expertise,&#8221; so I&#8217;m not really sure my expectations matched the actual intentions.</p>
<p>I saw the same threads probably, that mentioned how programs were killed. Judging by Kyle&#8217;s note and by the kernel documentation, I was hoping that those settings would shave the amount of memory allocated to each program.</p>
<p>But I was probably wrong from the start. Which is okay with me; I&#8217;ve been wrong so many times with Linux that it feels weird to be right. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luca</title>
		<link>http://kmandla.wordpress.com/2009/09/13/vm-overcommit_memory-and-_ratio/#comment-40400</link>
		<dc:creator><![CDATA[Luca]]></dc:creator>
		<pubDate>Sun, 13 Sep 2009 18:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/09/13/vm-overcommit_memory-and-_ratio/#comment-40400</guid>
		<description><![CDATA[I am a bit confused as to what exactly you are trying to succeed?

From what I have read (http://opsmonkey.blogspot.com/2007/01/linux-memory-overcommit.html) about those settings, all they look like they are useful for (generally) is preventing the kernel from randomly killing processes when there is no more memory available. Instead, if there is a lack of memory they should attempt to handle it themselves. I would suggest setting vm.overcommit_memory to 2, which means memory allocations can fail, and as such programs have the chance to fall over gracefully.

The other option appears to be to set the percentage of memory available for the applications to allocated, the rest of which is free, either for other applications which will only need memory every so often (your system would not be very useful if there was no memory available to run the halt command or run screen to reattach to a session :P). The other option, as mentioned in the article, is to &#039;reserve&#039; memory to be used for the filesystem cache.

Either way, I am still amazed (and intrigued) that you are (still) trying to squeeze every last drop of performance out of this machine! Keep it up! :D Have you looked into uclibc (and the like) which is the base of Slitaz?]]></description>
		<content:encoded><![CDATA[<p>I am a bit confused as to what exactly you are trying to succeed?</p>
<p>From what I have read (<a href="http://opsmonkey.blogspot.com/2007/01/linux-memory-overcommit.html" rel="nofollow">http://opsmonkey.blogspot.com/2007/01/linux-memory-overcommit.html</a>) about those settings, all they look like they are useful for (generally) is preventing the kernel from randomly killing processes when there is no more memory available. Instead, if there is a lack of memory they should attempt to handle it themselves. I would suggest setting vm.overcommit_memory to 2, which means memory allocations can fail, and as such programs have the chance to fall over gracefully.</p>
<p>The other option appears to be to set the percentage of memory available for the applications to allocated, the rest of which is free, either for other applications which will only need memory every so often (your system would not be very useful if there was no memory available to run the halt command or run screen to reattach to a session <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ). The other option, as mentioned in the article, is to &#8216;reserve&#8217; memory to be used for the filesystem cache.</p>
<p>Either way, I am still amazed (and intrigued) that you are (still) trying to squeeze every last drop of performance out of this machine! Keep it up! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Have you looked into uclibc (and the like) which is the base of Slitaz?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
