From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60778 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: IMAP group performance on old groups. Date: Tue, 16 Aug 2005 13:50:12 +1000 Message-ID: <87y872wnez.fsf@rimspace.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124166112 12802 80.91.229.2 (16 Aug 2005 04:21:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2005 04:21:52 +0000 (UTC) Original-X-From: ding-owner+M9310=ding+2Daccount=gmane.org@lists.math.uh.edu Tue Aug 16 06:21:50 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E4swb-0006Lf-BN for ding-account@gmane.org; Tue, 16 Aug 2005 06:20:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1E4swa-0002gj-01 for ding-account@gmane.org; Mon, 15 Aug 2005 23:20:56 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E4swS-0002fb-00 for ding@lists.math.uh.edu; Mon, 15 Aug 2005 23:20:48 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E4swJ-0001Jn-Ij for ding@lists.math.uh.edu; Mon, 15 Aug 2005 23:20:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E4s0E-0003BG-00 for ; Tue, 16 Aug 2005 05:20:38 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1E4svp-0006CM-CC for ding@gnus.org; Tue, 16 Aug 2005 06:20:09 +0200 Original-Received: from 203-217-29-45.perm.iinet.net.au ([203.217.29.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Aug 2005 06:20:09 +0200 Original-Received: from daniel by 203-217-29-45.perm.iinet.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Aug 2005 06:20:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 39 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-217-29-45.perm.iinet.net.au User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.5-b21 (corn, linux) Cancel-Lock: sha1:kZr3jufUcrIqkvEAu4fmaGKSXIs= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60778 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60778 G'day. I use the Cyrus IMAP server for managing my mail. For the longest time, I did this by downloading mail from it and pushing it into nnml on my laptop. Recently, though, I have moved to using IMAP and storing all the mail on the server, with nnmiap. This works great, but performance on my INBOX is a bet less than stellar. It takes around 10 seconds on a P4M-1.7 to "Update info" on the group. The profile for entering the group is: Function Name Ticks/Total %Usage Calls GC-Usage/ Total ===========================================/===== ====== ===== ========/======= sort 2224/ 4278 40.792 8 0/ 37120 (profile overhead) 2073/ 2073 38.023 (in garbage collection) 417/ 417 7.649 3 < 148/ 152 2.715 6591479 gnus-compress-sequence 107/ 107 1.963 8 4308/ 4308 gnus-uncompress-range 103/ 143 1.889 2 8304768/8304768 delq 54/ 54 0.990 264 append 39/ 78 0.715 56 8306184/8306184 copy-sequence 37/ 90 0.679 75 8308304/8308304 kill-all-local-variables 31/ 33 0.569 141 0/ 72 Looking at this, and the fact that the first real article number in the group is 658436, makes me think that processing the group is slow because Gnus uncompresses, compresses and processes numbers from 1 through 658436 at some point in the process. Is there any easy way to improve performance here? Also, is this a known issue, or should I start looking deeper into the nnimap code to find the exact cause of this? Thanks, Daniel