Gnus development mailing list
 help / color / mirror / Atom feed
* Faster nnimap: nnimap-retrieve-groups-asynchronous
@ 2002-04-29 16:41 Simon Josefsson
  2002-04-29 17:11 ` Nicolas Kowalski
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Simon Josefsson @ 2002-04-29 16:41 UTC (permalink / raw)


I tried to speed up new mail checking (`g') on IMAP groups.  Startup
uses old technique, but subsequent `g' can be faster.  The speedup
depends on how many groups usually receives new mail each time you
press `g' (the p below).  It might depend on the server as well.  For
me, it is faster against Cyrus IMAPD -- results from other servers
would be interesting.

nnimap-retrieve-groups-asynchronous's value is t

Documentation:
Send asynchronous STATUS commands for each mailbox before checking mail.
If you have mailboxes that rarely receives mail, this speeds up new
mail checking.  It works by first sending STATUS commands for each
mailbox, and then only checking groups which has a modified UIDNEXT
more carefully for new mail.

In summary, the default is O((1-p)*k+p*n) and changing it to nil makes
it O(n).  If p is small, then the default is probably faster.

You can customize this variable.

Defined in `nnimap'.




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-06-06 16:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-29 16:41 Faster nnimap: nnimap-retrieve-groups-asynchronous Simon Josefsson
2002-04-29 17:11 ` Nicolas Kowalski
2002-04-29 19:16 ` dme
2002-04-29 22:59 ` Wes Hardaker
2002-04-30  0:21 ` Danny Siu
2002-04-30  5:05 ` Ilpo Nyyssönen
2002-04-30  7:59   ` Simon Josefsson
2002-04-30  8:30     ` Ilpo Nyyssönen
2002-04-30  8:48     ` Ilpo Nyyssönen
2002-05-01  1:17       ` Simon Josefsson
2002-04-30 11:06 ` Kai Großjohann
2002-05-02 15:08   ` Amos Gouaux
2002-06-06 11:56 ` Bjørn Mork
2002-06-06 13:07   ` Simon Josefsson
2002-06-06 14:10     ` Bjørn Mork
2002-06-06 16:47       ` Bjørn Mork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).