ext3 htree vs. reiserfs on 2.5.40-mm1
Am Mittwoch, 2. Oktober 2002 10:48 schrieb Paul P Komkoff Jr:
Quoted 30 lines
Replying to Andreas Dilger:
Quoted 2 lines
Why do you think data=writeback is better than data=journal? If the files have no data then it should not make a difference.
It is better than default data=ordered I think :)
Thanks for detailed explanation - it saved much time for me and accortind to yours directions I have recalculated my test. Now ext3 is better :)
e3
create 2m49.545s 0m4.162s 2m20.766s delete 2m8.155s 0m3.614s 1m34.945sreiser
create 3m13.577s 0m4.338s 2m54.026s delete 4m39.249s 0m3.968s 4m16.297se3
create 2m50.766s 0m4.024s 2m21.197s delete 2m8.755s 0m3.501s 1m35.737sreiser
create 3m13.015s 0m4.432s 2m53.412s delete 4m41.011s 0m3.893s 4m16.845sthis is two typical runs. Now I creating ext3 with mke2fs -j -O
dir_index-J size=192 -T news/dev/sda4
Quoted 7 lines
as you can see, this improves performance by 1/4
Unfortunately, there still one issue in ext3. It called "inode limit". Initially I wanted to run this test on 1000000 files but ... I hit inode limit and don't want to increase it artificially yet.
Reiserfs worked fine because it don't have such kind of limit ...
Orange and apples, again?
Try with latest ReiserFS data-logging and see what we get? Chris do you have something for 2.5.40+ ready?
2.5.40 is GREAT!
Regards,
Dieter
Signature · 6 lines
Dieter Nützel Graduate Student, Computer Science University of Hamburg Department of Computer Science @home: Dieter.Nuetzel at hamburg.de (replace at with @)
2.5.40 (was Re: ext3 htree vs. reiserfs on 2.5.40-mm1
(OK, a bit off-topic for the list, but.. ;)
Quoted 1 line · On Fri, 04 Oct 2002 22:54:23 +0200, Dieter =?iso-8859-15?q?N=FCtzel?= said:
2.5.40 is GREAT!
2.5.40 would be even greater if somebody could point me at a suitable replacement for the LVM code I'm currently using - the Sistina people have LVM 1.0.5 out for the 2.4 series, but apparently stopped supporting 2.5 a while ago. Is anybody using the LVM2 stuff, or is there some other similar things for 2.5?
Signature · 3 lines
Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
Re: 2.5.40 (was Re: ext3 htree vs. reiserfs on 2.5.40-mm1
Quoted 10 lines · On October 4, 2002 05:28 pm, [email protected] wrote:
(OK, a bit off-topic for the list, but.. ;)
Quoted 1 line · On Fri, 04 Oct 2002 22:54:23 +0200, Dieter =?iso-8859-15?q?N=FCtzel?= said:
2.5.40 is GREAT!
2.5.40 would be even greater if somebody could point me at a suitable replacement for the LVM code I'm currently using - the Sistina people have LVM 1.0.5 out for the 2.4 series, but apparently stopped supporting 2.5 a while ago. Is anybody using the LVM2 stuff, or is there some other similar things for 2.5?
Look up EVMS. It can support your lvm1 volumes and more. They are pushing for inclusion in 2.5 and have code for 2.5.40. Having used both lvm1 and evms I perfer evms.
Ed
Re: 2.5.40 (was Re: ext3 htree vs. reiserfs on 2.5.40-mm1
Quoted 3 lines · Ed Tomlinson
Look up EVMS. It can support your lvm1 volumes and more. They are pushing for inclusion in 2.5 and have code for 2.5.40. Having used both lvm1 and evms I perfer evms.
I owe you a beer if you're ever in this corner of Virginia - that was the only thing keeping me from testing 2.5.N ;)
/Valdis (who now has enough pieces to go test 2.5.40 ;)
Re: 2.5.40 (was Re: ext3 htree vs. reiserfs on 2.5.40-mm1
In reply to [email protected]Quoted 5 lines · On Oct 04, 2002 17:28 -0400, [email protected] wrote:
2.5.40 would be even greater if somebody could point me at a suitable replacement for the LVM code I'm currently using - the Sistina people have LVM 1.0.5 out for the 2.4 series, but apparently stopped supporting 2.5 a while ago. Is anybody using the LVM2 stuff, or is there some other similar things for 2.5?
EVMS has a 2.5 release (and BK tree) to test.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
Quoted 5 lines · Dieter N?tzel
Am Mittwoch, 2. Oktober 2002 10:48 schrieb Paul P Komkoff Jr:
Quoted 4 lines
Replying to Andreas Dilger:
Quoted 2 lines
Why do you think data=writeback is better than data=journal? If the files have no data then it should not make a difference.
Quoted 7 lines
Quoted 2 lines
It is better than default data=ordered I think :) Reiserfs worked fine because it don't have such kind of limit ...
Orange and apples, again?
Try with latest ReiserFS data-logging and see what we get? Chris do you have something for 2.5.40+ ready?
I don't think it will make much difference - the files being created are zero-length files so the journaling mode is irrelevant.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
Hello!
Quoted 4 lines · Andreas Dilger
Quoted 2 lines
Try with latest ReiserFS data-logging and see what we get? Chris do you have something for 2.5.40+ ready?
I don't think it will make much difference - the files being created are zero-length files so the journaling mode is irrelevant.
The mode is unerlevend indeed, but there are other fixes in hose pathces that prevent too frequent updates to disk and similar stuff, and that might help.
Bye,
Oleg
Quoted 9 lines · Andreas Dilger
Quoted 8 lines · Dieter N?tzel
Am Mittwoch, 2. Oktober 2002 10:48 schrieb Paul P Komkoff Jr:
Quoted 6 lines
Replying to Andreas Dilger:
Quoted 2 lines
Why do you think data=writeback is better than data=journal? If the files have no data then it should not make a difference.
It is better than default data=ordered I think :) Reiserfs worked fine because it don't have such kind of limit ...
Quoted 7 lines
Quoted 4 lines
Orange and apples, again?
Try with latest ReiserFS data-logging and see what we get? Chris do you have something for 2.5.40+ ready?
I don't think it will make much difference - the files being created are zero-length files so the journaling mode is irrelevant.
The data logging patches have a bunch of other metadata writeback optimizations. It helps most for small transactions, but improves things for all metadata workloads. Updated 2.4.20-preX patches should finally go out today, and then I'll start on 2.5
-chris
Quoted 6 lines · Chris Mason
Quoted 4 lines · Andreas Dilger
Quoted 2 lines · Dieter N?tzel
Am Mittwoch, 2. Oktober 2002 10:48 schrieb Paul P Komkoff Jr:
[...]
Quoted 5 lines
The data logging patches have a bunch of other metadata writeback optimizations. It helps most for small transactions, but improves things for all metadata workloads. Updated 2.4.20-preX patches should finally go out today, and then I'll start on 2.5
^^^^^ ?
Sorry, Chris & list!
Somehow, I don't like these kinds of announcements<->reality relation @reiserfs-list until now. These patches have been announced 2 weeks ago already, IIRC.
Mmh. If I didn't follow my announced timelines, I would keep getting serious problems here... ;-) How Do _you_ solve this? Any hints?!
But, best wishes for your "hidden" work, Chris, I still believe...
Manuel
Quoted 48 lines · Dieter Nützel
Am Mittwoch, 2. Oktober 2002 10:48 schrieb Paul P Komkoff Jr:
Quoted 33 lines
Replying to Andreas Dilger:
Quoted 4 lines
Why do you think data=writeback is better than data=journal? If the files have no data then it should not make a difference.
It is better than default data=ordered I think :)
Thanks for detailed explanation - it saved much time for me and accortind to yours directions I have recalculated my test. Now ext3 is better :)
e3
create 2m49.545s 0m4.162s 2m20.766s delete 2m8.155s 0m3.614s 1m34.945sreiser
create 3m13.577s 0m4.338s 2m54.026s delete 4m39.249s 0m3.968s 4m16.297se3
create 2m50.766s 0m4.024s 2m21.197s delete 2m8.755s 0m3.501s 1m35.737sreiser
create 3m13.015s 0m4.432s 2m53.412s delete 4m41.011s 0m3.893s 4m16.845sthis is two typical runs. Now I creating ext3 with mke2fs -j -O
dir_index-J size=192 -T news/dev/sda4Quoted 9 lines
as you can see, this improves performance by 1/4
Unfortunately, there still one issue in ext3. It called "inode limit". Initially I wanted to run this test on 1000000 files but ... I hit inode limit and don't want to increase it artificially yet.
Reiserfs worked fine because it don't have such kind of limit ...
Orange and apples, again?
Quoted 9 lines
Try with latest ReiserFS data-logging and see what we get? Chris do you have something for 2.5.40+ ready?
2.5.40 is GREAT!
Regards,
Dieter
So, I think that if you create enough files in your test to stress the IO subsystem, then it will be a much more interesting test. Unfortunately, you may need to increase the inode allocation to test this for ext3. Once you start to get above a million files, you may start to see reiser4 doing substantially better than ReiserFS because reiser4 has better layout and better hashes based on things we learned.
I would be curious to see your benchmark done for 3 million files. I would be curious to see what happens if you umount in the middle of it. I would not be surprised if interesting VFS/dcache performance issues arise as you increase the number of files.
Hans