All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: Adrian Ulrich <reiser4@blinkenlights.ch>
Cc: reiserfs-list@namesys.com
Subject: Re: Why is Reiser4 slower then ReiserFS v3
Date: Tue, 28 Dec 2004 13:42:04 -0800	[thread overview]
Message-ID: <41D1D32C.1020407@namesys.com> (raw)
In-Reply-To: <20041228195239.3a1531d5.reiser4@blinkenlights.ch>

Adrian Ulrich wrote:

>I also noticed some odd slowness of reiser4
>
>(Running 2.6.10 using the latest 2.6.10-rcsomething reiser4 patch)
>  
>
There was a read slowdown, in latest release of reiser4, see patch I 
cc'd this list on a few emails ago.

That said, try extents only option of reiser4 for faster deletes.

Because reiser4 has larger files stored in tails, it packs things more 
tightly than reiser3, but pays a price in delete speed to do it.  With 
extents only, no tight packing, fast deletes.

reiser3 also puts directory entries for multiple directories close to 
each other, and farther from the filebodies for them, compared to 
reiser4.  This may explain some of the find speed advantage.

Still, I am curious to see more measurements in this area if you have 
time for it.

Did you time the sync command or?  How large was the fileset created 
compared to RAM?

>
>What i did:
>
> I created a small script wich creates MANY (= 195075) directories
> like this: 1/[1-3]/[1-255]/[1-255]
>
> After this, i ran 'sync && find . > /dev/null && rm -rf *'
>
> Well, it's not a good test, but compare the speed of 
> the 'find' and 'rm -rf' part beteween ReiserFS and Reiser4 :-/
>
>reiser3
>
>#./mkdirs.pl
>real    5m21.194s
>user    1m12.323s
>sys     4m6.740s
>
>#find . > /dev/null
>real    0m6.419s
>user    0m0.940s
>sys     0m5.159s
>
>#rm -rf *
>real    0m24.357s
>user    0m1.558s
>sys     0m22.797s
>
>reiser4
>
>#./mkdirs.pl
>real    6m21.996s
>user    1m13.395s
>sys     5m8.233s
>
>#find . > /dev/null
>real    0m16.006s
>user    0m3.323s
>sys     0m12.676s
>
>#rm -rf *
>real    5m58.963s  <-- OUCH!
>user    0m7.962s
>sys     5m50.870s
>
>
>
>  
>


  reply	other threads:[~2004-12-28 21:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 20:38 Why is Reiser4 slower then ReiserFS v3 Dark Shadow
2004-12-27 23:53 ` Valdis.Kletnieks
2004-12-28 21:34   ` Hans Reiser
2004-12-28 18:52 ` Adrian Ulrich
2004-12-28 21:42   ` Hans Reiser [this message]
2004-12-29  6:34     ` Adrian Ulrich

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=41D1D32C.1020407@namesys.com \
    --to=reiser@namesys.com \
    --cc=reiser4@blinkenlights.ch \
    --cc=reiserfs-list@namesys.com \
    /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.