From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67894 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: switch to another window while gnus is busy, nnmaildir slow startup Date: Fri, 12 Dec 2008 15:35:32 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86wse5qdp7.fsf@lifelogs.com> References: <87vdtq1wii.fsf@jidanni.org> <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 1229117838 23058 80.91.229.12 (12 Dec 2008 21:37:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 21:37:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16340@lists.math.uh.edu Fri Dec 12 22:38:22 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 1LBFiA-00035e-JE for ding-account@gmane.org; Fri, 12 Dec 2008 22:38:14 +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 1LBFg5-00024f-Mw; Fri, 12 Dec 2008 15:36:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LBFg4-00024Q-1I for ding@lists.math.uh.edu; Fri, 12 Dec 2008 15:36:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LBFg1-0001w4-Su for ding@lists.math.uh.edu; Fri, 12 Dec 2008 15:36:03 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LBFgD-0008MY-00 for ; Fri, 12 Dec 2008 22:36:13 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LBFfz-00073m-Gg for ding@gnus.org; Fri, 12 Dec 2008 21:35:59 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 21:35:59 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 21:35:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:O/AMW1/RZdYoLLNTkS5Gi8bfdyU= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67894 Archived-At: On Fri, 12 Dec 2008 08:40:33 +0100 Justus-bulk@Piater.name wrote: (actually from February 3) >> The nnmaildir backend starts up slowly (about three minutes for me, >> with about 25000 messages), apparently because it reads *all* NOV >> information at startup time. >> >> This approach obviously does not scale well. >> >> My question is: Could this be done on a per-group basis? In this case, >> the NOV parsing could be deferred to the first time one enters a >> group, and nnmaildir initial startup should be almost instantaneous. Yes, but implementing it is not easy because so much of Gnus assumes all the data is in place. You could, instead, lower the subscription level for the nnmaildirs to 5 so they don't get checked on startup, and check them manually with `M-g'. I realize it's not a good solution but it's immediately usable. Ted