On Saturday 20 November 2004 20:02, you wrote:
> Christian Mayrhuber wrote:
>
> >Hi,
> >
> >I did some runs of mongo to see how the journaling filesystems compare to
each
> >other on a recent kernel.
> >My focus has been how the fs's compare with enabled acls and xattrs.
> >
> >Summary:
> >--------
> >1) data=ordered + acl: reiserfs is best for writing, ext3 for reading.
> > I guess reiserfs becomes slow on reading with acls because it has to
> > open two files?
> > Reiserfs halfes the stat performance when acl's are enabled.
> >2) No data=ordered, but acl: jfs seems to be best.
> > I also tried jfs with the case-insensitive mount option, with
neglectable
> > different results.
> > xfs cannot win over jfs, even for large files.
> >3) data=ordered, no acl: reiserfs outperforms even jfs
> >
> >I've been using the ck "overloaded" patch to get reiser4 into the stable
> >kernel. Reiser4 is the one from 2.6.9-mm1 and it's in just for curiosity.
> >Reiser4 is best on space, but slow on modify, overwrite and delete
> >
> >
> I don't think the modify phase is legitimately designed. Real
> applications are not fully random in what they modify, and if they are,
> it requires a repacker to fix it right. That is why we don't use it for
> general purpose benchmarking. Nikita disagrees with me.
I ran "dbench -c client_oplocks.txt" (no sync) with 50 clients.
DBench-2.0 and client_oplocks.txt are from a debian sarge install.
The mount options are "noatime,nodiratime".
Tests run, again on /dev/loop0.
reiserfs: Throughput 5.92739 MB/sec 50 procs
ext3: Throughput 6.41044 MB/sec 50 procs
jfs: Throughput 5.92622 MB/sec 50 procs
jfs, case insensitive: Throughput 6.23852 MB/sec 50 procs
xfs: Throughput 6.08939 MB/sec 50 procs
reiser4: crash, after spawning around 10 of the 50 clients.
> To make
> reiser4 fast at deletes, use -o extent40.
Hmm, "mkfs.reiser4 -q -o extent=extent40" does not help much for deletes.
As DELETE is horribly slow I guess its a bad interaction between
/dev/loop0 and reiser4, or it's the -cko3 kernel patch.
--
lg, Chris
- reiser4
- 2.6.9-cko3
- mem total
- 516532
- machine
- byblos
- kernel
- 2.6.9-k7-cko3 #1 Fri Nov 19 20:13:50 CET 2004
- date
- Fre 19 Nov 2004 21:37:51 CET
- .config
- PLEASE take care to make .config file available when you publish benchmark results. At namesys, .config should be stored somewhere in the internal benchmark directory (intbenchmarks/mongo/), and link to it is added to the resulting html document.
|
| A. FSTYPE=reiserfs MKFS=mkfs.reiserfs -q MOUNT_OPTIONS="user_xattr,acl,attrs" |
| B. FSTYPE=ext3 MKFS=mkfs.ext3 -q -O dir_index,filetype,has_journal,sparse_super -q MOUNT_OPTIONS="user_xattr,acl" |
| C. FSTYPE=xfs MKFS=mkfs.xfs -f MOUNT_OPTIONS="defaults" |
| D. FSTYPE=jfs MKFS=mkfs.jfs -q MOUNT_OPTIONS="defaults" |
| E. FSTYPE=reiserfs MKFS=mkfs.reiserfs -q MOUNT_OPTIONS="notail,nouser_xattr,noacl,noattrs,nodiratime,noatime" |
| F. FSTYPE=ext3 MKFS=mkfs.ext3 -q -O dir_index,filetype,has_journal,sparse_super -q MOUNT_OPTIONS="noatime,nouser_xattr,noacl" |
| G. FSTYPE=reiser4 MKFS=mkfs.reiser4 -q MOUNT_OPTIONS="defaults" |
| H.INFO_R4=2.6.9-cko3 FSTYPE=reiser4 MKFS=mkfs.reiser4 -q -o extent=extent40 MOUNT_OPTIONS="defaults" |
| #0:FSTYPE=reiserfs MKFS=mkfs.reiserfs -q MOUNT_OPTIONS="user_xattr,acl,attrs" |
|
REAL_TIME |
CPU_TIME |
CPU_UTIL |
DF |
|
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
| CREATE |
336.71 |
0.969 |
0.649 |
0.612 |
0.711 |
0.711 |
0.403 |
0.431 |
38.11 |
0.701 |
0.645 |
0.447 |
0.896 |
0.697 |
1.134 |
1.186 |
17.57 |
0.894 |
1.451 |
1.204 |
1.311 |
1.176 |
2.739 |
2.653 |
3563436 |
1.031 |
1.018 |
1.027 |
1.012 |
1.031 |
0.978 |
0.978 |
| COPY |
446.56 |
1.175 |
1.089 |
0.969 |
0.808 |
1.135 |
0.866 |
0.913 |
47.25 |
0.680 |
0.777 |
0.516 |
0.931 |
0.655 |
1.255 |
1.311 |
19.29 |
0.736 |
0.923 |
0.815 |
1.160 |
0.730 |
1.354 |
1.319 |
7126920 |
1.031 |
1.018 |
1.027 |
1.012 |
1.031 |
0.978 |
0.978 |
| APPEND |
1044.31 |
1.045 |
0.935 |
0.867 |
0.868 |
1.019 |
0.980 |
0.970 |
47.25 |
0.616 |
0.581 |
0.424 |
0.864 |
0.606 |
1.423 |
1.406 |
8.52 |
0.829 |
0.982 |
0.905 |
1.062 |
0.836 |
1.561 |
1.527 |
10491608 |
1.020 |
1.009 |
1.015 |
1.006 |
1.020 |
1.007 |
1.007 |
| MODIFY |
1509.01 |
1.057 |
0.840 |
0.809 |
0.850 |
0.925 |
1.468 |
1.476 |
15.48 |
0.716 |
0.924 |
0.522 |
0.693 |
0.641 |
1.392 |
1.410 |
2.60 |
1.015 |
1.285 |
1.227 |
1.038 |
1.008 |
2.642 |
3.142 |
10492004 |
1.020 |
1.009 |
1.015 |
1.006 |
1.020 |
1.007 |
1.007 |
| OVERWRITE |
1548.84 |
1.245 |
0.816 |
0.788 |
0.811 |
1.211 |
1.731 |
1.742 |
44.71 |
0.817 |
0.838 |
0.611 |
0.874 |
0.780 |
1.483 |
1.503 |
7.99 |
0.900 |
1.235 |
1.069 |
1.163 |
0.795 |
0.758 |
0.772 |
10492736 |
1.020 |
1.009 |
1.015 |
1.006 |
1.020 |
0.997 |
0.997 |
| READ |
1631.94 |
0.465 |
0.524 |
0.627 |
0.419 |
0.432 |
0.631 |
0.646 |
30.05 |
0.720 |
0.936 |
0.662 |
0.865 |
0.649 |
1.426 |
1.410 |
6.68 |
1.672 |
1.585 |
1.274 |
1.811 |
1.626 |
1.412 |
1.385 |
10492736 |
1.020 |
1.009 |
1.015 |
1.006 |
1.020 |
0.997 |
0.997 |
| STATS |
142.18 |
0.224 |
0.400 |
0.703 |
0.493 |
0.224 |
0.600 |
0.609 |
4.83 |
0.874 |
1.932 |
0.839 |
0.907 |
0.828 |
1.215 |
1.190 |
5.70 |
2.674 |
3.528 |
1.063 |
1.337 |
2.582 |
1.411 |
1.375 |
10492736 |
1.020 |
1.009 |
1.015 |
1.006 |
1.020 |
0.997 |
0.997 |
| DELETE |
45.45 |
8.237 |
1.696 |
1.726 |
0.501 |
7.788 |
15.589 |
15.570 |
18.12 |
0.638 |
1.848 |
0.482 |
0.998 |
0.571 |
2.161 |
2.113 |
41.06 |
0.120 |
1.331 |
0.444 |
1.929 |
0.092 |
0.158 |
0.155 |
0 |
0/0 |
63400/0 |
9068/0 |
0/0 |
0/0 |
4/0 |
8/0 |
| #1:DD_MBCOUNT=9216 |
|
REAL_TIME |
CPU_TIME |
CPU_UTIL |
DF |
|
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
A | B/A | C/A | D/A | E/A | F/A | G/A | H/A |
| dd_writing_largefile |
1625.04 |
0.862 |
0.915 |
1.009 |
0.872 |
0.874 |
0.774 |
0.756 |
108.98 |
1.410 |
0.809 |
1.063 |
0.979 |
1.469 |
1.044 |
1.057 |
17.53 |
1.396 |
1.015 |
1.052 |
1.127 |
1.354 |
1.270 |
1.329 |
9446568 |
1.000 |
1.006 |
1.000 |
1.000 |
1.000 |
0.999 |
0.999 |
| dd_reading_largefile |
891.95 |
0.942 |
1.078 |
0.950 |
0.945 |
0.934 |
0.936 |
0.931 |
88.07 |
0.869 |
0.841 |
0.856 |
0.972 |
0.862 |
0.945 |
0.960 |
22.70 |
1.022 |
0.924 |
1.004 |
1.048 |
1.012 |
1.140 |
1.156 |
9446568 |
1.000 |
1.006 |
1.000 |
1.000 |
1.000 |
0.999 |
0.999 |
|
|
| | NPROC=1 DIR=/mnt SYNC=off REP_COUNTER=3 GAMMA=0.2 DEV=/dev/loop0 DD_MBCOUNT=9216 WRITE_BUFFER=4096 BYTES=1000000000 FILE_SIZE=16900 |
| Produced by Mongo benchmark suite. |
|