Benchmark using mongo (http://www.namesys.com/). Hardware: Duron 700 mhz, Ram 512 MB, ATA66 IDE drive 20 GB Software: Slackware 8.0, kernels are stock 2.4.14 + patch ext3, and stock 2.2.19 + patch ext3 0.0.07a e2fsprogs 1.25, mkreiserfs 3.x.0j ext3 bultin and reiserfs-3.6 (only for 2.4.14) in module Configuration: the test partition is /dev/hda10, 3.6 GB. hdparm -d1 -c1 -m8 -u1 /dev/hda reisersfs: mkreiserfs, mount -t reiserfs ext2 : mke2fs -i 4096, mount ext3, od : mke2fs -j -i 4096 mount ext3, wb : mke2fs -j -i 4096 mount -o data=writeback journal size is 32 MB for both ext3 and reiserfs During the bench, nothing else is running except syslogd, klogd, inetd, atd and the kernel :). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MONGO_SINGLE_PROCESS BENCHMARK RESULTS (time in sec.) Parameters: files=403770, base_size=100 bytes, dirs=746 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 360.83 612.17 1000.91 1972.13 1626.66 1480.64 206.51 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 552.68 594.7 1074.96 675.6 33.8 1056.47 166.56 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 537.12 581.95 1021.84 676 33.63 1185.84 166.68 ---------------|-------------------------------------------------------------- reiserfs | 48.79 141.86 106.24 486.92 30.18 35.43 84.93 ---------------|-------------------------------------------------------------- ext2 | 228.29 355.8 571.38 621.82 24.28 482.43 117.64 ---------------|-------------------------------------------------------------- Parameters: files=68532, base_size=1000 bytes, dirs=242 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 30.65 63.77 19.61 173.96 21.37 13.77 7.42 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 32.56 64.78 16.54 212.7 4.31 10.2 10.77 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 23.35 62.35 17.87 212.34 4.41 11.65 10.75 ---------------|-------------------------------------------------------------- reiserfs | 24.31 91.72 15.17 341.19 4.35 5.25 12.83 ---------------|-------------------------------------------------------------- ext2 | 14.22 50.87 12.08 166.97 1.71 4.14 8.16 ---------------|-------------------------------------------------------------- Parameters: files=7584, base_size=10000 bytes, dirs=44 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 16.76 32.85 1.29 106.87 0.21 0.71 0.74 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 16.77 30.27 1.52 60.6 0.72 0.72 5.75 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 10.16 23.24 1.52 75.99 0.69 0.8 5.66 ---------------|-------------------------------------------------------------- reiserfs | 9.85 29.08 1.3 140.19 0.59 0.68 1.65 ---------------|-------------------------------------------------------------- ext2 | 7.1 19 1.06 74.36 0.18 0.61 5.59 ---------------|-------------------------------------------------------------- Parameters: files=1398, base_size=100000 bytes, dirs=32 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 11.04 29.51 0.36 102.21 0.11 0.23 0.93 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 15.41 29.47 0.35 65.41 0.36 0.15 3.88 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 10.17 23.86 0.37 78.92 0.37 0.22 3.85 ---------------|-------------------------------------------------------------- reiserfs | 9.45 28.14 0.26 115.78 0.13 0.17 0.54 ---------------|-------------------------------------------------------------- ext2 | 8.13 21.77 0.36 79.74 0.03 0.42 3.8 ---------------|-------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MONGO_MULTI_PROCESS (2 processes) BENCHMARK RESULTS (time in sec.) Parameters: files=807540, base_size=100 bytes, dirs=1489 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| ---------------|-------------------------------------------------------------- ext3/2.4.14, od| NA (out of space) ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| NA (out of space) ---------------|-------------------------------------------------------------- reiserfs | 109.99 330.4 229.72 1620.07 544.81 179.91 256.11 ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- Parameters: files=137064, base_size=1000 bytes, dirs=481-482 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 56.47 161.34 35.88 504.51 15.93 19.35 36.07 ---------------|-------------------------------------------------------------- reiserfs | 77.39 226.17 31.21 964.69 15.75 10.46 40.17 ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- Parameters: files=15168, base_size=10000 bytes, dirs=86 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 30.41 96.74 3.02 298.76 1.91 1.28 24.6 ---------------|-------------------------------------------------------------- reiserfs | 34.92 115.19 2.34 514.85 1.52 1.12 4.35 ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- Parameters: files=2796, base_size=100000 bytes, dirs=61-62 |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.2.19, od| ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 31.98 92.66 0.51 252.95 0.91 0.33 17.31 ---------------|-------------------------------------------------------------- reiserfs | 28.62 95.7 0.43 452.24 0.29 0.27 1.54 ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% RATIO DOUBLE_PROCESS/MONO_PROCESS parameters: base_size=100 bytes |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| ---------------|-------------------------------------------------------------- reiserfs | ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- parameters: base_size=1000 bytes |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 2.42 2.59 2.01 2.38 3.61 1.66 3.36 ---------------|-------------------------------------------------------------- reiserfs | 3.18 2.47 2.06 2.83 3.62 1.99 3.13 ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- parameters: base_size=10000 bytes |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| ---------------|-------------------------------------------------------------- reiserfs | ---------------|-------------------------------------------------------------- ext2 | ---------------|-------------------------------------------------------------- parameters: base_size=100000 bytes |-------------------------------------------------------------- | Create Copy Slink Read Stats Rename Delete | time time time time time time time ---------------|-------------------------------------------------------------- ext3/2.4.14, od| ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| ---------------|-------------------------------------------------------------- reiserfs | ---------------|-------------------------------------------------------------- ext2 | ---------------|--------------------------------------------------------------