<<< Date Index >>>     <<< Thread Index >>>

Re: mutt - slow mbox'es



Hello Thorsten,

* On Wed, Jul 21, 2004 at 03:07:46PM +0200 Thorsten Haude wrote:
> Hi,
> 
> * Thomas Glanzmann wrote (2004-07-21 14:48):

> >So don't try to fight symptoms but solve the problem, which means
> >move to maildir.
> 
> I once switched, but maildir was considerably slower than mbox. What
> could be the reason for this? Which file system would be best for
> each?

As Maildir needs more operations on the filesystem itself than mbox
(remember: Every message is its own file!), it is slower than mbox.

The advantage of maildir is that it can be cached efficiently (by
looking only at the directory, not into the file). This is not true with
mbox, because scanning mbox for changed entries means scanning through
the whole file. Obviously, this needs the same time as scanning it
without cache.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://www.viceteam.org/