<?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"
	>
<channel>
	<title>Comments on: Why swap on Linux is always good, even with tons of RAM</title>
	<atom:link href="http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/feed/" rel="self" type="application/rss+xml" />
	<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/</link>
	<description>We only do fun stuff.</description>
	<pubDate>Wed, 20 Aug 2008 09:52:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: What&#8217;s in a SWAP? &#171; Sanity, Insanity, and Moi</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-319044</link>
		<dc:creator>What&#8217;s in a SWAP? &#171; Sanity, Insanity, and Moi</dc:creator>
		<pubDate>Wed, 22 Aug 2007 05:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-319044</guid>
		<description>&lt;p&gt;[...] Why swap on Linux is always good, even with tons of RAM [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Why swap on Linux is always good, even with tons of RAM [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rudd-O</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4169</link>
		<dc:creator>Rudd-O</dc:creator>
		<pubDate>Thu, 19 Jan 2006 21:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4169</guid>
		<description>&lt;p&gt;If you have a gigabyte of RAM, and swap is never touched on your system, then you might as well disable the swap.  Just remember to reenable it when you're going to start memory-hungry applications...&lt;/p&gt;

&lt;p&gt;...oh wait, why should you need to manually enable and disable swap, when leaving it on all the time has the same effect, plus you don't need to intervene at all?&lt;/p&gt;

&lt;p&gt;(that was a bit tongue-in-cheek)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If you have a gigabyte of RAM, and swap is never touched on your system, then you might as well disable the swap.  Just remember to reenable it when you&#8217;re going to start memory-hungry applications&#8230;</p>

<p>&#8230;oh wait, why should you need to manually enable and disable swap, when leaving it on all the time has the same effect, plus you don&#8217;t need to intervene at all?</p>

<p>(that was a bit tongue-in-cheek)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rudd-O</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4168</link>
		<dc:creator>Rudd-O</dc:creator>
		<pubDate>Thu, 19 Jan 2006 21:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4168</guid>
		<description>&lt;p&gt;Using RAM as a swap space would be extremely dumb, since the whole point of swap is to MAKE ROOM in &lt;em&gt;fast&lt;/em&gt; RAM for cache, shared libraries and applications.&lt;/p&gt;

&lt;p&gt;In other words, swap is used to simulate RAM.  What do you gain from using a part of your RAM as swap?  Nothing!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Using RAM as a swap space would be extremely dumb, since the whole point of swap is to MAKE ROOM in <em>fast</em> RAM for cache, shared libraries and applications.</p>

<p>In other words, swap is used to simulate RAM.  What do you gain from using a part of your RAM as swap?  Nothing!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Renan</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4166</link>
		<dc:creator>Renan</dc:creator>
		<pubDate>Thu, 19 Jan 2006 18:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4166</guid>
		<description>&lt;p&gt;I have 512MB RAM, and never felt the need for much swap, except when I'm running a memory intensive application like Mathematica, SCILAB, editing large images with GIMP or running VMware. Usually runs with ~350MB free RAM.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have 512MB RAM, and never felt the need for much swap, except when I&#8217;m running a memory intensive application like Mathematica, SCILAB, editing large images with GIMP or running VMware. Usually runs with ~350MB free RAM.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: NA</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4164</link>
		<dc:creator>NA</dc:creator>
		<pubDate>Thu, 19 Jan 2006 11:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4164</guid>
		<description>&lt;p&gt;For linux kernel 2.6.x you have setting in &lt;em&gt;/proc/sys/vm/swappiness&lt;/em&gt;, telling the kernel how aggressive it should be regarding swapping.
The default value on fedora this value is 60. Higher value means more swapping (I think the value ranges from 0 to 100).&lt;/p&gt;

&lt;p&gt;On my desktop machine I use the command "&lt;strong&gt;echo 100 &#62; /proc/sys/vm/swappiness&lt;/strong&gt;" as root to tell the kernel to be very aggressive with swapping. This means that the kernel will swap out many unneeded "pages" from memory and instead use the memory for caching as described in the article. So on my machine the swap usage is high, but so is the memory usage for cache.
A lower value means that the kernel will not try to swap as much to free memory for cache. Just try with different values here, since you can change this value runtime as shown above..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For linux kernel 2.6.x you have setting in <em>/proc/sys/vm/swappiness</em>, telling the kernel how aggressive it should be regarding swapping.
The default value on fedora this value is 60. Higher value means more swapping (I think the value ranges from 0 to 100).</p>

<p>On my desktop machine I use the command &#8220;<strong>echo 100 &gt; /proc/sys/vm/swappiness</strong>&#8221; as root to tell the kernel to be very aggressive with swapping. This means that the kernel will swap out many unneeded &#8220;pages&#8221; from memory and instead use the memory for caching as described in the article. So on my machine the swap usage is high, but so is the memory usage for cache.
A lower value means that the kernel will not try to swap as much to free memory for cache. Just try with different values here, since you can change this value runtime as shown above..</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gabor</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4163</link>
		<dc:creator>Gabor</dc:creator>
		<pubDate>Thu, 19 Jan 2006 09:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4163</guid>
		<description>&lt;p&gt;Is it possible to create a swap partition in the memory?
I mean a virtual file system in the memory used as swap partition.
It would use a very fast media and still the computer would have swap.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is it possible to create a swap partition in the memory?
I mean a virtual file system in the memory used as swap partition.
It would use a very fast media and still the computer would have swap.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Davepet</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4162</link>
		<dc:creator>Davepet</dc:creator>
		<pubDate>Thu, 19 Jan 2006 08:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4162</guid>
		<description>&lt;p&gt;If all this is true, I'd like to know, then why my machine, with 1GB of RAM &#38; a half GB of swap, never shows any swap being used? Not ever.&lt;/p&gt;

&lt;p&gt;I'm currently running with 630 MB of RAM used &#38; no swap. 97 processes running.&lt;/p&gt;

&lt;p&gt;Seem to me that unless you are doing video editing or have multiple memory hog apps open, that swap isn't important with a gig of RAM.&lt;/p&gt;

&lt;p&gt;Dave&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If all this is true, I&#8217;d like to know, then why my machine, with 1GB of RAM &amp; a half GB of swap, never shows any swap being used? Not ever.</p>

<p>I&#8217;m currently running with 630 MB of RAM used &amp; no swap. 97 processes running.</p>

<p>Seem to me that unless you are doing video editing or have multiple memory hog apps open, that swap isn&#8217;t important with a gig of RAM.</p>

<p>Dave</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rudd-O</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4157</link>
		<dc:creator>Rudd-O</dc:creator>
		<pubDate>Wed, 18 Jan 2006 19:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4157</guid>
		<description>&lt;p&gt;It seems the layout problems are timing-related, basically when this server is feeding the HTML to your browser at a slow rate, and at certain, key, points, a burst of HTML comes, Firefox ends up laying out the sidebar wrongly, and then you see it "on top" of the content, or some other weirdness.&lt;/p&gt;

&lt;p&gt;The validator at the W3C site does not seem to complain about this page, though.&lt;/p&gt;

&lt;p&gt;Out of my control =(.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It seems the layout problems are timing-related, basically when this server is feeding the HTML to your browser at a slow rate, and at certain, key, points, a burst of HTML comes, Firefox ends up laying out the sidebar wrongly, and then you see it &#8220;on top&#8221; of the content, or some other weirdness.</p>

<p>The validator at the W3C site does not seem to complain about this page, though.</p>

<p>Out of my control =(.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: KBeaumont</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4155</link>
		<dc:creator>KBeaumont</dc:creator>
		<pubDate>Wed, 18 Jan 2006 18:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4155</guid>
		<description>&lt;p&gt;Jim: It also looks good here on both FC4  Firefox 1.5 desktop &#38; OpenSuse 10 Firefox 1.5.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jim: It also looks good here on both FC4  Firefox 1.5 desktop &amp; OpenSuse 10 Firefox 1.5.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rudd-O</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4154</link>
		<dc:creator>Rudd-O</dc:creator>
		<pubDate>Wed, 18 Jan 2006 17:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4154</guid>
		<description>&lt;p&gt;Jim: it looks perfectly on my Firefox 1.0.7 in my FC4 deployment... what did look wrong?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jim: it looks perfectly on my Firefox 1.0.7 in my FC4 deployment&#8230; what did look wrong?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous Bosch</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4153</link>
		<dc:creator>Anonymous Bosch</dc:creator>
		<pubDate>Wed, 18 Jan 2006 06:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4153</guid>
		<description>&lt;p&gt;"I start my Linux box with no space set aside for swap but let it allocate swap on an as-needed basis in 64MB chunks."&lt;/p&gt;

&lt;p&gt;Can you explain how to configure this?&lt;/p&gt;

&lt;p&gt;Many thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;I start my Linux box with no space set aside for swap but let it allocate swap on an as-needed basis in 64MB chunks.&#8221;</p>

<p>Can you explain how to configure this?</p>

<p>Many thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4152</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 18 Jan 2006 06:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4152</guid>
		<description>&lt;p&gt;I see that you used Wordpress to generate the page.
Kinda ironic but using Firefox 1.5 to view the page renders it almost unreadable while using IE it renders perfect.
This is a blog about Linux too!!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I see that you used Wordpress to generate the page.
Kinda ironic but using Firefox 1.5 to view the page renders it almost unreadable while using IE it renders perfect.
This is a blog about Linux too!!!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MikeFM</title>
		<link>http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4151</link>
		<dc:creator>MikeFM</dc:creator>
		<pubDate>Wed, 18 Jan 2006 04:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/#comment-4151</guid>
		<description>&lt;p&gt;The best idea IMO is to let the system adjust swap space as needed. I start my Linux box with no space set aside for swap but let it allocate swap on an as-needed basis in 64MB chunks. Works well by not slowing the system with swap you don't really need or allowing the system to really grind to a halt by running out of memory.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The best idea IMO is to let the system adjust swap space as needed. I start my Linux box with no space set aside for swap but let it allocate swap on an as-needed basis in 64MB chunks. Works well by not slowing the system with swap you don&#8217;t really need or allowing the system to really grind to a halt by running out of memory.</p>]]></content:encoded>
	</item>
</channel>
</rss>
