<?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: Working with many files and file system fragmentation</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Tue, 02 Dec 2008 18:08:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-255717</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 22 Mar 2008 17:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-255717</guid>
		<description>Daniel,

I'm not quite sure from your post - did you create the tablespace out of many files and it was already badly fragmented or it was autoextend during some workload run  ?

In any case we can learn filesystems may not be as optimal as we would like them to be :)</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>I&#8217;m not quite sure from your post - did you create the tablespace out of many files and it was already badly fragmented or it was autoextend during some workload run  ?</p>
<p>In any case we can learn filesystems may not be as optimal as we would like them to be <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Schneller</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-255652</link>
		<dc:creator>Daniel Schneller</dc:creator>
		<pubDate>Sat, 22 Mar 2008 13:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-255652</guid>
		<description>Some time ago (2006) I noticed that even on a fully defragged NTFS drive newly created InnoDB data files got scattered around the whole partition.
http://jroller.com/dschneller/entry/strange_innodb_fragmentation</description>
		<content:encoded><![CDATA[<p>Some time ago (2006) I noticed that even on a fully defragged NTFS drive newly created InnoDB data files got scattered around the whole partition.<br />
<a href="http://jroller.com/dschneller/entry/strange_innodb_fragmentation" rel="nofollow">http://jroller.com/dschneller/entry/strange_innodb_fragmentation</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySQL File System Fragmentation Benchmarks &#124; MySQL Performance Blog</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-255471</link>
		<dc:creator>MySQL File System Fragmentation Benchmarks &#124; MySQL Performance Blog</dc:creator>
		<pubDate>Sat, 22 Mar 2008 03:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-255471</guid>
		<description>[...] days ago I wrote about testing writing to many files and seeing how this affects sequential read performance. I was [...]</description>
		<content:encoded><![CDATA[<p>[...] days ago I wrote about testing writing to many files and seeing how this affects sequential read performance. I was [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254365</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 19 Mar 2008 06:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254365</guid>
		<description>Be aware if you use XFS/ReiserFS on PC-Hardware, you risk loss of data in case of power failure:

http://zork.net/~nick/mail/why-reiserfs-is-teh-sukc</description>
		<content:encoded><![CDATA[<p>Be aware if you use XFS/ReiserFS on PC-Hardware, you risk loss of data in case of power failure:</p>
<p><a href="http://zork.net/~nick/mail/why-reiserfs-is-teh-sukc" rel="nofollow">http://zork.net/~nick/mail/why-reiserfs-is-teh-sukc</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254335</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 19 Mar 2008 05:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254335</guid>
		<description>Brian,

Thanks for heads up I've written another blog post on those tools.

I'm quite sure that was not caching because number at VMSTAT matches these quite closely.</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>Thanks for heads up I&#8217;ve written another blog post on those tools.</p>
<p>I&#8217;m quite sure that was not caching because number at VMSTAT matches these quite closely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254333</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 19 Mar 2008 05:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254333</guid>
		<description>Thanks tgabi,

If you have updates you may be suffering from internal fragmentation in addition to file system fragmentation - such as rows may get more than one piece in MySQL  sequential pages in index order happen to be in different locations etc.

Good you agree on pre allocation option though I think even much smaller values such as 1MB or 4MB would make things much better.</description>
		<content:encoded><![CDATA[<p>Thanks tgabi,</p>
<p>If you have updates you may be suffering from internal fragmentation in addition to file system fragmentation - such as rows may get more than one piece in MySQL  sequential pages in index order happen to be in different locations etc.</p>
<p>Good you agree on pre allocation option though I think even much smaller values such as 1MB or 4MB would make things much better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tgabi</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254283</link>
		<dc:creator>tgabi</dc:creator>
		<pubDate>Wed, 19 Mar 2008 02:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254283</guid>
		<description>I've noticed this long time ago. I'm fighting this using different measures: a. small tables are optimized periodically b.big tables that are affected by fragmentation can be arranged as 1 file per filesystem  c. recently Mysql 5.1 table partitioning allowed to use SSD for most recent data (most used) and disk for historical data (less used). Index files are the most prone to fragmentation - since 1 record inserted/updated can trigger updates on several indices. No filesystem is immune to fragmentation unfortunately, the only way to reduce it is to have some table options that will pre-allocate space in large chunks (like 1GB data, 1 GB index).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve noticed this long time ago. I&#8217;m fighting this using different measures: a. small tables are optimized periodically b.big tables that are affected by fragmentation can be arranged as 1 file per filesystem  c. recently Mysql 5.1 table partitioning allowed to use SSD for most recent data (most used) and disk for historical data (less used). Index files are the most prone to fragmentation - since 1 record inserted/updated can trigger updates on several indices. No filesystem is immune to fragmentation unfortunately, the only way to reduce it is to have some table options that will pre-allocate space in large chunks (like 1GB data, 1 GB index).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254228</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Tue, 18 Mar 2008 23:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254228</guid>
		<description>Are you sure the speed difference is caused by fragmentation of the filesystem on the disk, and not due to the single large file being in the buffer cache? It might be interesting to use the following to see what's in the buffer cache:

http://net.doit.wisc.edu/~plonka/fincore/

http://insights.oetiker.ch/linux/fadvise.html</description>
		<content:encoded><![CDATA[<p>Are you sure the speed difference is caused by fragmentation of the filesystem on the disk, and not due to the single large file being in the buffer cache? It might be interesting to use the following to see what&#8217;s in the buffer cache:</p>
<p><a href="http://net.doit.wisc.edu/~plonka/fincore/" rel="nofollow">http://net.doit.wisc.edu/~plonka/fincore/</a></p>
<p><a href="http://insights.oetiker.ch/linux/fadvise.html" rel="nofollow">http://insights.oetiker.ch/linux/fadvise.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254204</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 18 Mar 2008 23:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254204</guid>
		<description>Oh yes. SSD reduce seek penalty dramatically so fragmentation should be much less issue for them.

This is multiple Terabyte data storage project so it is not for SSD yet.</description>
		<content:encoded><![CDATA[<p>Oh yes. SSD reduce seek penalty dramatically so fragmentation should be much less issue for them.</p>
<p>This is multiple Terabyte data storage project so it is not for SSD yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254178</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Tue, 18 Mar 2008 22:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/03/18/working-with-many-files-and-file-system-fragmentation/#comment-254178</guid>
		<description>It would also be interesting to repeat the test with the files on those new solid state drives, to see how much of an improvement you could get.</description>
		<content:encoded><![CDATA[<p>It would also be interesting to repeat the test with the files on those new solid state drives, to see how much of an improvement you could get.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
