Filesystems speed comparison: ext2, ext3, ext4dev, reiserfs and xfs.
Posted by valqk on
Just a simple test for speed of ext2, ext3, ext4dev, reiserfs and xfs.
I've created a 5G lvm and did mkfs.* to it with all these systems.
lvm> lvcreate -L 5G -n speedtest tvg
mkfs (all default opts)
mount (no opts)
Then make dd if=/dev/zero of=a bs=G count=3
Then make dd if=a of=b
Here are the results:
It seems like ext3 is working best with big continious files currently.
Of course this is not a real life situation.
Maybe xfs and reiser will be better for a lot of small files? (reiser has it's glory about that).
Please let me know what you think!
I've created a 5G lvm and did mkfs.* to it with all these systems.
lvm> lvcreate -L 5G -n speedtest tvg
mkfs (all default opts)
mount (no opts)
Then make dd if=/dev/zero of=a bs=G count=3
Then make dd if=a of=b
Here are the results:
FS type | dd if=/dev/zero of=a speed | dd if=a of=b speed |
---|---|---|
ext2 | 3221225472 bytes (3.2 GB) copied, 225.283 s, 14.3 MB/s | 2047094784 bytes (2.0 GB) copied, 38.4914 s, 53.2 MB/s |
ext3 | 3221225472 bytes (3.2 GB) copied, 248.433 s, 13.0 MB/s | 1912479744 bytes (1.9 GB) copied, 52.1087 s, 36.7 MB/s |
ext4 | 3221225472 bytes (3.2 GB) copied, 281.699 s, 11.4 MB/s | 1918500864 bytes (1.9 GB) copied, 49.1343 s, 39.0 MB/s |
reiserfs | 3221225472 bytes (3.2 GB) copied, 248.827 s, 12.9 MB/s | 2108379136 bytes (2.1 GB) copied, 62.5061 s, 33.7 MB/s |
xfs | 3221225472 bytes (3.2 GB) copied, 426.823 s, 7.5 MB/s | 2132619264 bytes (2.1 GB) copied, 55.3356 s, 38.5 MB/s |
It seems like ext3 is working best with big continious files currently.
Of course this is not a real life situation.
Maybe xfs and reiser will be better for a lot of small files? (reiser has it's glory about that).
Please let me know what you think!
Trackbacks
Trackback specific URI for this entryThis link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.
No Trackbacks
Comments
Display comments as Linear | ThreadedNo comments