Journalling File System Comparison
Ithika writes "Justin Piszcz recently did an analysis of some common journaling file systems over at Linux Gazette. Due to the Gazette's ridiculous restrictions on image filesize all of the graphs are pretty much illegible, however. You can see the article as the author originally intended here."
One graph has ext2 first, the next has xfs. ext3 is light blue in one, purple in the next. I quickly found that after having to recheck the key for each graph, I really didn't care anymore.
It is amazing what you can accomplish if you do not care who gets the credit. -- Harry Truman
Otherwise, an interesting article.
And for the complainers who say "Why include ext2, everyone should use a journaling filesystem", there are two reasons. First is that ext2 is a MAJOR STANDARD that was what everyone used for years and years. The second is that ext2 is still usefull. For a temporary filesystem (like /tmp or some temporary RAM disk with unimportant contents) ext2 is often very fast because it lacks all the journaling stuff which is unimportant for a temporary filesystem.
Comment forecast: Bits of genius surrounded by a sea of mediocrity.
If there was a spreadsheet to go with that. One could normalize the results and weight each benchmark according to their performance needs. And there are differences between the 2.4 and 2.6 kernels' IO handling that could make an fs perform better on one kernel than the other.
But since he's done this all for free, all I can say is thanks.
One test that wasn't in the article was a reliability test - i.e. if something bad happens, how much is lost? Or just as importantly, can you guarantee the FS will work as long as the storage device does?
:P
I've noticed that many people seem to have a bias against ReiserFS for being a less stable FS. There is some truth to that, I suppose, since it's newer, but I've poked around google for hard facts, and couldn't really find any evidence from the past 1 to 1-1/2 years of particular problems with *any* of the major filesystems. All I came up with were anecdotes, and not only that: There were just about as many with horror stories about ext2 and ext3 as with Reiser!!!
So I wouldn't worry about corruption unless it's already happened to you; experience is the best teacher
Exactly. What I've seen from all the colored bars is that there are no extreme differences for most usage patterns between the filesystems. ext3 seemed surprisingly slow in some (regular) tests, but otherwise all the journaling filesystems seemed rather evenly matched.
I wouldn't recommend choosing a filesystem based on this benchmark because it showed that the speed is basically the same within ~20%.
Is there a benchmark that shows some real difference between these filesystems? Like how they recover from regular disc corruption patterns?
All of the filesystems tested are pretty mature. Reiserfs had some early 2.4 kernel issues (but then again, what didn't!). JFS is the "youngest" of all those (Well, JFS on linux anyway). A filesystem would have to be of pretty shitty design these days to have random corruption issues. You'd be more likely to have hard drive issues before random filesystem corruption issues.