From: Hans Reiser <reiser@namesys.com>
To: Stewart Smith <stewart@flamingspork.com>
Cc: camis <camis@mweb.co.za>, reiserfs-list@namesys.com
Subject: Re: max files
Date: Tue, 04 May 2004 09:39:58 -0700 [thread overview]
Message-ID: <4097C75E.1070600@namesys.com> (raw)
In-Reply-To: <1083625008.6688.54.camel@faith>
Stewart Smith wrote:
>On Tue, 2004-05-04 at 03:47, camis wrote:
>
>
>>Anyone tested to see how fast/sluggish reiser3 (or 4?)
>>performs when accessing a directory that has between
>>5 and 25 million flat/text files?
>>
>>
>
>AFAIK no current file system performs "well" under this scenario. There
>is work going on to get better performance for >1million directories on
>xfs - but it is a tricky problem.
>
>just as an indicator - for a dir with ~101000 files on reiser3, reading
>from disk ('cause this box doesn't have that much memory):
>
>stewart@saturn:~$ time ls Maildir/.Lists.linux-kernel/cur/ > /dev/null
>
>real 0m9.403s
>user 0m2.190s
>sys 0m0.230s
>
>and for repeated runs (i.e. when things are cached):
>stewart@saturn:~$ time ls Maildir/.Lists.linux-kernel/cur/ > /dev/null
>
>real 0m2.284s
>user 0m2.160s
>sys 0m0.130s
>
>so it is quite possible that you'll get acceptable performance... at
>least for some applications :)
>
>The algorithms will scale, there just may be implementation details
>around the place that could make things faster.
>
>I'd say, test it :)
>
>
I would guess that reiser4 would do better at this, as our readdir
returns files in very close to sorted order.
Of course, that depends on the sorting algorithm ls uses.... some
sorting algorithms do worse at close to sorted order....
next prev parent reply other threads:[~2004-05-04 16:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-03 17:41 Fwd: reiser4 non-free? Burnes, James
2004-05-03 17:45 ` Hans Reiser
2004-05-03 17:47 ` max files camis
2004-05-03 22:56 ` Stewart Smith
2004-05-04 9:51 ` Pierre Etchemaite
2004-05-04 16:39 ` Hans Reiser [this message]
2004-05-04 9:03 ` Vladimir Saveliev
2004-05-03 18:38 ` Fwd: reiser4 non-free? Martin List-Petersen
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=4097C75E.1070600@namesys.com \
--to=reiser@namesys.com \
--cc=camis@mweb.co.za \
--cc=reiserfs-list@namesys.com \
--cc=stewart@flamingspork.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.