[Dovecot] Better APPEND performance
Timo Sirainen
tss at iki.fi
Wed Oct 14 21:25:58 EEST 2009
On Wed, 2009-10-14 at 12:48 -0400, Timo Sirainen wrote:
> On Wed, 2009-10-07 at 17:53 -0500, Mike Abbott wrote:
> > What can be done to make maildir_uidlist_refresh_fast_init() choose
> > the fast path more often?
>
> Pretty simple bug. Fixed:
> http://hg.dovecot.org/dovecot-1.2/rev/ebdba086e3b1
>
> This makes the performance pretty good when appending to maildirs with
> large number of messages. In my desktop the append speed stays pretty
> constant at ~500 msgs/sec after 20k messages, while without the patch it
> crawls at ~30-40 msgs/sec.
This is also useful for maildir_very_dirty_syncs=yes, otherwise
dovecot-uidlist never shrinks:
http://hg.dovecot.org/dovecot-1.2/rev/7956cc1086e1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091014/fa6e74a2/attachment.bin
More information about the dovecot
mailing list