On Tue, Oct 26, 2010 at 6:12 AM, Dan Drake <[email protected]> wrote:
> Hello,
>
> I use mailfilter to, well, filter my mail, and it puts a copy of
> (much of) my incoming mail into a Maildir mailbox called "received".
> Right now, this mailbox has nearly 700 messages, and opening it takes a
> long time.
>
> I started using the headercache feature to speed this up, and was
> initially delighted at how fast it was. But I've discovered that when
> the mailbox gets new messages, Mutt ignores the outdated header cache and
> rereads everything. Since this mailbox gets new mail often, the header
> cache is almost always out of date (unless I visit the mailbox twice in
> one session) and is actually not very helpful.
>
> Is there any way to optimize this? It seems a bit silly to need to
> reread all 700 messages when a single new message has been added. Is
> there a way to make this work better, or to get Mutt to intelligently
> combine the existing cache while reading in the small number of new
> messages?
>
> Thanks,
>
> Dan
>
> --
> ---  Dan Drake
> -----  http://mathsci.kaist.ac.kr/~drake
> -------
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAkzGI/kACgkQr4V8SljC5LrpzwCggkF2+2oQzj1CE6MHqcrWGNam
> 4J8AoNwxdKm4N+T+xbGYFAlBaCIO5akE
> =DCfe
> -----END PGP SIGNATURE-----
>
>

Hi,

I have also seen similar behavior.  To alleviate it, I started using
tokyo cabinet as the default backend (from gdbm). Speedup is/was truly
surprising  for me. For initial cache file buildup it took nearly the
same time, however for subsequent updates (the case you are
describing), I noticed a lot of difference, that I think distro
maintainers should also start using it in their builds .

Another reason which  I heard on #mutt, was that using sidebar can
significant slowdown in maildir reading. I am not sure of the reasons
behind this but would be happy if someone clears it (or better patches
it  :-)).


----
Raghavendra

P.S.: My mutt build (PKGBUILD) if you are interested --
http://github.com/ronin13/Builds/tree/master/mutt/

Reply via email to