From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67879 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general Subject: nnrss slow [was: switch to another window while gnus is busy] Date: Fri, 12 Dec 2008 09:34:18 +0800 Message-ID: <871vwejhwl.fsf_-_@jidanni.org> References: <86abb2tvz8.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229045694 11898 80.91.229.12 (12 Dec 2008 01:34:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 01:34:54 +0000 (UTC) Cc: ding@gnus.org To: tzz@lifelogs.com Original-X-From: ding-owner+M16325@lists.math.uh.edu Fri Dec 12 02:36:00 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAwwX-0003ur-R0 for ding-account@gmane.org; Fri, 12 Dec 2008 02:35:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LAwvD-00051Z-D2; Thu, 11 Dec 2008 19:34:27 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LAwvC-00051O-8T for ding@lists.math.uh.edu; Thu, 11 Dec 2008 19:34:26 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LAwv9-0007OU-9k for ding@lists.math.uh.edu; Thu, 11 Dec 2008 19:34:26 -0600 Original-Received: from sd-green-bigip-207.dreamhost.com ([208.97.132.207] helo=homiemail-a2.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LAwvL-0007hS-00 for ; Fri, 12 Dec 2008 02:34:35 +0100 Original-Received: from jidanni1.jidanni.org (122-127-32-244.dynamic.hinet.net [122.127.32.244]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id D7984D26BD; Thu, 11 Dec 2008 17:34:20 -0800 (PST) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67879 Archived-At: >>>>> "TZ" == Ted Zlatanov writes: TZ> There's a discussion about adding multithreading to Emacs in the TZ> emacs-devel mailing list. You can voice your support for that work or TZ> contribute to it. Without multithreading Gnus must be synchronous. See TZ> some posts, including mine, in that thread listing reasons. OK, looks complex. TZ> What exactly is slow for you? Obviously we all have our specific Gnus TZ> setups, so I think it's useful to find the slow spots that affect all TZ> users, not just the developers. OK, only nnrss of course. And it's not really the network part. Before it starts its HTTP requests, just look at the CPU meter! With the following the rss fetching is isolated, proving nnrss is the culprit munching the CPU meter. (defun jidanni-gnus-group-get-new-rss-news() "Sorry attempt to seperate out painful RSS fetching." (let ((gnus-activate-foreign-newsgroups 5)) (gnus-group-get-new-news))) (define-key gnus-group-mode-map "v" (lambda () (interactive) (jidanni-gnus-group-get-new-rss-news))) Anyway I was thinking of a batch job: once a day run $ emacs -f nnrss-generate-download-script|sh which would dynamically reflect my current nnrss groups. However one finds that one needs to have already ran nnrss, else nnrss-generate-download-script will only make three lines of headers.