Skip to contentSkip to conversation

Some kind of benchmark

DISCUSSION Marcel Hilzinger 3 participants 4 messages Jun 1, 2004 – Jun 2, 2004

lore
Share & tools
lore
#0 lore raw

I tested reiser3.6, reiser4 and ext3 with the compiled kernel source 2.6.5. I made 6 5 GB partitions at the end of a 60 GB disk and formatted always two of them with above file systems:
/hda6: reiser3
/hda7: ext3
/hda8: reiser4
/hda9: reiser3
/hda10: ext3
/hda11: reiser4

then I copied the compiled kernel source from one partition to another always within the same file system. The commands I used:
write: time cp -a linux-2.6.5/ /$FS
rewrite: time cp -a linux-2.6.5/ /$FS
delete: rm -r /$FS/linux-2.6.5

In one test I made these steps 7 times without breaks. And I made several tests. Here the results (just averages)

FS write rewrite delete
SUSE 9.1 with SUSE kernel:
ext3 01:25,81 01:34,02 00:05,54
reiser3 01:17,57 01:35,90 00:03,35
Same system with kernel 2.6.5
ext3 01:25,50 02:10,31 00:11,56
reiser3 01:21,91 01:58,18 00:06,67
reiser4 00:40,46 02:10,26 00:12,83

Yes, reiser4 is fast :-) !!

Question: Why may be rewriting and delete (almost 2 times) slower on 2.6.5 kernel than on SUSE 2.6.4 kernel?

Marcel

u.i. Tests with big files will follow :-)

Signature · 2 lines
Üdvözlettel -- Mit freundlichen Grüssen,
Marcel Hilzinger
#1 lore raw

Hello

Quoted 29 lines · Marcel Hilzinger

I tested reiser3.6, reiser4 and ext3 with the compiled kernel source 2.6.5. I made 6 5 GB partitions at the end of a 60 GB disk and formatted always two of them with above file systems:
/hda6: reiser3
/hda7: ext3
/hda8: reiser4
/hda9: reiser3
/hda10: ext3
/hda11: reiser4

then I copied the compiled kernel source from one partition to another always within the same file system. The commands I used:
write: time cp -a linux-2.6.5/ /$FS
rewrite: time cp -a linux-2.6.5/ /$FS
delete: rm -r /$FS/linux-2.6.5

In one test I made these steps 7 times without breaks. And I made several tests. Here the results (just averages)

FS write rewrite delete
SUSE 9.1 with SUSE kernel:
ext3 01:25,81 01:34,02 00:05,54
reiser3 01:17,57 01:35,90 00:03,35
Same system with kernel 2.6.5
ext3 01:25,50 02:10,31 00:11,56
reiser3 01:21,91 01:58,18 00:06,67
reiser4 00:40,46 02:10,26 00:12,83

Quoted 5 lines

Yes, reiser4 is fast :-) !!

Question: Why may be rewriting and delete (almost 2 times) slower on 2.6.5 kernel than on SUSE 2.6.4 kernel?

Suse kernel differs from stock one substantially. I guess. So, it is very likely that those changes (which are not reiserfs only, certainly) are responsible for that difference.
When suse experts will wake up they will say more details about what might cause overwrite speedup

Quoted 3 lines

Marcel

u.i. Tests with big files will follow :-)

#2 lore raw
Quoted 5 lines · Vladimir Saveliev

Suse kernel differs from stock one substantially. I guess. So, it is very likely that those changes (which are not reiserfs only, certainly) are responsible for that difference.
When suse experts will wake up they will say more details about what might cause overwrite speedup

Well, the suse kernel has a lot of patches that are supposed to make things faster. Try benchmarking against 2.6.6 or 2.6.7-rc1, which has most of them included.

-chris

#3 lore raw

2004. június 2. 15.16 dátummal Chris Mason ezt írta:

Quoted 10 lines · Vladimir Saveliev
Quoted 5 lines

Suse kernel differs from stock one substantially. I guess. So, it is very likely that those changes (which are not reiserfs only, certainly) are responsible for that difference.
When suse experts will wake up they will say more details about what might cause overwrite speedup

Well, the suse kernel has a lot of patches that are supposed to make things faster. Try benchmarking against 2.6.6 or 2.6.7-rc1, which has most of them included.

I tried to build 2.6.7-rc1 (with patch from auto-snapshot), but I got this error message:

CC fs/reiser4/plugin/object.o
fs/reiser4/plugin/object.c: In function `delete_inode_common':
fs/reiser4/plugin/object.c:979: error: structure has no member named `i_sb_list'
make[2]: *** [fs/reiser4/plugin/object.o] Error 1 make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

Thanks.
Marcel

Signature · 2 lines
Üdvözlettel -- Mit freundlichen Grüssen,
Marcel Hilzinger