From: bert hubert <ahu@ds9a.nl>
To: linux-kernel@vger.kernel.org
Cc: tytso@mit.edu
Subject: naive but spectacular ext3 HTREE+Orlov benchmark
Date: Tue, 5 Nov 2002 16:17:02 +0100 [thread overview]
Message-ID: <20021105151702.GA5894@outpost.ds9a.nl> (raw)
On a 192 megabyte 1.1GHz laptop with boring disk, 13G well worn partition -
this is not a stylized benchmark! Result is repeatable though.
Summary of HTREE ext3 Orlov vs non-Orlov, in real minute:seconds
2.5.45 2.5.46
----------------------------------------------
unpacking kernel tar.bz2: 1:26 1:16
cold traversal: 1:01.5 0:42.9
hot traversal: 0:51.0 0:34.5
delete 0:05.3 <0:02
Congratulations everybody, this is a major result! You can in fact *hear*
the difference. With the Orlov allocator, seeks are much more higher pitched
as if they are generally over shorter distances - which they probably are.
The cold traversal boils down to 4.47 megabytes/second over 13035 files,
close to 303 files/second which is comfortably more than the number of
seeks/second I expect this disk to be able to do. Magic is being performed
here.
traverse script:
#!/bin/sh
find . -type f | xargs -n 500 cat > /dev/null
On Linux 2.5.45, ext3+HTREE:
# mount /dev/hda3 /mnt
$ cd mnt
$ time tar xjf linux-2.5.45.tar.bz2
real 1m26.640s
user 0m48.256s
sys 0m4.592s
*reboot*
# mount /dev/hda3 /mnt
$ cd mnt/linux-2.5.45
$ time ../traverse
real 1m1.518s
user 0m0.159s
sys 0m1.267s
$ time ../traverse
real 0m51.007s
user 0m0.143s
sys 0m1.236s
$ cd .. ; time rm -rf linux-2.5.45
real 0m5.248s
user 0m0.020s
sys 0m0.440s
Same on Linux 2.5.46, ext3+HTREE+Orlov:
# mount /dev/hda3 /mnt
$ cd mnt
$ time tar xjf linux-2.5.45.tar.bz2
real 1m16.071s
user 0m48.291s
sys 0m4.918s
*reboot*
# mount /dev/hda3 /mnt
$ cd mnt/linux-2.5.45
$ time ../traverse
real 0m42.869s
user 0m0.148s
sys 0m1.323s
$ time ../traverse
real 0m34.468s
user 0m0.151s
sys 0m1.358s
$ cd .. ; rm -rf linux-2.5.45
$
This last delete wasn't measured but it appeared to be <2 seconds.
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
next reply other threads:[~2002-11-05 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-05 15:17 bert hubert [this message]
2002-11-05 16:10 ` naive but spectacular ext3 HTREE+Orlov benchmark Alan Cox
2002-11-05 15:55 ` bert hubert
2002-11-05 19:07 ` Andreas Dilger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021105151702.GA5894@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.