<?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: Some Tuning Tips For Apache Mod_Cache (mod_disk_cache)</title>
	<atom:link href="http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache</link>
	<description>Phil Chen</description>
	<lastBuildDate>Mon, 06 Sep 2010 23:24:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Velocity: The Ultimate Web Performance and Operations Conference &#124; Phil Chen</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2612</link>
		<dc:creator>Velocity: The Ultimate Web Performance and Operations Conference &#124; Phil Chen</dc:creator>
		<pubDate>Fri, 16 Jul 2010 16:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2612</guid>
		<description>[...] Kasindorf (dormando) and, after discussing file-system optimization, proceeded to implement some file-system tuning which, in turn, helped increase our Apache Web Servers running mod_disk_cache efficiency by 3 [...]</description>
		<content:encoded><![CDATA[<p>[...] Kasindorf (dormando) and, after discussing file-system optimization, proceeded to implement some file-system tuning which, in turn, helped increase our Apache Web Servers running mod_disk_cache efficiency by 3 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincenzo D'Amore</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2412</link>
		<dc:creator>Vincenzo D'Amore</dc:creator>
		<pubDate>Wed, 09 Jun 2010 11:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2412</guid>
		<description>Hello,

I have mod_cache used in conjunction with mod_cband.
But when we enable mod_cache mod_cband are overridden.
Any idea in order to define the order of execution?

Best regards,
Vincenzo D&#039;Amore</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have mod_cache used in conjunction with mod_cband.<br />
But when we enable mod_cache mod_cband are overridden.<br />
Any idea in order to define the order of execution?</p>
<p>Best regards,<br />
Vincenzo D&#8217;Amore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randy melder</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2269</link>
		<dc:creator>randy melder</dc:creator>
		<pubDate>Wed, 05 May 2010 17:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2269</guid>
		<description>Nice job, Phil. Simple change with a big impact. I&#039;m seeing lots of hits and first person accounts have proven this a valuable config change. You&#039;re the man.</description>
		<content:encoded><![CDATA[<p>Nice job, Phil. Simple change with a big impact. I&#8217;m seeing lots of hits and first person accounts have proven this a valuable config change. You&#8217;re the man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Chen</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2166</link>
		<dc:creator>Phil Chen</dc:creator>
		<pubDate>Wed, 27 Jan 2010 05:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2166</guid>
		<description>Doug in Paia,

Thanks for posting your results from your Apache ab tests. Looks like you are testing the theory on disk caching versus caching in RAM. Apache ab test is a good way to go about it however I think the variable is that of your disk speed as well as your EXT3 settings which maybe slowing your disk results up.

To be honest the performance difference between disk caching and mem caching in this instance is not very large my results regarding this aspect were different by just 0.2. The big factor is the EXT3 settings I outline when using disk caching that you get the bigger bang. I chose disk caching because it allows for a lot more cache storage versus that in the maximum amount of RAM in your server. So for my situation disk allowed me a lot more cache and the steps above gave me the performance I needed.

Thats just my view on it, hope that helps :)</description>
		<content:encoded><![CDATA[<p>Doug in Paia,</p>
<p>Thanks for posting your results from your Apache ab tests. Looks like you are testing the theory on disk caching versus caching in RAM. Apache ab test is a good way to go about it however I think the variable is that of your disk speed as well as your EXT3 settings which maybe slowing your disk results up.</p>
<p>To be honest the performance difference between disk caching and mem caching in this instance is not very large my results regarding this aspect were different by just 0.2. The big factor is the EXT3 settings I outline when using disk caching that you get the bigger bang. I chose disk caching because it allows for a lot more cache storage versus that in the maximum amount of RAM in your server. So for my situation disk allowed me a lot more cache and the steps above gave me the performance I needed.</p>
<p>Thats just my view on it, hope that helps <img src='http://www.philchen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug in Paia</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2162</link>
		<dc:creator>Doug in Paia</dc:creator>
		<pubDate>Sat, 23 Jan 2010 23:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2162</guid>
		<description>Hi Phil, Thanks for the great post, this really got me jump started.  I am running a small site with cakePHP.  We host on a couple of CentOS 5 boxes, 64 bit on both VPS and dedicated.   I am running apache ab against our VPS instances and I tried your settings.  As well I tried a vanilla mem cache.  I came up with the results below.  The summary is that I didn&#039;t get any performance boost for test on two sample pages.  In the first instance, disk caching is slower by a factor of 3, memory caching is about the same.  In the second test case, memory caching or not seems to be the same.  Is apache ab a valid test?   Any thoughts about what I might be doing wrong.  Thanks, --Doug

n1000c10ModCache_new-releases.html:Requests per second:2.65 
n1000c10ModMemCache_new-releases.html:Requests per second:8.59 
n1000c10new-releases.html:Requests per second:8.89  &lt;&lt; no cache enabled

n1000c10ModCache_moon-blue-ray.html:Requests per second:1.14
n1000c10ModCacheR1_moon-blue-ray.html:Requests per second:1.20 
n1000c10ModCacheR1_moon-blue-ray_try2.html:Requests per second:1.23 
n1000c10ModMemCache_moon-blue-ray.html:Requests per second:1.22 
n1000c10moon-blue-ray.html:Requests per second:1.25 &lt;&lt; no cache enabled</description>
		<content:encoded><![CDATA[<p>Hi Phil, Thanks for the great post, this really got me jump started.  I am running a small site with cakePHP.  We host on a couple of CentOS 5 boxes, 64 bit on both VPS and dedicated.   I am running apache ab against our VPS instances and I tried your settings.  As well I tried a vanilla mem cache.  I came up with the results below.  The summary is that I didn&#8217;t get any performance boost for test on two sample pages.  In the first instance, disk caching is slower by a factor of 3, memory caching is about the same.  In the second test case, memory caching or not seems to be the same.  Is apache ab a valid test?   Any thoughts about what I might be doing wrong.  Thanks, &#8211;Doug</p>
<p>n1000c10ModCache_new-releases.html:Requests per second:2.65<br />
n1000c10ModMemCache_new-releases.html:Requests per second:8.59<br />
n1000c10new-releases.html:Requests per second:8.89  &lt;&lt; no cache enabled</p>
<p>n1000c10ModCache_moon-blue-ray.html:Requests per second:1.14<br />
n1000c10ModCacheR1_moon-blue-ray.html:Requests per second:1.20<br />
n1000c10ModCacheR1_moon-blue-ray_try2.html:Requests per second:1.23<br />
n1000c10ModMemCache_moon-blue-ray.html:Requests per second:1.22<br />
n1000c10moon-blue-ray.html:Requests per second:1.25 &lt;&lt; no cache enabled</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akira</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2149</link>
		<dc:creator>akira</dc:creator>
		<pubDate>Wed, 25 Nov 2009 20:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2149</guid>
		<description>Did you try tmpfs as disk_cache?</description>
		<content:encoded><![CDATA[<p>Did you try tmpfs as disk_cache?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Chen</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2126</link>
		<dc:creator>Phil Chen</dc:creator>
		<pubDate>Sun, 09 Aug 2009 23:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2126</guid>
		<description>Upon doing some research it looks like you are correct that noatime is a superset of nodiratime which is a subset. Thanks for the input Lamah.</description>
		<content:encoded><![CDATA[<p>Upon doing some research it looks like you are correct that noatime is a superset of nodiratime which is a subset. Thanks for the input Lamah.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lamah</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2125</link>
		<dc:creator>Lamah</dc:creator>
		<pubDate>Sun, 09 Aug 2009 11:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2125</guid>
		<description>Hi there, nodiratime is not actually required (it is implied as part of noatime, which applies to all files, including directories.)</description>
		<content:encoded><![CDATA[<p>Hi there, nodiratime is not actually required (it is implied as part of noatime, which applies to all files, including directories.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Chen</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2116</link>
		<dc:creator>Phil Chen</dc:creator>
		<pubDate>Wed, 01 Jul 2009 01:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2116</guid>
		<description>Hi Frederic,

I currently have Apache mod_cache using disk caching running on a cluster of 9 servers sitting behind some Foundry Load Balancers and it works fine. It more depends on your application in regards to how the Load Balancer would effect the situation. Hope that answers your question.</description>
		<content:encoded><![CDATA[<p>Hi Frederic,</p>
<p>I currently have Apache mod_cache using disk caching running on a cluster of 9 servers sitting behind some Foundry Load Balancers and it works fine. It more depends on your application in regards to how the Load Balancer would effect the situation. Hope that answers your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frederic sidler</title>
		<link>http://www.philchen.com/2009/02/09/some-tuning-tips-for-apache-mod_cache-mod_disk_cache/comment-page-1#comment-2111</link>
		<dc:creator>frederic sidler</dc:creator>
		<pubDate>Mon, 29 Jun 2009 13:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.philchen.com/?p=82#comment-2111</guid>
		<description>I have a load balancer in front of my app server. Would mod_cache, mod_disk_cache also be the solution if the load balancer balances the load to many servers behind it.</description>
		<content:encoded><![CDATA[<p>I have a load balancer in front of my app server. Would mod_cache, mod_disk_cache also be the solution if the load balancer balances the load to many servers behind it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
