<?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/"
		>
<channel>
	<title>Comments on: Making the GUI faster in Ubuntu Linux</title>
	<atom:link href="http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/</link>
	<description>When the going gets tough, the tough sniff packets.</description>
	<lastBuildDate>Fri, 03 Feb 2012 05:29:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/comment-page-1/#comment-226</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Tue, 10 Aug 2010 13:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=8#comment-226</guid>
		<description>Thanks, Alan. That&#039;s very helpful. I do a lot with BackupPC. If you have a chance to rebuild this server or replace it, you will be much happier with performance under RAID10. I recently built an identical machine to my backup server, except that it had 4x 1TB disks in RAID-10 configuration instead of 5x 500GB disks in RAID-5. I cloned the BackupPC filesystem to it, and started backups on it. Backups now finish 40% faster and I can run 25% more of them, simultaneously.</description>
		<content:encoded><![CDATA[<p>Thanks, Alan. That&#8217;s very helpful. I do a lot with BackupPC. If you have a chance to rebuild this server or replace it, you will be much happier with performance under RAID10. I recently built an identical machine to my backup server, except that it had 4x 1TB disks in RAID-10 configuration instead of 5x 500GB disks in RAID-5. I cloned the BackupPC filesystem to it, and started backups on it. Backups now finish 40% faster and I can run 25% more of them, simultaneously.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/comment-page-1/#comment-225</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 10 Aug 2010 12:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=8#comment-225</guid>
		<description>In our case I wanted to get file system caches out of RAM! Setting the vfs_cache_pressure parameter to a value greater than 100 will tell the kernel to more actively reclaim RAM used by caches.  A backup server of ours was swapping heavily, regardless of having 2 gigs of physical RAM and very few applications running.

I guess file caches being read into RAM were to blame, as the server is actively using rsync to backup about 25 workstations in our small office.  The disk thrashing was very heavy, and I found this to resolve the problems:

sysctl -w vm.swappiness=20
      * Tell the kernel to swap applications out of RAM less (give preference to code rather than data from caches).  Might not have done as much to remedy the problem as the other settings below, default is 60 and I might switch back after monitoring.

sysctl -w vm.vfs_cache_pressure=10000
      * Tell the kernel to reclaim physical RAM used by file system caches more often.  Default setting is 100.

sysctl -w vm.dirty_ratio=2
      * Tell the kernel to keep the dirty page / physical RAM ratio lower, 2%.  Default is 10.

sysctl -w vm.dirty_background_ratio=1
      * Tell the kernel to start swapping dirty pages out as soon as they hit 1% (start flushing out early, before hitting the above ratio)

Hope this helps someone.  For reference, our server is Ubuntu 9.04, kernel 2.6.33, using BackupPC and an ext3 RAID5 (md).</description>
		<content:encoded><![CDATA[<p>In our case I wanted to get file system caches out of RAM! Setting the vfs_cache_pressure parameter to a value greater than 100 will tell the kernel to more actively reclaim RAM used by caches.  A backup server of ours was swapping heavily, regardless of having 2 gigs of physical RAM and very few applications running.</p>
<p>I guess file caches being read into RAM were to blame, as the server is actively using rsync to backup about 25 workstations in our small office.  The disk thrashing was very heavy, and I found this to resolve the problems:</p>
<p>sysctl -w vm.swappiness=20<br />
      * Tell the kernel to swap applications out of RAM less (give preference to code rather than data from caches).  Might not have done as much to remedy the problem as the other settings below, default is 60 and I might switch back after monitoring.</p>
<p>sysctl -w vm.vfs_cache_pressure=10000<br />
      * Tell the kernel to reclaim physical RAM used by file system caches more often.  Default setting is 100.</p>
<p>sysctl -w vm.dirty_ratio=2<br />
      * Tell the kernel to keep the dirty page / physical RAM ratio lower, 2%.  Default is 10.</p>
<p>sysctl -w vm.dirty_background_ratio=1<br />
      * Tell the kernel to start swapping dirty pages out as soon as they hit 1% (start flushing out early, before hitting the above ratio)</p>
<p>Hope this helps someone.  For reference, our server is Ubuntu 9.04, kernel 2.6.33, using BackupPC and an ext3 RAID5 (md).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hayde</title>
		<link>http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/comment-page-1/#comment-23</link>
		<dc:creator>Hayde</dc:creator>
		<pubDate>Sun, 08 Feb 2009 15:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=8#comment-23</guid>
		<description>Dear sir, 

Kindly, I need to make setting for cache in ubuntu , im make some command but the cache don&#039;t become active .

Please learn me about these command if possible my friend ....

I&#039;ll wait you ....

Best Regards.
--
Hayder.</description>
		<content:encoded><![CDATA[<p>Dear sir, </p>
<p>Kindly, I need to make setting for cache in ubuntu , im make some command but the cache don&#8217;t become active .</p>
<p>Please learn me about these command if possible my friend &#8230;.</p>
<p>I&#8217;ll wait you &#8230;.</p>
<p>Best Regards.<br />
&#8211;<br />
Hayder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/comment-page-1/#comment-4</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Mon, 13 Oct 2008 11:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=8#comment-4</guid>
		<description>Oops.  I miswrote.  Either run those two lines, or put the entries in without &quot;sysctl -w&quot;.  I&#039;ll edit the entry shortly.</description>
		<content:encoded><![CDATA[<p>Oops.  I miswrote.  Either run those two lines, or put the entries in without &#8220;sysctl -w&#8221;.  I&#8217;ll edit the entry shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.tolaris.com/2008/09/28/making-the-gui-faster-in-ubuntu-linux/comment-page-1/#comment-3</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 13 Oct 2008 10:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=8#comment-3</guid>
		<description>When I copy those lines verbatim I get:

root@apu:/etc# sysctl -p
error: &quot;sysctl -w vm.swappiness&quot; is an unknown key
error: &quot;sysctl -w vm.vfs_cache_pressure&quot; is an unknown key

I presume it should be:

vm.swappiness=1
vm.vfs_cache_pressure=50

I&#039;m still opening and closing windows trying to see if I notice a difference.</description>
		<content:encoded><![CDATA[<p>When I copy those lines verbatim I get:</p>
<p>root@apu:/etc# sysctl -p<br />
error: &#8220;sysctl -w vm.swappiness&#8221; is an unknown key<br />
error: &#8220;sysctl -w vm.vfs_cache_pressure&#8221; is an unknown key</p>
<p>I presume it should be:</p>
<p>vm.swappiness=1<br />
vm.vfs_cache_pressure=50</p>
<p>I&#8217;m still opening and closing windows trying to see if I notice a difference.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

