Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux Filesystem Benches inside
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ulukay
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2002
Posts: 143

PostPosted: Tue Apr 08, 2003 9:44 pm    Post subject: Linux Filesystem Benches inside Reply with quote

hello

i've tested some linux filesystems (if someone is interested)

ext2, ext3, xfs, jfs, reiserfs and reiser4

Testsystem: Gentoo 1.4 RC3, gcc 3.2.2-r2, kernel 2.5.60 with reiser4 Patch, Barton@2220mhz, 1024MB Ram and an IBM DJNA 15GB 5400rpm HDD as test drive

i've tested:
copy of 50000 2kb files from a second partition to the test filesystem
copy of 50000 2kb files from the test filesystem to the test filesystem
delete of 50000 2kb files on the test filesystem

copy of 1 500mb file from a second partition to the test filesystem
copy of 1 500mb file from the test filesystem to the test filesystem
delete of 1 500mb file on the test filesystem

[img:a9dc34370d]http://www.ulukay.devisland.net/linux-fs-benches.gif[/img:a9dc34370d]

i hope the image works
if it does not, pls start a new IE and copy this url http://www.ulukay.devisland.net/linux-fs-benches.gif
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Tue Apr 08, 2003 11:23 pm    Post subject: Reply with quote

Wow! Fabulous. Thanks.

Reiser4 looks like the wave of the future. The big deletes take a little longer but that graph is an order of magnitude smaller than the others.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
geoffs
n00b
n00b


Joined: 15 Feb 2003
Posts: 35
Location: Canada

PostPosted: Tue Apr 08, 2003 11:56 pm    Post subject: Reply with quote

so anyone want to fill me in with the easiest way to convert my HD to reiser4 :) I like gentoo...but I sure do waste a lot of time playing around with it.
_________________
CAT
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Wed Apr 09, 2003 3:03 am    Post subject: Reply with quote

Nice graphs.

Reiser 4 is pretty new, I'd stick with Reiser 3 for now.
Back to top
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Wed Apr 09, 2003 12:35 pm    Post subject: Reply with quote

thank you for testing.

IE? no offence, but please don´t use this word in the gentoo forums.

Anyway, did you test ext3 in writeback mode? What about reiserfs with the -notail flag? I heard this should improve performance.
Back to top
View user's profile Send private message
Ulukay
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2002
Posts: 143

PostPosted: Wed Apr 09, 2003 5:35 pm    Post subject: Reply with quote

i simply benched all FS with the "out of the box" configs
mount /dev/hda4 /test :D
(always the same partition of course)

is someone want that i bench with special mount options i could rebench it :D
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Wed Apr 09, 2003 7:41 pm    Post subject: Reply with quote

Ulukay wrote:

is someone want that i bench with special mount options i could rebench it :D


"noatime" for everybody. Reisers get "notail" (poor Reiser :) ).
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Wed Apr 09, 2003 9:13 pm    Post subject: Reply with quote

is there a way to convert a reiserfs3 fs to reiserfs4 without loosing data ?
I would like to bench it on my laptop. 8)
nice graph btw.
_________________
every step aim at glory.
Back to top
View user's profile Send private message
Ulukay
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2002
Posts: 143

PostPosted: Wed Apr 09, 2003 9:41 pm    Post subject: Reply with quote

magnet wrote:
is there a way to convert a reiserfs3 fs to reiserfs4 without loosing data ?
I would like to bench it on my laptop. 8)
nice graph btw.


reiser4 is NOT final
there's a high risk of data loss/coruption!!!!
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Wed Apr 09, 2003 9:43 pm    Post subject: Reply with quote

the braves,do no fear the grave. 8)
_________________
every step aim at glory.
Back to top
View user's profile Send private message
Ari Rahikkala
Guru
Guru


Joined: 02 Oct 2002
Posts: 370
Location: Finland

PostPosted: Fri Apr 11, 2003 4:44 pm    Post subject: Reply with quote

Hmm... I'd expect the time to delete files to be reduced as bugs are ironed out from ReiserFS - the time it takes to delete one large file is so long that it's unlikely to be caused by anything fundamental in the operation of the filesystem. And once whatever causes that is fixed, the performance might increase for deleting smaller files, too.

Not that these benchmarks would be really representative of real-world filesystem performance... I want to see a test where:

1) A partition is filled to 80% with files of varying sizes between zero bytes and three gigabytes (this phase can be timed although it's not likely to happen in real-world cases) in a random directory structure
2) 10% of those files are changed so that their size changes. The changes range from just a couple of bytes added or deleted to multi-gigabyte files being zeroed or small files being grown to several magnitudes of their old size. This phase is benchmarked.
2.1) The filesystem is aged by continuing phase two for a while. Adding and deleting random files may also be done. Assuming it's possible to calculate the contiguousness of a filesystem, you can see if it decreases over time here.
3) cp, mv, del and such benchmarks can be done at this phase as normal. Writing and reading large files at this part would give quite good results about how the filesystem handles fragmentation, I think.
4) The filesystem is filled to as close as 100% as possible with random files, preferably small ones to make it more representative. This phase is, of course, benchmarked. Also, the absolute amount of data is calculated to see how efficiently the filesystem can mash stuff onto a limited amount of space.

It would take a long while to run these tests, unfortunately... especially as you need to run them something like five times or more due to the randomness.

Well, that's what I think of the issue anyway. But then again, I'm no statistician...
_________________
<laurentius> gentoo linux?
<ari> Yesh.
<laurentius> they look horny
Back to top
View user's profile Send private message
XWRed1
n00b
n00b


Joined: 27 Jun 2002
Posts: 13

PostPosted: Fri Apr 11, 2003 6:51 pm    Post subject: Reply with quote

Copying files between hda3 and hda4?

Might be worthwhile to benchmark again with file operations between two different disks on two different ide channels (scsi too would be cool).
Back to top
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Sun Apr 13, 2003 2:03 pm    Post subject: Reply with quote

I would like to see how ext3 performs in writeback data mode, since another benchmark (can't find it, slashdot I think) found it to be faster than resierfs.

To boot an ext3 partition in writeback mode you must pass rootflags=data=writeback to the kernel at boot (grub.conf).
Back to top
View user's profile Send private message
mb4guns
Guru
Guru


Joined: 04 Dec 2002
Posts: 300
Location: Netherlands

PostPosted: Tue May 13, 2003 7:08 am    Post subject: Reply with quote

I see a bright light shining from reiserfs4 .... moment searching my sunglasses
_________________
sys0: Athlon64, Corsair TWINX DDR400 (1024mb), GeForce FX5600 256mb, 2x SATA MAxtor 120gig, Plextor 708a, Zalman cooling, Zalman powered, gnomed
sys1: Dell inspiron 4100 PentiumIII-mobile@1000 512mb ATI Radeon mobility m6 30gig, gnomed
Back to top
View user's profile Send private message
metacove
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 148

PostPosted: Wed May 14, 2003 9:59 pm    Post subject: Reply with quote

Techinically it's called reiser4 and reiserfs. I tested the bitkeeper source of reiser4 a few days ago and it was quite nice. It still has a little bit to go before I'd run it full time. I am very excited for the stable release.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum