<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx</link><description>1KB Sequential Writes It’s well known that disk I/O performance can be severely impacted by fragmentation at the file system level. In other words, when a file is allocated space from many small fragments, its performance can be much worse than when its</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10343</link><pubDate>Sun, 07 Dec 2008 22:36:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10343</guid><dc:creator>Brent Ozar</dc:creator><description>&lt;p&gt;Agreed, writes shouldn't be an impact. How about reads across large tables though, like table scans in a data warehouse? I'm guessing the impact there would be larger if the reads are scattered all over the spindles.&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10344</link><pubDate>Sun, 07 Dec 2008 23:48:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10344</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;I'll report the results from other I/O workloads. But the point here is to contrast the results with those from the traditional directly attached storage where even for 1KB sequential writes, file fragmentation can make a big difference. Note that SQL Server log writes may perform 1KB sequential writes.&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10345</link><pubDate>Mon, 08 Dec 2008 00:39:16 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10345</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;Also, I'd like to note that it's difficult to conclude that something doesn't have any performance impact because you would have to test all the workload combinations before you can even try to draw that type of conclusion. It's not my intention to state that file fragmentation does not have any performance impact on a SAN drive. Just want to make that clear. The intent is to compare DAS and SAN on specific workloads with respect to file fragmentation.&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10347</link><pubDate>Mon, 08 Dec 2008 00:51:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10347</guid><dc:creator>Andrew Kelly</dc:creator><description>&lt;p&gt;It would be very helpful to know what portion of those wrties were totally buffered by the cache. &amp;nbsp;It is impossible to say with so little info but it appears to me as if all were. &amp;nbsp;How much cache did the SAN have and was this test the only thing using it? &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10348</link><pubDate>Mon, 08 Dec 2008 01:24:33 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10348</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;Andy;&lt;/p&gt;
&lt;p&gt;When I say 'high end enterprise class SAN', it implies that all writes are cached, especially when the test file is 10GB. And that's one of the reasons that file fragmentation may not be such a big deal with a SAN drive, but it's not the only reason. The other is that most of these SAN drives are inherently fragmented in terms of track-to-track seek time and average seek time even if cache inside the disk array is not sufficiently large to cache eveyrthing.&lt;/p&gt;
&lt;p&gt;Thanks for helping to make this explicit.&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10354</link><pubDate>Mon, 08 Dec 2008 10:42:53 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10354</guid><dc:creator>Grumpy Old DBA</dc:creator><description>&lt;p&gt;I've always been told by san vendors that fragmentation doesn't matter; but if you consider a db of say 200gb that has several hundred fragments my feeling is that there is a danger of sequential io becoming random io and read ahead and such becoming inefficient. We always talk about high volumes of san cache but 128gb of cache may sound high but what if there are 128 luns ( or more ); the cache is goping to be split read/write probably anyway. I have to admit these types of questions have never been answered to my satisfaction. I'm currently running some tests against a new san and the experience is proving &amp;quot;interesting&amp;quot; to say the least!!&lt;/p&gt;
</description></item><item><title>Performance impact: file fragmentation and SAN – Part II</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10376</link><pubDate>Mon, 08 Dec 2008 18:57:35 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10376</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;1KB Sequential Writes on DAS There were some questions about the use 1KB sequential writes in my previous&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10392</link><pubDate>Mon, 08 Dec 2008 23:50:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10392</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;I would not expect a defrag tool vendor to say that fragmentation at the logical drive level does NOT have a substantial impact :-). Nor am I suggesting that they are lying as I'm sure they can find empirical evidnece to support their claims. All I wanted to achieve is to throw some empirical evidence I have collected out there and let people have a different perspective and perhaps motivate them to do some tests themselves to find out whether it has or has no impact in their own environments.&lt;/p&gt;
&lt;p&gt;One thing is for sure, that is, you can't just take for granted whatever a vendor is giving you, no matter who that vendor is. You have to give that tire a good kick yourself.&lt;/p&gt;
</description></item><item><title>Performance Impact: file fragmentation and SAN – Part III</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10438</link><pubDate>Wed, 10 Dec 2008 17:19:13 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10438</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;256KB Sequential Reads In my two previous posts ( 1 , 2 ), I highlighted the fact that while file fragmentation&lt;/p&gt;
</description></item><item><title>Performance impact: file fragmentation and SAN – Part IV</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#10689</link><pubDate>Mon, 22 Dec 2008 16:40:24 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10689</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;Lies, damned lies, and statistics! If you have read my three previous posts ( 1 , 2 , 3 ), you may walk&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#12558</link><pubDate>Wed, 11 Mar 2009 11:10:41 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:12558</guid><dc:creator>Sebastian Mai</dc:creator><description>&lt;p&gt;What I am missing in all your performance articles is the real cluster size of the formatted partition. On one size you are talking about how you set up the fragmentation on the disk but which clustersize on disk was used to simulate the fragmentation?&lt;/p&gt;
&lt;p&gt;Or did you also took this in consideration and modified the clustersize of the partition to the appropiate fragment e.g 1 kb , 4 kb , 128 kb ?&lt;/p&gt;
&lt;p&gt;Thx for your feedback. &lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#13696</link><pubDate>Fri, 01 May 2009 14:10:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:13696</guid><dc:creator>Confused</dc:creator><description>&lt;p&gt;It's good to see some analysis going into the topic of shared storage system but without knowing what the graph is actually showing I am having problems with the information presented by the graph - it just looks to &amp;quot;good&amp;quot; which makes me wonder what the graph is actually telling us.&lt;/p&gt;
&lt;p&gt;Following on from this thought if the chart shows &amp;quot;applying 1KB sequential writes at various load levels&amp;quot; and that &amp;quot;severe file fragmentation had no impact on the performance&amp;quot; assuming the x axis is load we could deduce that increasing load has no impact on performance which sounds to good to be true. If we are performing a performance test that does not place a sufficiently high load on the system that we can see a deterioration in performance towards the upper end of the load then we are not really testing the system that we intended. An example would be one of those gaming video card comparisons where at the lower resolutions everything seems roughly the same and one resolution produces much the same results as the next and as resolutions increase the figures start to change and actually give us some idea of where each card falls down.&lt;/p&gt;
&lt;p&gt;Not to say I don't like what you are trying to do - because I do - but there is just that thing missing from the results.&lt;/p&gt;
</description></item><item><title>re: Performance Impact: file fragmentation and SAN -- Part I</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/12/07/performance-impact-file-fragmentation-and-san.aspx#18188</link><pubDate>Fri, 23 Oct 2009 22:20:01 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18188</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I read the article posted here and I wanted to provide the following comments with regards to your testing.&lt;/p&gt;
&lt;p&gt;Whenever testing is performed, it is important to provide as much detail as to your testing as possible. This will ensure that any testing that is performed is done properly and the conclusions that are drawn from this testing are accurate. In this article, the following information was either not included or not provided?&lt;/p&gt;
&lt;p&gt;1.It was mentioned that “some of these 2MB files were randomly deleted” during the test. Which 2MB files were deleted? &amp;nbsp;Depending upon which files were deleted, this would affect the amount of fragmentation. &lt;/p&gt;
&lt;p&gt;2.How fragmented was the drive when the test was performed? (Do you have a volume map or other information of the drive showing the fragmentation?)&lt;/p&gt;
&lt;p&gt;3.	How many fragments was your 10GB file in?&lt;/p&gt;
&lt;p&gt;4.	Did you perform any tests with the any larger SQL files?&lt;/p&gt;
&lt;p&gt;5.	How did you perform the 1K sequential writes under various load levels? More information as to how this was tested would be appreciated.&lt;/p&gt;
&lt;p&gt;I also noticed that you did not mention anything about read times. Fragmentation affects write times when data is being written to fragmented area of the disk or volume. However, fragmentation also affects read time when accessing and \or reading files that are in a fragmented state. I would suggest that you use a third party application such as readfile available at the following url to test read times as well:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a rel="nofollow" target="_new" href="http://www.winimage.com/readfile.htm"&gt;http://www.winimage.com/readfile.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are many IT managers and CIOs of major corporations using defragmentation software on their SQL servers in their organization. Many of these individuals have run their own tests and came to the conclusion to buy defragmentation software for their computers and servers. Since you mentioned that you “don’t know if there is a significant impact”, I would suggest that you re-run your tests and address the concerns I mentioned above.&lt;/p&gt;
</description></item></channel></rss>