Slow reading of large dovecot-uidlist files

Bostjan Skufca bostjan at a2o.si
Wed Apr 13 00:20:04 UTC 2016


On 12 April 2016 at 23:16, Timo Sirainen <tss at iki.fi> wrote:
>
> On 09 Apr 2016, at 21:04, Bostjan Skufca <bostjan at a2o.si> wrote:
> > (context: I was optimizing Roundcube mailbox list server response, and in
> > that 300-400ms response time, around 170ms is spent on single fgets() call
> > which is waiting IMAP repsonse to "SELECT MyMailbox" command)
> >
> > Does anyone have any other ideas, how to speed this up?
>
> Switch to mdbox or sdbox format to get better performance. I'm sure there are ways to optimize Maildir too, but it doesn't seem worth the effort since it'll always be slower than mdbox/sdbox.

Now we are talking!
Response time cut almost in half.

Thanks Timo,
b.


More information about the dovecot mailing list