Gnus development mailing list
 help / color / mirror / Atom feed
From: Danny Siu <dsiu@adobe.com>
Subject: Re: Faster nnimap: nnimap-retrieve-groups-asynchronous
Date: Mon, 29 Apr 2002 17:21:17 -0700	[thread overview]
Message-ID: <ubsc2829u.fsf@adobe.com> (raw)
In-Reply-To: <ilur8ky31ap.fsf@extundo.com> (Simon Josefsson's message of "Mon, 29 Apr 2002 18:41:18 +0200")


'g' is now ~150% faster than before for my 60+ nnimap groups on UoW imapd.

cool stuff!

Simon Josefsson writes:

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

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

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

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

  Simon> You can customize this variable.

  Simon> Defined in `nnimap'.



-- 
Danny Siu




  parent reply	other threads:[~2002-04-30  0:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-29 16:41 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 [this message]
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=ubsc2829u.fsf@adobe.com \
    --to=dsiu@adobe.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).