Slashdot Mirror


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."

5 of 117 comments (clear)

  1. Stability, reliability by Hatta · · Score: 4, Insightful

    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!
    1. Re:Stability, reliability by Cassini2 · · Score: 5, Informative

      btrfs has several features that help prevent data loss, and in particular silent corruption of data on the disk. It is also handy to be able to take snapshots for backup purposes.

      Ext3 and Ext4 are faster because they omit some of these features. There was recently some heated debate about ext4 and data loss, see the Slashdot discussion for more links.

      With file systems, speed and data integrity are trade-offs.

    2. Re:Stability, reliability by onefriedrice · · Score: 4, Insightful

      I think it's important to keep in mind that it is the GPL that is incompatible with other free licenses, not the other way around.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    3. Re:Stability, reliability by Nevyn · · Score: 4, Insightful

      You're right, Sun had no idea their new license would be incompatible with Linux because they wanted to be compatible instead of doing the slimy thing and trying to make it be a selling point over using Linux, which everyone was doing. Alas. for them RMS and Linus travelled back in time and created/used the GPL just to thwart poor Sun.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
  2. Re:format stability by pigeon768 · · Score: 4, Informative

    Extents and delayed allocation are the big ones, both of which are available in ext4, reiser4, and btrfs.

    Unfortunately, xfs is more likely to eat data in individual files than ext3 or ext4 w/ data=ordered. It's apparently less likely to end up with an uncorrectable superblock.

    xfs is also horrifically slow for random access of smaller files. If your application calls for massive files, such as databases or a porn library, xfs is preferable over reiserfs or ext3, comparable to ext4, but for general use you're better off with ext3/4 or reiserfs. (by reiserfs I mean 3.6, not reiser4. I can't speak for reiser4)

    It's important to remember that there is no one fs to rule them all. Any time anyone tells you "*fs is the best filesystem" they're suffering from fanboyism. xfs is probably not the ideal filesystem for / on a desktop system, but it's a great filesystem for a partition on a server running a database or a fileserver serving large files, or for a DVR application like mythtv.