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

Linux kernel untar and cat times

Its time for some more pedestrian tests now. For example, what is the fastest filesystem when untarring the vanilla Linux 3.0.0 kernel?

Linux kernel untar time

Ext4 and btrfs are the leaders here, with xfs slightly behind. Ext3 is on the tail again. Note that pure extract time for xfs is not bad at all: this is a direct results of the vastly improved metadata handling and very good read speed. On the other hand, its sync time is the longer of the group.

What about a pure read test, as catting all the just-extracted files?

Linux kernel cat time

In this pure read test xfs score the better result, shortly followed by btrfs. The two ext-based filesystems are noticeably slower.

So, these two very simple, yet very common tasks seem to corroborate the fact that xfs is a very high performing filesystem when dealing with a mostly read-bound task, while its write performance, while good, is not on par with the others.


#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.
#2 Daniel OConnell 2013-05-26 04:33
xfsdump and xfsrestore

Why I use xfs.

You have no rights to post comments