Gnus development mailing list
 help / color / mirror / Atom feed
From: Russ Allbery <rra@stanford.edu>
Subject: Checking new mail very slow with current CVS
Date: Mon, 24 Dec 2001 22:49:00 -0800	[thread overview]
Message-ID: <yl666vokv7.fsf@windlord.stanford.edu> (raw)

I just upgraded to the current CVS version of Gnus so that I could start
playing with nndiary, and I immediately noticed that checking new mail
with "g" is *much* slower than it was under 5.8.7.  Does anyone have any
idea what's changed and if there's anything I can do about it?  It's slow
enough to be fairly frustrating.

Here's the tail end of the message log; I've marked the two places where
there's a noticeable pause:

    nntp read: 22k
    nntp read: 22k
    nntp read: 22k
    nntp read: 22k
    nntp read: 22k
    nntp read: 22k
    nntp read: 22k
    nntp read: 22k
    nntp read: 23k
===>
    Reading active file via nnml...
    Opening nnml server...
    Opening nnml server...done
    nnml: Reading incoming mail from maildir...
    nnml: Reading incoming mail (no new mail)...done
    Reading active file via nnml...
    Reading active file via nnml...done
    Reading active file via nndiary...
    Reading active file via nndiary...
    Reading active file via nndiary...done
    Reading active file from sent via nnml...
    Opening nnml server on sent...
    Opening nnml server on sent...done
    Reading active file from sent via nnml...
    Reading active file from sent via nnml...done
    Checking new news...
===>
    Checking new news...done

The first pause isn't too bad, but the second pause is really noticeable,
and XEmacs does four or six garbage collection passes in the middle of
it.  Setting gnus-verbose-backends to 10 doesn't produce any additional
messages, and setting nnml-marks-is-evil to t makes no difference at all.

Setting gnus-debug-on-quit and pressing C-g in the middle of the long
pause gave the following backtrace:

Signaling: (quit)
  nnmail-group-pathname("work.watch.registry" "~/Mail/")
  nnml-possibly-change-directory("work.watch.registry" "")
  nnml-request-group("work.watch.registry" "" t)
  gnus-activate-group("nnml:work.watch.registry" nil t)
  gnus-get-unread-articles(nil)
  gnus-group-get-new-news(nil)
  call-interactively(gnus-group-get-new-news)

My *guess* from that is that for some reason activating every nnml group
is taking quite a long time and that 5.8.7 either didn't do that or did it
much more quickly.  I have several hundred nnml groups.

A search of the mailing list traffic reveals nothing except a few messages
about marks, which seems unrelated given that I see the same behavior
regardless of whether marks are enabled.

Does anyone have any ideas?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



             reply	other threads:[~2001-12-25  6:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-25  6:49 Russ Allbery [this message]
2001-12-25 13:36 ` Simon Josefsson
2001-12-25 22:07   ` Russ Allbery
2001-12-25 22:15     ` Russ Allbery
2001-12-25 23:11     ` Simon Josefsson
2001-12-26  0:41       ` Russ Allbery
2001-12-26 13:56         ` Simon Josefsson
2001-12-26 21:32           ` Russ Allbery
2001-12-26 21:55             ` Simon Josefsson
2001-12-26 23:26             ` Steve Youngs
2002-01-03 18:59             ` Jan Vroonhof
2002-01-03 19:22               ` Simon Josefsson
2002-01-04 13:00                 ` Jan Vroonhof
2002-01-04 15:19                   ` Jan Vroonhof
2002-01-05  6:02                   ` Russ Allbery
2001-12-27 10:04           ` Russ Allbery
2001-12-27 15:33             ` Simon Josefsson
2002-01-09 17:08               ` Sebastian Krause
2002-01-09 17:42                 ` Simon Josefsson

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=yl666vokv7.fsf@windlord.stanford.edu \
    --to=rra@stanford.edu \
    /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).