EXT4, Btrfs, NILFS2 Performance Benchmarks

Published on June 29, 2009
Written by Michael Larabel
Page 2 of 7
Discuss This Article

Starting with the Parallel BZIP2 Compression test profile to measure how long it takes to compress a 2GB sample file to PBZIP2 format, XFS was the fastest file-system. There was not a significant difference between the XFS and EXT3 file-systems, albeit the prior was in first, but they were faster than the three new file-systems: EXT4, Btrfs, and NILFS2. Btrfs was the slowest, but these margins were small.

The EXT4 file-system was the fastest at encrypting a sample file using the Java-based Bork encryption program, but immediately behind that was Btrfs. The older file-systems, XFS and EXT3, were slower than EXT4/Btrfs, but NILFS2 was much slower with this test profile. It took 34 seconds for the file to be encrypted on the SATA disk here using EXT4 and Btrfs, but with NILFS2 took 57 seconds!

With the SQLite test profile to measure how long it takes to perform 12,500 insertions using this lightweight SQL database, EXT3 and NILFS2 were the clear winner. It took 20 seconds for this database test to complete under EXT3, 34 seconds under NILFS2, but 870 seconds for EXT4! XFS was at 1312 seconds and Btrfs was at 1472 seconds! These results are a bit shocking, but the Phoronix Test Suite does run these tests multiple times to ensure accuracy and statistical significance. Going back to our mass kernel benchmarking we have found regressions in some kernel releases when it came to the SQLite performance, but it looks like the file-system may play a larger role in how this database application performs. Programs such as Mozilla Firefox and Adobe programs use SQLite.

Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. BHyVe: A New Hypervisor Coming To FreeBSD 10.0
  2. Jolla Announces Their First Phone
  3. The Cost Of Ubuntu Disk Encryption
  4. Freedreno Gallium3D Now Banging The Adreno A3XX
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. Benchmarking The Intel P-State, CPUfreq Changes
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite