From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#36714: 27.0.50; Gnus nnmaildir taking long time to recursively visit sub-Maildirs Date: Wed, 24 Jul 2019 11:18:32 -0700 Message-ID: <87blxjnvnr.fsf@ericabrahamsen.net> References: <86ftn37cvz.fsf@protected.rcdrun.com> <87sgr32mnq.fsf@ericabrahamsen.net> <20190718194311.GA6908@protected.rcdrun.com> <87k1cf2jqh.fsf@ericabrahamsen.net> <20190718204841.GB6908@protected.rcdrun.com> <87v9vyrhqx.fsf@ericabrahamsen.net> <20190719061550.GB8310@protected.rcdrun.com> <87o91q6iqz.fsf@ericabrahamsen.net> <20190722084421.GA4571@protected.rcdrun.com> <875znuynlt.fsf@ericabrahamsen.net> <20190723073001.GD23639@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="39682"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 36714@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 24 20:19:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqLr0-000ADh-Kk for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jul 2019 20:19:06 +0200 Original-Received: from localhost ([::1]:53990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqLqz-0002dy-JR for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jul 2019 14:19:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40145) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqLqx-0002ds-0L for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqLqv-0002eC-Vm for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57376) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqLqv-0002du-T6 for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqLqv-0005E5-Jk for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:19:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <86ftn37cvz.fsf@protected.rcdrun.com> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jul 2019 18:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36714 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156399233520071 (code B ref -1); Wed, 24 Jul 2019 18:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2019 18:18:55 +0000 Original-Received: from localhost ([127.0.0.1]:37964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqLqp-0005De-G3 for submit@debbugs.gnu.org; Wed, 24 Jul 2019 14:18:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqLql-0005DT-7J for submit@debbugs.gnu.org; Wed, 24 Jul 2019 14:18:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40097) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqLqk-0002dg-4l for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:18:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqLqj-0002KH-2C for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:18:50 -0400 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:39786 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hqLqi-0002Ho-RW for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 14:18:49 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hqLqh-0009ul-46 for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 20:18:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:nbfKWXjntCbam2RIgEhMJVd1iEE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163675 Archived-At: Jean Louis writes: > * Eric Abrahamsen [2019-07-22 19:40]: [...] >> I also don't think this threatens the integrity of the user's files: the >> extra data is maintained in parallel, and doesn't interfere with the >> messages themselves. > > I did read nnmaildir info page, and I have not found anything that > would indicate what would Gnus do to my file system. The first paragraph of the maildir section of the Gnus manual says: ‘nnmaildir’ also stores extra information in the ‘.nnmaildir/’ directory within a maildir. On the next page of the manual, there's a section on this group parameter: ‘nov-cache-size’ An integer specifying the size of the NOV memory cache. To speed things up, ‘nnmaildir’ keeps NOV data in memory for a limited number of articles in each group. (This is probably not worthwhile, and will probably be removed in the future.) This parameter’s value is noticed only the first time a group is seen after the server is opened—i.e., when you first start Gnus, typically. The NOV cache is never resized until the server is closed and reopened. The default is an estimate of the number of articles that would be displayed in the summary buffer: a count of articles that are either marked with ‘tick’ or not marked with ‘read’, plus a little extra. Noting both that the nov cache will probably go away at some point, and how to control its size in the meantime. (add-to-list 'gnus-parameters '("^nnmaildir:" (nov-cache-size . 2) (expire-age . never)))