Ext4 & Reiserfs on SSD's.
Some quick benchmarks on intel 160GB X25MG2 SSD’s.
kernel/CPU: 2.6.30-gentoo-r5-jba SMP x86_64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz
8GB ram.
Reiserfs3 - mounted noatime,notail
Iozone: Performance Test of File I/O
Version $Revision: 3.242 $
Compiled for 64 bit mode.
Build: linux-AMD64
File size set to 4194304 KB
Command line used: iozone -i 0 -i 1 -i 2 -i 8 -s 4g -T -t 8
Output is in Kbytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
Throughput test with 8 threads
Each thread writes a 4194304 Kbyte file in 4 Kbyte records
Children see throughput for 8 initial writers = 61101.19 KB/sec
Parent sees throughput for 8 initial writers = 57125.55 KB/sec
Min throughput per thread = 7530.33 KB/sec
Max throughput per thread = 7807.92 KB/sec
Avg throughput per thread = 7637.65 KB/sec
Min xfer = 4045580.00 KB
Children see throughput for 8 rewriters = 74848.94 KB/sec
Parent sees throughput for 8 rewriters = 71199.23 KB/sec
Min throughput per thread = 8963.19 KB/sec
Max throughput per thread = 9515.42 KB/sec
Avg throughput per thread = 9356.12 KB/sec
Min xfer = 3957812.00 KB
Children see throughput for 8 readers = 158825.32 KB/sec
Parent sees throughput for 8 readers = 158791.71 KB/sec
Min throughput per thread = 19193.56 KB/sec
Max throughput per thread = 20547.99 KB/sec
Avg throughput per thread = 19853.17 KB/sec
Min xfer = 3918040.00 KB
Children see throughput for 8 re-readers = 158708.94 KB/sec
Parent sees throughput for 8 re-readers = 158704.51 KB/sec
Min throughput per thread = 19120.12 KB/sec
Max throughput per thread = 20508.09 KB/sec
Avg throughput per thread = 19838.62 KB/sec
Min xfer = 3910640.00 KB
Children see throughput for 8 random readers = 23774.80 KB/sec
Parent sees throughput for 8 random readers = 23774.78 KB/sec
Min throughput per thread = 2926.13 KB/sec
Max throughput per thread = 3008.89 KB/sec
Avg throughput per thread = 2971.85 KB/sec
Min xfer = 4078960.00 KB
Children see throughput for 8 mixed workload = 28536.36 KB/sec
Parent sees throughput for 8 mixed workload = 14926.81 KB/sec
Min throughput per thread = 435.04 KB/sec
Max throughput per thread = 6711.12 KB/sec
Avg throughput per thread = 3567.05 KB/sec
Min xfer = 271916.00 KB
Children see throughput for 8 random writers = 15303.75 KB/sec
Parent sees throughput for 8 random writers = 14034.36 KB/sec
Min throughput per thread = 1819.47 KB/sec
Max throughput per thread = 2029.91 KB/sec
Avg throughput per thread = 1912.97 KB/sec
Min xfer = 3760396.00 KB
Impressive numbers for a single disk. Lets reboot and try ext4:
Ext4 - mounted noatime.
Iozone: Performance Test of File I/O
Version $Revision: 3.242 $
Compiled for 64 bit mode.
Build: linux-AMD64File size set to 4194304 KB
Command line used: iozone -i 0 -i 1 -i 2 -i 8 -s 4g -T -t 8
Output is in Kbytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
Throughput test with 8 threads
Each thread writes a 4194304 Kbyte file in 4 Kbyte records
Children see throughput for 8 initial writers = 85482.47 KB/sec
Parent sees throughput for 8 initial writers = 80251.25 KB/sec
Min throughput per thread = 10531.94 KB/sec
Max throughput per thread = 10864.75 KB/sec
Avg throughput per thread = 10685.31 KB/sec
Min xfer = 4074460.00 KB
Children see throughput for 8 rewriters = 86177.18 KB/sec
Parent sees throughput for 8 rewriters = 82111.56 KB/sec
Min throughput per thread = 10513.65 KB/sec
Max throughput per thread = 10934.69 KB/sec
Avg throughput per thread = 10772.15 KB/sec
Min xfer = 4034124.00 KB
Children see throughput for 8 readers = 204948.09 KB/sec
Parent sees throughput for 8 readers = 204939.78 KB/sec
Min throughput per thread = 24093.42 KB/sec
Max throughput per thread = 26962.13 KB/sec
Avg throughput per thread = 25618.51 KB/sec
Min xfer = 3748208.00 KB
Children see throughput for 8 re-readers = 204779.97 KB/sec
Parent sees throughput for 8 re-readers = 204773.56 KB/sec
Min throughput per thread = 24575.53 KB/sec
Max throughput per thread = 26576.83 KB/sec
Avg throughput per thread = 25597.50 KB/sec
Min xfer = 3878512.00 KB
Children see throughput for 8 random readers = 24021.99 KB/sec
Parent sees throughput for 8 random readers = 24021.97 KB/sec
Min throughput per thread = 2921.63 KB/sec
Max throughput per thread = 3147.33 KB/sec
Avg throughput per thread = 3002.75 KB/sec
Min xfer = 3893532.00 KB
Children see throughput for 8 mixed workload = 29208.05 KB/sec
Parent sees throughput for 8 mixed workload = 17254.51 KB/sec
Min throughput per thread = 600.59 KB/sec
Max throughput per thread = 6995.75 KB/sec
Avg throughput per thread = 3651.01 KB/sec
Min xfer = 360140.00 KB
Children see throughput for 8 random writers = 20168.78 KB/sec
Parent sees throughput for 8 random writers = 18795.65 KB/sec
Min throughput per thread = 2435.23 KB/sec
Max throughput per thread = 2640.73 KB/secAvg throughput per thread = 2521.10 KB/sec
Min xfer = 3878940.00 KB
In short, EXT4 kinda kicks reiserfs’s butt for standard IO benchmarks. I’ll update soon with some large directory/file benchmarks, where i think reiserfs is more likely to hold its own.