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
signature.asc
Description: This is a digitally signed message part