EXT3 vs EXT4 vs XFS vs BTRFS - filesystems comparison on Linux kernel 3.0.0

Written by Gionatan Danti on . Posted in Linux & Unix

User Rating:  / 24
PoorBest 

Bonnie++ read/write speed

Lets start our analysis by evaluating sequential read/write speed and CPU usage with the Bonnie++ benchmark:

Bonnie++ sequential read/write speed

Things seems pretty similar here, with the exception of somewhat slower ext3 output (read) speed. Also note that ext3 and btrfs seems to use slight more CPU cycles.

What about random seeks performance?

Bonnie++ random seeks

When not synching each request, all filesystems were equal. However, once we issue a sync command after each operation, ext3 is the faster filesystem, while btrfs is the slower.

Some file type (eg: virtual machine images and large audio/video files) are often used with direct I/O (bypassing the O.S. page cache). Did the benchmarks depict a different picture in this case?

Bonnie++ sequential read/write speed - direct io

While sequential output (read) speed take a hit across the board, the most penalized filesystem seems to be btrfs. The high CPU load is a consequence of bypassing the operating system's cache.

Bonnie++ random seeks - direct io

 On the other side, random seek speeds are largely unaffected, as they depend more on the hard disk / filesystem combo rather than on the access mode.

Comments   

 
#1 D Mackney 2012-09-12 11:35
What a well presented resume of Linux file systems.
Now a question, have you considered reviewing the BeFS as
used by the Haiku OS, as it would be interesting to see how it
compares to, say, the XFS file-sysem, especially as there seems
to be an implied 'Speed advantage' in its function.
Regards.
 
 
#2 Daniel OConnell 2013-05-26 04:33
xfsdump and xfsrestore

Why I use xfs.
 

You have no rights to post comments