From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5901 Path: news.gmane.org!not-for-mail From: Olaf Klischat Newsgroups: gmane.emacs.gnus.user Subject: nnimap summary generation slowness Date: Sun, 23 Oct 2005 08:24:24 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671536 29305 80.91.229.2 (31 Jan 2006 01:38:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:38:56 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:36:00 2006 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:+Dv6B0xuWsAsmO5oe5BH9IoetZw= Original-NNTP-Posting-Host: 84.59.13.134 Original-X-Trace: news.arcor-ip.de 1130048664 84.59.13.134 (23 Oct 2005 08:24:24 +0200) Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:6043 Original-Lines: 54 X-Gnus-Article-Number: 6043 Tue Jan 17 17:36:00 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5901 Archived-At: My "INBOX" IMAP folder on my mail server has 313 messages in it. In the group buffer I hit "- SPC" (i.e. (gnus-topic-read-group t)) on the folder. Ethereal show this chatter on the IMAP connection: 10307 UID SEARCH UNSEEN UNDELETED * SEARCH 60204 60205 60206 10307 OK Completed 10308 UID SEARCH SEEN * SEARCH 50683 50830 [...308 numbers...] 60148 60180 60203 10308 OK Completed 10309 UID SEARCH FLAGGED * SEARCH 10309 OK Completed 10310 UID SEARCH ANSWERED * SEARCH 10310 OK Completed 10311 UID SEARCH KEYWORD gnus-save * SEARCH 10311 OK Completed 10312 UID SEARCH KEYWORD gnus-forward * SEARCH 10312 OK Completed 10313 UID SEARCH RECENT * SEARCH 60204 60205 60206 10313 OK Completed It takes less than a second to complete. Then, Gnus asks: "How many articles from nnimap+server:INBOX (default 9521):" Obviously, 9521 is the size of the interval 50683...60203 (why didn't it just count the numbers returned to the "UID SEARCH SEEN" command to get the *correct* number of messages?). Anyway, I hit ENTER to see all messages. Another conversation with the server takes place, again just fractions of a second long: 10314 UID SEARCH UID 50683:60203 * SEARCH 50683 50830 [...308 numbers...] 60148 60180 60203 10314 OK Completed After that, Gnus eats lots of CPU time for ~5 minutes without either updating the UI or sending/receiving a single byte to/from the IMAP server. Then, the summary buffer appears, with the 313 messages in it. Obviously, there's a lot of air somewhere in there waiting to be squeezed out. Olaf