On Thu, 01 Aug 2002, Nate Campi wrote:

> On Fri, Aug 02, 2002 at 03:53:24PM +1200, John Morton wrote:
> > 
> > Maildir performance and scalability is dependant on the filesystem. If the 
> > filesystem your maildirs live on store small files efficiently, and can 
> > list 
> > and access files in directories filled with thousands of other small files, 
> > no problem (ie Reiserfs), but if not (ie ext2/3), performance will tend to 
> > suck. 
> 
> ext3 is extremely fast with directories with thousands of files in them. 
> 
> ext3:
> $ time ls -al ~/mail/folders/systems/cur/ | wc -l
>    5602
> 
> real    0m0.297s
> user    0m0.240s
> sys     0m0.050s
> 
> reiserfs:
> $ time ls -al ~/mail/folders/systems/cur/ | wc -l
>    5584
> 
> real    0m31.667s
> user    0m0.810s
> sys     0m1.020s

Please realize that it's not enough to stat them. Your MUA needs to open
all of them to read the mail headers:
  
I'm using ext3 ATM:

[EMAIL PROTECTED]:...debian-bugs-closed$ time
find -type f | wc -l
  33933
find -type f  0.15s user 1.32s system 33% cpu 4.405 total
wc -l         0.01s user 0.00s system  0% cpu 4.404 total

[clear buffers && cache here]

[EMAIL PROTECTED]:....debian-bugs-closed$ time find -type f | xargs head > 
/dev/null
find -type f            0.17s user 1.38s system 1% cpu 1:46.14 total
xargs head > /dev/null  1.02s user 5.59s system 6% cpu 1:47.62 total


                                        yours,
                                        peter

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: pgpyL6QoJN34k.pgp
Description: PGP signature

Reply via email to