<?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: Funniest bug ever</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-471451</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-471451</guid>
		<description>@Peter, @Baron,

Thanks for the information. It does sound a lot more reasonable in light of your explanation.</description>
		<content:encoded><![CDATA[<p>@Peter, @Baron,</p>
<p>Thanks for the information. It does sound a lot more reasonable in light of your explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-470691</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Tue, 10 Feb 2009 15:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-470691</guid>
		<description>No, I don&#039;t, but anecdotally I can say that it matters if you have a lot of files.  For example, suppose you have 100k tables, which is pretty common in certain types of apps.  That&#039;s at least 300k files if you&#039;re using indexed MyISAM tables (also common for the same scenarios).  Now suppose that you&#039;re accessing them all randomly; you can do the math at how many times you&#039;ll be doing an atime/diratime write.  In many cases you won&#039;t access a file more than once a second, so each access suffers the hit.

My anecdotal evidence is that I haven&#039;t seen significant performance changes from adding noatime,nodiratime to the mount options on &quot;normal&quot; servers with a few hundred tables.  You can change the mount options at runtime so it&#039;s pretty easy to see.</description>
		<content:encoded><![CDATA[<p>No, I don&#8217;t, but anecdotally I can say that it matters if you have a lot of files.  For example, suppose you have 100k tables, which is pretty common in certain types of apps.  That&#8217;s at least 300k files if you&#8217;re using indexed MyISAM tables (also common for the same scenarios).  Now suppose that you&#8217;re accessing them all randomly; you can do the math at how many times you&#8217;ll be doing an atime/diratime write.  In many cases you won&#8217;t access a file more than once a second, so each access suffers the hit.</p>
<p>My anecdotal evidence is that I haven&#8217;t seen significant performance changes from adding noatime,nodiratime to the mount options on &#8220;normal&#8221; servers with a few hundred tables.  You can change the mount options at runtime so it&#8217;s pretty easy to see.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-470689</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 10 Feb 2009 15:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-470689</guid>
		<description>Shlomi,

Linus mentions  &quot;mail spool&quot; which tend to have a lot of tiny files.... and this is where overhead is significant.  Unless you&#039;re dealing with tens of thousands of tables in MySQL you&#039;re in different situation.  This also means any benchmarks you would like to do should be workload specific - in your particular case it is possible you will see significant gain.</description>
		<content:encoded><![CDATA[<p>Shlomi,</p>
<p>Linus mentions  &#8220;mail spool&#8221; which tend to have a lot of tiny files&#8230;. and this is where overhead is significant.  Unless you&#8217;re dealing with tens of thousands of tables in MySQL you&#8217;re in different situation.  This also means any benchmarks you would like to do should be workload specific &#8211; in your particular case it is possible you will see significant gain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-470670</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Tue, 10 Feb 2009 08:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-470670</guid>
		<description>Hi Baron,

Though I haven&#039;t benchmarked myself the difference between &#039;atime&#039; and noatime, please see what Linus Torvalds has to say about it:
http://lkml.org/lkml/2007/8/4/98

He claims more then 10% savings, though he wasn&#039;t testing MySQL.
Do you have any benchmarks comparing with/out &quot;noatime&quot;?

Regards</description>
		<content:encoded><![CDATA[<p>Hi Baron,</p>
<p>Though I haven&#8217;t benchmarked myself the difference between &#8216;atime&#8217; and noatime, please see what Linus Torvalds has to say about it:<br />
<a href="http://lkml.org/lkml/2007/8/4/98" rel="nofollow">http://lkml.org/lkml/2007/8/4/98</a></p>
<p>He claims more then 10% savings, though he wasn&#8217;t testing MySQL.<br />
Do you have any benchmarks comparing with/out &#8220;noatime&#8221;?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: o.u.</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-470617</link>
		<dc:creator>o.u.</dc:creator>
		<pubDate>Mon, 09 Feb 2009 22:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-470617</guid>
		<description>Thank you Barron - ok, not as crazy as it sounded then, though still a shock.</description>
		<content:encoded><![CDATA[<p>Thank you Barron &#8211; ok, not as crazy as it sounded then, though still a shock.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-466631</link>
		<dc:creator>Log Buffer</dc:creator>
		<pubDate>Fri, 06 Feb 2009 20:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-466631</guid>
		<description>&quot;Peter Zaitsev shares the funniest bug ever.&quot;

-- &lt;a href=&quot;http://www.pythian.com/blogs/1474/log-buffer-134-a-carnival-of-the-vanities-for-dbas&quot; rel=&quot;nofollow&quot;&gt;Log Buffer #134&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>&#8220;Peter Zaitsev shares the funniest bug ever.&#8221;</p>
<p>&#8211; <a href="http://www.pythian.com/blogs/1474/log-buffer-134-a-carnival-of-the-vanities-for-dbas" rel="nofollow">Log Buffer #134</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johan</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-462633</link>
		<dc:creator>johan</dc:creator>
		<pubDate>Tue, 03 Feb 2009 08:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-462633</guid>
		<description>Ha, it was a funny bug indeed. Unfortunately, I found it on a customer site :(
-j</description>
		<content:encoded><![CDATA[<p>Ha, it was a funny bug indeed. Unfortunately, I found it on a customer site <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
-j</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-462167</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Mon, 02 Feb 2009 22:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-462167</guid>
		<description>It&#039;s not quite that bad.  It&#039;s only once per second.  (There&#039;s only a write if the atime has actually changed, which is only true once a second.)</description>
		<content:encoded><![CDATA[<p>It&#8217;s not quite that bad.  It&#8217;s only once per second.  (There&#8217;s only a write if the atime has actually changed, which is only true once a second.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: o.u.</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-461555</link>
		<dc:creator>o.u.</dc:creator>
		<pubDate>Mon, 02 Feb 2009 03:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-461555</guid>
		<description>Wow, Shlomi Noach @ 4, re: the atime .. a write on every read, even from cache - I&#039;m kind of shocked.</description>
		<content:encoded><![CDATA[<p>Wow, Shlomi Noach @ 4, re: the atime .. a write on every read, even from cache &#8211; I&#8217;m kind of shocked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/01/31/funniest-bug-ever/comment-page-1/#comment-460990</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sun, 01 Feb 2009 06:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=605#comment-460990</guid>
		<description>Baron, Matthew,

Right. If you would have a good backup (with point in time recovery) we would not have any recovery tools. In practice however backups sometimes are found to be broken and you have to recover the data.  Our experience shows no one is immune - number of companies you&#039;ve think should have a backup have contacted us for help (with Innodb)

With Innodb it is easy - thanks to the page format it is possible to locate data even if filesystem was totally ruined (like RAID meltdown).</description>
		<content:encoded><![CDATA[<p>Baron, Matthew,</p>
<p>Right. If you would have a good backup (with point in time recovery) we would not have any recovery tools. In practice however backups sometimes are found to be broken and you have to recover the data.  Our experience shows no one is immune &#8211; number of companies you&#8217;ve think should have a backup have contacted us for help (with Innodb)</p>
<p>With Innodb it is easy &#8211; thanks to the page format it is possible to locate data even if filesystem was totally ruined (like RAID meltdown).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
