Btrfs Is Not Yet the Performance King
Ashmash writes "Benchmarks of the Btrfs filesystem have been published by Phoronix that compare it to the XFS, EXT3, and EXT4 file-systems. In the end they conclude that this next-generation Linux filesystem is not yet the performance king. In a great number of the tests, the EXT4 filesystem that was designed to be an interim step to Btrfs actually performs much better than the unstable Btrfs, albeit Btrfs still has more advanced features. Fedora 11 even took longer to boot when using Btrfs than EXT3 or EXT4."
what I want to know is, which filesystem is most helpful for murdering my Russian wife?
I don't care which filesystem is fastest. Kcryptd is the bottleneck on my system, so it really doesn't matter how fast the filessytem is. I want to know which filesystem is the most robust. What filesystem is least likely to lose data?
Give me Classic Slashdot or give me death!
What is newsworthy in the fact that a less tested and less stable filesystem is slower than filesystems that are more mature, stable and well-tested?
Btrfs is mainly created for the Oracle client that doesn't want to use "raw device". It's to improve performance reading/writing large files with high concurrency. So it have to be fast on concurrent request.
What should be looked is :
how mysql perform on BTRFS
how postgres perform on BTRFS
how firebird perform on BTRFS
As there is no magical solution, btrfs is no exception. It's not a general usage FS as is ext (imho). On the desktop, xfs will be the way to go. Performance-wise it's obviously not so great (I do realise that it's still in development and this might change in the future), and the features it delivers are not very interesting as well imho, except maybe for the online defragmentation thingy. But I'm not an enterprise user whis is what this fs aims at I assume.
Still I appreciate the work. Let's hope it doesn't get axed now that Oracle owns Sun and thus already has ZFS.
cheers
=Smidge=
Is it just my observation, or is eldavojohn an idiot?
With Btrfs still being unstable and slow, what is going to happen to it once Oracle completes it's purchase of Sun and gets ZFS and Solaris?
Dual Opteron < $600
I didn't see any indication of the actual filesystem configuration in each case.
Are the defaults for the two filesystems even equivalent? The test isn't really fair if one of them is providing more ordering guarantees than the other.
So far I have resisted moving to butterface because I've read that the on-disk format may change, and I'd have to reformat and copy all my data to and from a backup device. It wasn't a pain I wanted to go through just for that.
So I'm happily on XFS for now - I'm very happy with the large file performance and xfs_fsr is nice to have. Will try butterface at some point in the future if it reaches format stability.
not sure why phoronix decided to include several test cases which are clearly bottlenecked by something other than the filesystem. Obviously, all 4 filesystems are gonna score the same.
with linus ranting against ext4 i expected to find 'ordered' (mount option to make ext4 acceptable) in the f****** article at least once, but didn't.
so, please guys: do yourself a favour and do the benchmark again! benchmarking ram against platters ain't fair!
Does one pronounce Btrfs as "Better FS" or "Butter FS"? I prefer the latter.
I didn't RTFA but why no mention of ZFS?
This space left intentionally blank.
Fedora 11 even took longer to boot when using Btrfs than EXT3 or EXT4."
Performance testing is a huge part of my job. File system performance is a critical part of many performance tests.
In 20 years of performance testing, I have never measured or reported on "boot performance". After all, who among us reboots more than once every 6 or 7 months?
Now all of my apps are killer apps!
I host some good-sized databases. (aroung 100 GB when dumped as sql statements) I do this on commodity x64 systems and RHEL/EXT3. Although an F/S swap may boost performance some, I'd almost a guarantee in blood before I'd consider swapping.
Performance is already good/excellent, so the benefit would be minor, while the cost of any corruption would be extreme. I'd be far more likely to upgrade the ECC RAM than do anything to the F/S until a few years of stability have assured me that the change would work out.
Given how fast CHEAP hardware is nowadays, speed takes a distant back seat to reliability nowadays!
I have no problem with your religion until you decide it's reason to deprive others of the truth.
You want to see EXT3 choke and gobble tons of CPU?
Try creating a bunch of 8-20GB files then unlink (rm) the files.
You'll be amazed to see unlink() on EXT3 use 100% CPU usage for 8-20 seconds PER FILE with all of the other processes starved while EXT3 bogs. Any live data collection in other processes will be stalled until unlink() finishes.
XFS, without a real-time volume, does a fine job of large file deletion without bogging the CPU or starving the live data collection processes.
It's too bad Phoronix didn't bother with benchmarking that scenario.
All these results just make me wonder why we arn't all using 'xfs' by default nowadays?
http://notanumber.net/
Would be nice to have a Benchmark between the KillerFS(ReiserV4) and BTRFS!
How can one say that Btrfs is slower when they only tested on a single configuration.
I wouldn't be surprised if Btrfs would outperform the others on systems with multiple disks, especially if it has some ZFS style capabilities.
Also, I didn't see anywhere that they were running a 64bit install... I would hope that the devs for Btrfs are optimizing for 64bit systems.
Reguardless, a single configuration test does not qualify them to say that one filesystem is faster than another... unless they qualify it by saying that "on the only system we benchmarked, btrfs not the performance king." A much less meaningful comment.
Sometimes the best solution is to stop wasting time looking for an easy solution.
Hardly. ZFS and btrfs use a copy on write design that is decidely non-optimal for database usage. Both work best when files are completely rewritten or only appended to. Partial writes to files cause them to get fragmented. This problem is severe enough that btrfs at least is planning special options so that the performance of large databases doesn't go downhill. How they plan on integrating that with a copy on write design is an interesting question.