Large HDD/SSD Linux 2.6.38 File-System Comparison: EXT3, EXT4, Btrfs, XFS, JFS, ReiserFS, NILFS2

Written by Michael Larabel in Software on 9 March 2011 at 10:55 AM EST. Page 5 of 5. 65 Comments.

With FS-Mark when testing 1000 files of 1MB size, NILFS2 was the fastest followed by JFS, ReiserFS, and then EXT4. Btrfs was the slowest while EXT4 was in front of that. This was for the HDD. Under the SSD, JFS was the fastest followed by NILFS2. EXT4 and Btrfs were again much slower.

When running FS-Mark again but with disabling sync/fsync, EXT4 and Btrfs popped ahead as the fastest file-systems for both the HDD and SSD.

Lastly, with AIO-Stress, the Btrfs file-system was the fastest with random writes. NILFS2 came in second, but EXT4 pulled in first place. XFS came in last.

That's a look at how the various mainline file-systems are performing in their default configurations using the very latest Linux kernel with both an HDD and SSD. Obviously each of these file-systems can be tuned with different options too, such as enhancing the Btrfs performance by enabling the space cache or using on-disk compression. There's also other features to consider when choosing the file-system, such as their features and reliability, beyond just the "out of the box" performance, but these results are now out there for those interested. The results can be further analyzed on OpenBenchmarking.org.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.