[Dovecot] 0.99.11-test6

Timo Sirainen tss at iki.fi
Mon Aug 25 14:33:57 EEST 2003


On Monday, Aug 25, 2003, at 12:09 Europe/Helsinki, Matthias Andree 
wrote:

>> Or maybe it'd work if I just grabbed exclusive lock whenever reading
>> header sizes. They could be then copied into memory to avoid locking
>> more than once. But that still creates locking contention if lots of
>> clients are reading the mailbox. Exactly in the situation where I'd
>> mostly use mboxes..
>
> Would not one rather use Maildir and assume the Kernel caches directory
> data? No locking contention...

For read-only mailboxes it's much faster to read a single mbox file 
than to keep opening multiple maildir files. And when you're only 
reading mboxes, there's no lock contention.



More information about the dovecot mailing list