From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9931 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: Slow header download on one group Date: Tue, 20 Nov 2007 09:50:38 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195522834 12992 80.91.229.12 (20 Nov 2007 01:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2007 01:40:34 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Nov 20 02:40:40 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IuI6P-0002qW-P2 for gegu-info-gnus-english@m.gmane.org; Tue, 20 Nov 2007 02:40:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuI6B-0007NI-UN for gegu-info-gnus-english@m.gmane.org; Mon, 19 Nov 2007 20:40:23 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 51 Original-X-Trace: individual.net xEOl8eJGblMOsOpznM24Lgvu1w4XMXKHD3FRb7Y4IyQfZXu0c= Cancel-Lock: sha1:dLdKiIBQbtnrjz2lpcvjYQWEkN4= sha1:pBwsa8HM5qrlCFONVlj8wVCBpAQ= X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80140 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9931 Archived-At: >>>>> Patrick May wrote: > I see especially slow header downloads when accessing one > particular newsgroup. Even if that group shows only a dozen unread > posts, it loads much more slowly than a groups with over a hundred. > elp shows the following for the fast groups: > Function Name Call Count Elapsed Time Average Time > ===================== ========== ============ ============ > gnus-retrieve-headers 3 5.690393 1.8967976666 [...] > The slow group shows: > Function Name Call Count Elapsed Time Average Time > ===================== ========== ============ ============ > gnus-retrieve-headers 3 78.807254 26.269084666 > Could fragmentation in .newsrc.eld be the source of the problem? I don't think so. Though I haven't tried supernews.com, I guess there might be a big gap between old article numbers and latest ones in the server. What does evaluating the following Lisp form return? (gnus-active "news.group.name") It says for my local news server as: (gnus-active "gnu.emacs.gnus") => (57391 . 59194) but for news.motzarella.org it says: (gnus-active "nntp+motzarella:gnu.emacs.gnus") => (156 . 30068314) In the later case, Gnus consumes memory wastefully and takes time while fetching headers even if there are no more than hundreds articles. For such cases Gnus offers a workaround. If it is just your case, try setting the `gnus-newsgroup-maximum-articles' variable to a certain number. For example: (setq gnus-newsgroup-maximum-articles 10000) It lets Gnus disregard old articles than the latest 10000 articles in all groups and work fast. (This variable is not in the released version of Gnus and Emacs.)