Journalling File System Comparison 38
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."
Possible Explanation for Bad Dir Numbers? (Score:4, Interesting)
Since every directory has two entries in it ("." and ".."), that is three times the number of directory entry creations/deletions that need to be journaled. Perhaps the other journaling FSs have some optimization for handling "." and "..".
Re:Possible Explanation for Bad Dir Numbers? (Score:3, Informative)
Use the filesystem that fits (Score:5, Interesting)
Pick the filesystem that won't trash your data. I haven't seen any benchmarks that show stats like errors in the filesystem code, maturity, or how often the filesystem corrupts unexpectedly.
Re:Use the filesystem that fits (Score:3, Informative)
Nothing aginst the reiserfs code itself, as the original corruption could have happened with ext3 also, but the fsck for ext2/ext3 has been around for eons longer, and therefore is much better at recovering from problems.
Re:Use the filesystem that fits (Score:2, Insightful)
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
Re: (Score:3, Insightful)
How about a little consistency... (Score:4, Insightful)
Re:How about a little consistency... (Score:4, Insightful)
My only other complaint is the image size, but that was explained and I understand. I suggest that if at all possible you read the author's link because the smooshed graphs can be rather illegible.
Small gripes aside, good article.
Reiser4, and why Ext2 is there (Score:5, Insightful)
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.
Re:Reiser4, and why Ext2 is there (Score:1)
Re:Reiser4, and why Ext2 is there (Score:3, Insightful)
As far as RAM disk versus SHM, there are occasions where you would like to copy files and store shared files in RAM, especially on systems with plenty of it to spare and busy hard drives.
Re:Reiser4, and why Ext2 is there (Score:2)
Re:Reiser4, and why Ext2 is there (Score:3, Insightful)
Also, because ext2 was used for so long and is not cha
Re:Reiser4, and why Ext2 is there (Score:2)
Even faster and more memory efficient is something like ramfs or tmpfs, which store the data in the cache directly, avoiding filesystem issues entirely (also, if they're not full, the leftover ram can be used for programs!). They won't work for an initrd, but you can copy from an initrd to ramfs, then
Re:Reiser4, and why Ext2 is there (Score:2)
It is important to remember that journaling can SPEED performance, not slow it down in many situations.
The key question is: are you maxing out the drive's IO/bandwidth. On RAID 5 with multiple concurant writes (usually more than 3) you will often see a performance boost for journaling.
Of course, the real win is when your journal isn't a disk at all, but NVRAM. In that case (e.g. NetApp), you
It'd be cool (Score:5, Insightful)
But since he's done this all for free, all I can say is thanks.
ext3 (Score:2, Interesting)
I'd still use it for any system unless I could demonstrate that it really couldn't handle the workload.
Then again with the hard disk being a bottle neck quite often in desktop systems, there is something to be said about a fast filesystem there.
Nice (Score:5, Informative)
Also, people should pick a file system that suits that task at hand:
-XFS was designed for handling large files quickly, and on a file system where most of the files are at least a few megabytes in size, XFS will reign supreme.
-ReserFS, on the other hand, is excellent for file systems with lots and lots of small files.
-ext2 is still useful. For instance, there's no need for journalling in
-ext3, at least under 2.6, is a decent desktop file system. While not the fastest, it's reliable, and its performance in the 2.6 kernels is much better than in the 2.4 kernels. It should be sufficient for most desktop file system needs.
As to file system reliability, from what I've heard, all the major file systems are pretty solid in the 2.6 kernel.
FS corruption (Score:5, Insightful)
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
Re:FS corruption (Score:2)
Now, with that said, XFS can be too good.
Case in point: I accidentally rm'ed most of my homedir. Under most file systems, files are unlinked, yet the data remains, so dumping a raw image or forcing the file system to relink the file is possible; but XFS zeroes out after unlinking.
Otherwise, I swear by XFS. I might try Reiser4 (once it goes stable) as a root partition, though.
Re:FS corruption (Score:3, Insightful)
[...] 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!!! [...]
As ext2/ext3 are probably much much more widely used than ReiserFS, if there are the same absolute number of problems reported with both, that would of course speak strongly against Rei
partioned drives too early (Score:1)
Re:partioned drives too early (Score:1)
Clearly d
NTFS (Score:2)
Re:NTFS (Score:2)
Re:NTFS (Score:2)
the NT kernel beating linux would make some people take notice
regards
John Jones
Re:NTFS (Score:2)
Problem with ext3 (Score:5, Interesting)
So if anyone tries filesystems comparison, please benchmark all three data modes of ext3 or, at least, provide information which one was used in the test.
To add my 0.02 EUR I would also like to see comparison of linux filesystems against *BSD ufs2 on the same machine. I know that the underlying operating system adds additional variables in the equation, but if you are interested in filesystem-oriented tasks the system's performance as a whole counts, not only its filesystem. I have seen something like this done already for RAIDs [io.com] but I would like to see this for ordinary single drives (like ATA and SATA). Shall I have enough time I will perform such tests end of July, when my new hardware arrives.
Re:Problem with ext3 (Score:2)
bonnie++ (Score:2)
Dupe (Score:2)