Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Faster nnimap: nnimap-retrieve-groups-asynchronous
Date: Mon, 29 Apr 2002 18:41:18 +0200	[thread overview]
Message-ID: <ilur8ky31ap.fsf@extundo.com> (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'.




             reply	other threads:[~2002-04-29 16:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-29 16:41 Simon Josefsson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilur8ky31ap.fsf@extundo.com \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).