Benchmark using mongo (http://www.namesys.com/) Hardware: Duron 700 mhz, Ram 128 MB, ATA66 IDE drive 20 GB Software: Slackware 8.0, kernels are stock 2.4.14 + patch ext3-2.4-0.9.15-2414 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, jo : mke2fs -j -i 4096 mount -o data=journal 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 :). How to read the results: files = number of files created base_siez = median size of the files, dirs = numbers of directories created (subtract 1 for reiserfs) Create time, copy time,... etc are times in seconds. Lower is better. MONGO_SINGLE_PROCESS = one instance of the bench MONGO_MULTI_PROCESS (2 processes) = two simultaneous instances of the bench %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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| 418.34 616.88 1041.3 2119 1634.48 1509.08 212.61 ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 378.19 615.28 951.43 2108.77 1610.83 1437.93 194.02 ---------------|-------------------------------------------------------------- ext3/2.4.14, jo| 530.49 678.61 890.51 742.43 152.78 1142.88 176.88 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 484.4 527.26 888.35 723.06 153.25 1143.85 173.33 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 388.18 661.32 890.63 725.4 151.98 1168.44 176.77 ---------------|-------------------------------------------------------------- reiserfs | 50.38 152.84 111.41 607.87 219.86 89.43 96.33 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 239.68 392.58 582.5 694.53 150.46 508.32 130.27 ---------------|-------------------------------------------------------------- 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| 34.02 76.98 23.78 201.8 26.83 13.99 11.87 ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 32.33 76.85 19.8 201 26.46 13.2 11.19 ---------------|-------------------------------------------------------------- ext3/2.4.14, jo| 54.83 89.72 17.13 230.69 6.66 10.7 11.09 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 34.99 73.03 16.66 230.96 6.65 12.13 10.55 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 29.82 87.12 16.67 230.83 6.52 10.1 10.52 ---------------|-------------------------------------------------------------- reiserfs | 36.68 108.39 15.15 345.76 5.53 5.93 13.13 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 21.2 67.84 11.96 176.31 2.41 4.56 8.36 ---------------|-------------------------------------------------------------- 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| 20.74 42.09 1.43 104.08 0.51 0.75 5.57 ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 20.32 42.99 1.33 102.84 0.69 0.99 5.57 ---------------|-------------------------------------------------------------- ext3/2.4.14, jo| 34.83 54.51 1.58 109.58 0.86 0.86 5.62 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 18.83 42.47 1.39 110.17 0.87 0.83 5.55 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 17.92 48.75 1.42 110.79 0.85 0.72 5.53 ---------------|-------------------------------------------------------------- reiserfs | 20 61.84 1.26 180.13 0.64 0.72 1.51 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 14.01 40.65 1.11 100.76 0.18 0.68 5.51 ---------------|-------------------------------------------------------------- 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| 17.43 40.73 0.36 106.48 0.25 0.45 3.27 ---------------|-------------------------------------------------------------- ext3/2.2.19, wb| 18.25 40.9 0.34 107.25 0.27 0.27 3.04 ---------------|-------------------------------------------------------------- ext3/2.4.14, jo| 35.92 53.73 0.37 103.9 0.42 0.24 3.7 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 17.57 40.46 0.35 104.03 0.43 0.26 3.79 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 17.18 44.3 0.35 104.24 0.42 0.25 3.76 ---------------|-------------------------------------------------------------- reiserfs | 15.76 49.9 0.2 148.87 0.09 0.21 0.46 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 13.86 40.71 0.28 102.57 0.03 0.32 3.66 ---------------|-------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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| 720.11 * ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 950.36 * ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 785.47 * ---------------|-------------------------------------------------------------- reiserfs | 108.84 340.06 223.05 1705.35 567.57 192.29 257.97 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 485.39 * ---------------|-------------------------------------------------------------- * run out of spaces, so copy time, slink time ... are not accurate and hence not reported. Parameters: files=137064, base_size=1000 bytes, dirs=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| 65.27 180.55 40.9 493.8 61.56 28.48 34.61 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 74.8 194.15 37.15 555.59 64.31 30.92 45.28 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 65.86 217.38 39.02 580.93 64.04 26.46 44.53 ---------------|-------------------------------------------------------------- reiserfs | 85.4 267.79 31.82 1136.46 112.76 26.74 48.69 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 45.25 167.31 26.93 500.73 66.11 19.3 41.12 ---------------|-------------------------------------------------------------- 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| 44.46 101.76 3.3 282.95 5.61 1.69 25.95 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 41.21 102.55 2.72 273.52 2.26 1.53 28.01 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 39.91 122.29 2.74 271.71 2.07 1.39 27.36 ---------------|-------------------------------------------------------------- reiserfs | 44.59 151.07 2.53 518.28 1.7 1.18 4.38 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 31.15 109.93 2.16 260.43 1.73 0.91 28.14 ---------------|-------------------------------------------------------------- Parameters: files=2796, base_size=100000 bytes, dirs=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| 40.36 101.51 0.55 254.22 0.78 0.48 16.01 ---------------|-------------------------------------------------------------- ext3/2.4.14, od| 38.64 95.4 0.56 263.68 1.05 0.26 19.16 ---------------|-------------------------------------------------------------- ext3/2.4.14, wb| 38.66 119.04 0.58 257.83 1.08 0.41 18.96 ---------------|-------------------------------------------------------------- reiserfs | 35.12 131.76 0.5 466.59 0.34 0.37 1.03 ---------------|-------------------------------------------------------------- ext2/2.4.14 | 32.35 111.47 0.49 250.46 0.8 0.5 19.77 ---------------|--------------------------------------------------------------