[Dovecot] **OFF LIST** Re: body search very slow since upgrade from 1.0.15 to 1.2.10

Timo Sirainen tss at iki.fi
Thu Feb 25 21:04:05 EET 2010


On 24.2.2010, at 20.27, Timo Sirainen wrote:

> Looks like there's something very wrong with mbox with v1.2+. It's doing
> a *lot* of message header parsing work that doesn't happen with v1.1 or
> with other mailbox formats. Probably because I fixed some bugs where it
> was wrongly caching some state, but now it's not caching it long enough.

Looks like some input stream seeking optimizations are broken (when one input stream reads from another, which reads from another, ...). I already managed to fix the performance problem, but now it's corrupting saved mails sometimes. So a while longer to get it fully fixed :) And since it's a pretty big change, I'm not sure if I want to risk breaking v1.2 by changing it, so maybe it's v2.0 only.



More information about the dovecot mailing list