<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/20604/Real_World_Benchmarks_of_the_ext4_File_System</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Fri, 10 Jul 2009 00:31:10 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Encryption performance</title>
			<link>http://osnews.com/thread?339098</link>
			<guid isPermaLink="true">http://osnews.com/thread?339098</guid>
			<description>I'd be really curious to see how the performance of whole disk encryption is affected by filesystem choice.  I have a 1.5 TB RAID5 (4x500GB SATA2) entirely encrypted using dm-crypt and dm-raid with XFS on the RAID.  I used to have the entire system system encrypted but the performance hit was too painful.  It would be interesting to see if the filesystem choice would have much impact on that.</description>
			<pubDate>Wed, 03 Dec 2008 22:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (CodeMonkey)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Phoronix</title>
			<link>http://osnews.com/thread?339104</link>
			<guid isPermaLink="true">http://osnews.com/thread?339104</guid>
			<description>Phoronix is on the ball! With all their recent benchmarks I consider them one of the best places on the net to get good third party information. Keep up the good work <img src="/images/emo/smile.gif" alt=";)" /></description>
			<pubDate>Wed, 03 Dec 2008 22:50:00 GMT</pubDate>
			<author>donotreply@osnews.com (binarymutant)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Interesting, but odd...</title>
			<link>http://osnews.com/thread?339106</link>
			<guid isPermaLink="true">http://osnews.com/thread?339106</guid>
			<description>The disk i/o benchmarks were certainly interesting, and worth reading the article to see.  But when they started throwing lzma, bzip2, lame, video games, and other processor bound &quot;benchmarks&quot; at these filesystems, I went... &quot;what&quot;?  They could have made something out of the video game benchmarks, maybe, by checking the time to start the game and load a level, rather than reporting the FPS.  If the FPS is affected by the filesystem, its time to find a new gaming house, not a new filesystem!<br />
   <br />
   Looks like ext4 closes the gap with XFS, or now beats it significantly, in all but that surprising 4GB random delete phase.  Deletes used to be a real Achilles heal for XFS, and I know the Linux XFS devs put a lot of special effort into improving that situation.  But since it is also slower than ext3 in this phase, I suspect something else is going on.<br />
   <br />
   Beating XFS by 25-30% on the 8GB sequential read and 4GB sequential create phases is particularly notable, since large sequential reads and writes were major design goals for XFS.<br />
   <br />
   And all that with the significant additional integrity guarantees that the default &quot;data=ordered&quot; mode (and, I believe, journal checksumming) provides over XFS.  Impressive work by the ext4 guys, indeed.Edited 2008-12-03 23:48 UTC</description>
			<pubDate>Wed, 03 Dec 2008 23:44:00 GMT</pubDate>
			<author>donotreply@osnews.com (sbergman27)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>what?</title>
			<link>http://osnews.com/thread?339120</link>
			<guid isPermaLink="true">http://osnews.com/thread?339120</guid>
			<description>again no love for JFS <img src="/images/emo/sad.gif" alt=";)" />  and yeah really, whats unreal tournament in 1280x1024 got to do with disk benchmarks.<br />
<br />
If people wanted extents they'd be using a filesystem like JFS or XFS already.<br />
<br />
I fail to see the need of ext4 to 'bridge' the gap until BTRFS arrives.<br />
<br />
Someone had an itch to scratch, so be it.</description>
			<pubDate>Thu, 04 Dec 2008 01:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (_df_)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: what?</title>
			<link>http://osnews.com/thread?339127</link>
			<guid isPermaLink="true">http://osnews.com/thread?339127</guid>
			<description>Exactly.. most of these benchmarkers are either Linux ignorant or have an axe to grind.  Interestingly, OSNews and LWN both failed to pick up my roundup of Linux file systems.  I'm going to do some benchmarking of ext2/3/4, XFS, JFS, Reiser3, and Btrfs when kernel 2.6.28 goes stable.<br />
<br />
JFS is an excellent file system.  I wish it would get some developer attention, as I'm sure it could be improved quite a bit to take advantage of modern kernel features.</description>
			<pubDate>Thu, 04 Dec 2008 02:05:00 GMT</pubDate>
			<author>donotreply@osnews.com (kev009)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: what?</title>
			<link>http://osnews.com/thread?339132</link>
			<guid isPermaLink="true">http://osnews.com/thread?339132</guid>
			<description>Would be something to read, but one aspect that annoys me about ext3 is when a user comes to me and say, &quot;I have deleted accidentally some important files! Can you help me?&quot;. Do you know if they changed that irritating inode block pointers zeroing on ext4?<br />
<br />
I have used ext3grep with a so-so success and some forensics tools from time to time. I know that exist some apps that monitor and save the needed information to restore files but I'm afraid of use them on a corp environment and get affect by some obscure bug and/or instability issues.</description>
			<pubDate>Thu, 04 Dec 2008 02:58:00 GMT</pubDate>
			<author>donotreply@osnews.com (acobar)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>funny</title>
			<link>http://osnews.com/thread?339142</link>
			<guid isPermaLink="true">http://osnews.com/thread?339142</guid>
			<description>Benchmarks are always funny, but those benchmarks are not serious.<br />
When you do benchmarks, you've got to put more effort in it.<br />
linux caches a lot in RAM and in SWAP. When you have 4GB of SWAP and 2Gb of RAM, a lot of the changes you made is not commited when the test ends. How much has really been written to the disk depends on a lot of things.<br />
They test too much things at the same time.</description>
			<pubDate>Thu, 04 Dec 2008 06:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (spiderman)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: funny</title>
			<link>http://osnews.com/thread?339145</link>
			<guid isPermaLink="true">http://osnews.com/thread?339145</guid>
			<description><div class="cquote">linux caches a lot in RAM and in SWAP. </div><br />
  Linux caches a lot in swap?<br />
  <br />
  <div class="cquote">When you have 4GB of SWAP and 2Gb of RAM, a lot of the changes you made is not commited when the test ends. </div><br />
  With 2GB of ram and only bonnie++ running, I should hope that swap would not be relevant! (Well, as long as the fs in use is not ZFS. ;-) ) At any rate, bonnie++ fsyncs at the appropriate times. I presume that the other disk benchmarks do so, as well.  The other tests, like lzma, were not suitable as disk benchmarks to start with.Edited 2008-12-04 08:01 UTC</description>
			<pubDate>Thu, 04 Dec 2008 08:00:00 GMT</pubDate>
			<author>donotreply@osnews.com (sbergman27)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: funny</title>
			<link>http://osnews.com/thread?339159</link>
			<guid isPermaLink="true">http://osnews.com/thread?339159</guid>
			<description>Umm.... You are aware the page cache != swap, right?<br />
You can cache the contents of the swap file, but you -really- shouldn't swap-out the contents of your cache...<br />
<br />
- Gilboa</description>
			<pubDate>Thu, 04 Dec 2008 11:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (gilboa)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Default filesystem options</title>
			<link>http://osnews.com/thread?339171</link>
			<guid isPermaLink="true">http://osnews.com/thread?339171</guid>
			<description>These filesystem benchmarks are always disappointing because they only use default options.  XFS can acheive huge performance increases by increasing the log size, the inode size, and by adjusting the extent size.</description>
			<pubDate>Thu, 04 Dec 2008 13:45:00 GMT</pubDate>
			<author>donotreply@osnews.com (abraxas)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Default filesystem options</title>
			<link>http://osnews.com/thread?339178</link>
			<guid isPermaLink="true">http://osnews.com/thread?339178</guid>
			<description>Exactly my the same beef I have with them.  Many options can be set for various diferent filesystems each of these effecting thier performance.  In a production server environment, the defaults are usually going to get changed for maximal performance on the desired workload.</description>
			<pubDate>Thu, 04 Dec 2008 14:25:00 GMT</pubDate>
			<author>donotreply@osnews.com (CodeMonkey)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Default filesystem options</title>
			<link>http://osnews.com/thread?339183</link>
			<guid isPermaLink="true">http://osnews.com/thread?339183</guid>
			<description>you should post option to improve performance for xfs</description>
			<pubDate>Thu, 04 Dec 2008 15:14:00 GMT</pubDate>
			<author>donotreply@osnews.com (collinm)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Default filesystem options</title>
			<link>http://osnews.com/thread?339193</link>
			<guid isPermaLink="true">http://osnews.com/thread?339193</guid>
			<description>&quot;Filesystem performance tweaking with XFS on Linux&quot;<br />
<a href="http://everything2.com/index.pl?node_id=1479435" rel="nofollow">http://everything2.com/index.pl?node_id=1479435</a><br />
<br />
The article has been around for some time but the infromation contained within is quite valid.  The author begins with a default XFS setup showing marginal performance and then applies various tweaks by experimenting with differnt values for settings finally resulting in drastic performance improvements.</description>
			<pubDate>Thu, 04 Dec 2008 16:16:00 GMT</pubDate>
			<author>donotreply@osnews.com (CodeMonkey)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Default filesystem options</title>
			<link>http://osnews.com/thread?339195</link>
			<guid isPermaLink="true">http://osnews.com/thread?339195</guid>
			<description>&quot;&quot;&quot;<br />
  Exactly my the same beef I have with them. Many options can be set for various diferent filesystems each of these effecting thier performance.<br />
  &quot;&quot;&quot;<br />
  Using the defaults for these benchmarks is reasonable and beneficial.  One significant problem I've noticed with FOSS is a tendency to ship with really sucky defaults.  Setting proper defaults is not given a high priority because FOSS users are assumed to be smart enough to modify them. (Hi PostgreSQL! Glad you're doing better now!) If XFS ships with poor default settings the devs deserve to be beaten over the head with benchmark losses until they notice the problem. This actually *benefits* users rather than just giving them the warm fuzzies with a reassuring published benchmark result.  Most people trust the defaults.  And if data integrity is important, with good reason.  The default config is the most thoroughly tested configuration.  I recall a case a few years ago where actual data corruption could occur on ext3 filesystems.  However, as it turned out, the bug only affected people who mounted their filesystems with &quot;data=journal&quot;.  This turns on full data journaling, at significant expense to performance, and is thus only used by people who consider data integrity to be of paramount importance.  Oops.<br />
  <br />
  So, obviously, both the devs and the users must weigh the pros and cons of settings which potentially affect stability, even in nonobvious ways. Ext3/4 writes can likely be sped up with data=writeback.  But I don't actually run machines that way, since they would then only provide the same data integrity guarantees as XFS does... and because I'm a big believer in using defaults unless there is a clear need to vary from them.  Mess with them and you essentially become your own beta tester.Edited 2008-12-04 16:41 UTC</description>
			<pubDate>Thu, 04 Dec 2008 16:37:00 GMT</pubDate>
			<author>donotreply@osnews.com (sbergman27)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: Default filesystem options</title>
			<link>http://osnews.com/thread?339209</link>
			<guid isPermaLink="true">http://osnews.com/thread?339209</guid>
			<description><div class="cquote">Using the defaults for these benchmarks is reasonable and beneficial. One significant problem I've noticed with FOSS is a tendency to ship with really sucky defaults. Setting proper defaults is not given a high priority because FOSS users are assumed to be smart enough to modify them. (Hi PostgreSQL! Glad you're doing better now!) If XFS ships with poor default settings the devs deserve to be beaten over the head with benchmark losses until they notice the problem. </div><br />
<br />
XFS doesn't ship with poor default settings.  It ships with settings that aren't optimal for a desktop system but that's because it is used often for large disk arrays.  That doesn't mean it isn't a good desktop file system also but distributions tend to use ext3 as the default filesystem and pretty much ignore all other filesystems.  It would be trivial to export optimized desktop settings during install but there aren't many distributions that even offer XFS as an option during install.</description>
			<pubDate>Thu, 04 Dec 2008 18:28:00 GMT</pubDate>
			<author>donotreply@osnews.com (abraxas)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Ext4</title>
			<link>http://osnews.com/thread?339315</link>
			<guid isPermaLink="true">http://osnews.com/thread?339315</guid>
			<description>I wonder when this will become an option for Enterprise Linux distro's?</description>
			<pubDate>Fri, 05 Dec 2008 13:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (centos_user)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>I have several problems with this test...</title>
			<link>http://osnews.com/thread?339339</link>
			<guid isPermaLink="true">http://osnews.com/thread?339339</guid>
			<description>First, the hardware setup is pretty strange : they use an old single disk (160GB? are you really still using these?), big processor (dual quad core!) but very little RAM (2GB! for eight cores? that's ridiculous)... That's not a proper setup IMHO.<br />
Then from the numbers, it looks like they didn't run bonnie++ several times and averaged it, but on a single run. However bonnie++ notoriously gives very variable results from run to run; you have to run it with very large file size and at least 8 times for a reliable average.<br />
I'd rather run benchmarks this  way : <br />
<br />
 * a proper RAID array of say 6 or 8 500GB or bigger drives with a 3Ware or Areca controller;<br />
 * RAM sized to fit the CPU (1 or 2 GB per core)<br />
 * 8 runs with a file size 8x RAM size.<br />
<br />
Well I'll do it someday anyway <img src="/images/emo/smile.gif" alt=";)" /></description>
			<pubDate>Fri, 05 Dec 2008 18:00:00 GMT</pubDate>
			<author>donotreply@osnews.com (wazoox)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: I have several problems with this test...</title>
			<link>http://osnews.com/thread?339341</link>
			<guid isPermaLink="true">http://osnews.com/thread?339341</guid>
			<description><div class="cquote">I'd rather run benchmarks this  way : <br />
 <br />
  * a proper RAID array of say 6 or 8 500GB or bigger drives with a 3Ware or Areca controller;<br />
  * RAM sized to fit the CPU (1 or 2 GB per core)<br />
  </div><br />
 Yeah.  They shoulda used hardware more like most people have instead of that 160GB disk and 2GB of memory.Edited 2008-12-05 18:08 UTC</description>
			<pubDate>Fri, 05 Dec 2008 18:08:00 GMT</pubDate>
			<author>donotreply@osnews.com (sbergman27)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
