From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57177 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: A slowness in the Agent Date: Sat, 01 May 2004 10:52:50 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083426820 11674 80.91.224.253 (1 May 2004 15:53:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 May 2004 15:53:40 +0000 (UTC) Original-X-From: ding-owner+M5717@lists.math.uh.edu Sat May 01 17:53:33 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJwo0-00089w-00 for ; Sat, 01 May 2004 17:53:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BJwnb-0008FP-00; Sat, 01 May 2004 10:53:07 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BJwnS-0008FH-00 for ding@lists.math.uh.edu; Sat, 01 May 2004 10:52:58 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BJwnR-0000RI-2Q for ding@lists.math.uh.edu; Sat, 01 May 2004 10:52:57 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 467FD3A0026 for ; Sat, 1 May 2004 10:52:54 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1BJwnN-0005Ul-00 for ; Sat, 01 May 2004 17:52:53 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 31 Original-NNTP-Posting-Host: dialup-216-12-206-187.ev1.net Original-X-Trace: quimby.gnus.org 1083426773 21126 216.12.206.187 (1 May 2004 15:52:53 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 1 May 2004 15:52:53 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:UIpRKtXIA8rdBSzJUFOc/8YqM2s= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57177 Lars Magne Ingebrigtsen writes: > I just cvs uppped a bit here, and Gnus suddenly was much slower than > before. After peeking around quite a bit, the most likely culprit is > `gnus-agent-read-agentview', which now calls > `gnus-uncompress-sequence' about 9K times for me. Which takes a > while. > > I've inlined the call, which helps a bit, but I think the fundamental > problem might be that `gnus-agent-read-agentview' tries too hard. > The Emacs reader is really very fast, and almost any compression one > tries to do in Emacs Lisp is bound to be slower than just calling > `read' on a huge whopping list. > > Or I may be poking around in the wrong place. Well, that compression has been in use for over a year now so I don't see why it would suddenly make gnus much slower. If you truely think that it is an issue, reverting back to No Gnus 0.1 will give you a version of gnus-agent-read-agentview that can be configured to turn the compression off. Hmmm... I wonder if that is what you had done; configured your gnus to disable the compression. For the record, I didn't add the compression to save disk space but to improve performance. What bothers me is that your seeing 9K calls to gnus-agent-read-agentview. That seems excessive unless you have 9K groups. Kevin