From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88588 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: is nnmaildir very slow? Date: Fri, 24 May 2019 14:26:04 -0700 Message-ID: <87a7fbee8j.fsf@ericabrahamsen.net> References: <87v9yb6k1z.fsf@ucl.ac.uk> <87woiq2wtm.fsf@ericabrahamsen.net> <878sv66rmw.fsf@ucl.ac.uk> <87sgtecclq.fsf@ericabrahamsen.net> <87a7fl62kc.fsf@ucl.ac.uk> <871s0tzc3g.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="13743"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36791@lists.math.uh.edu Fri May 24 23:27:15 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hUHic-0003NB-9J for ding-account@gmane.org; Fri, 24 May 2019 23:27:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92) (envelope-from ) id 1hUHhn-00084L-DX; Fri, 24 May 2019 16:26:23 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hUHhi-00081c-F5 for ding@lists.math.uh.edu; Fri, 24 May 2019 16:26:18 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hUHhh-0004lD-4B for ding@lists.math.uh.edu; Fri, 24 May 2019 16:26:18 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hUHhc-0000LJ-Sy for ding@gnus.org; Fri, 24 May 2019 23:26:14 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hUHha-0002Hy-5S for ding@gnus.org; Fri, 24 May 2019 23:26:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:ppWdkq/5siKIOiP414xHp/7B2co= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88588 Archived-At: Eric S Fraga writes: > On Saturday, 18 May 2019 at 06:53, George Clemmer wrote: >> Eric S Fraga writes: >> >>> On Thursday, 16 May 2019 at 14:29, Eric Abrahamsen wrote: >>>> But after that is it quick? I can't imagine it's regenerating the NOV >>>> files at every startup... >>> >>> It is quick after the initial startup. I don't know if it is slow at >>> every startup. >> >> In my experience, as long as I kept Emacs running the performance was >> great and ~ to Mu4E. The hit was only associated with an Emacs restart. > > I've done more experimenting. The problem is definitely at startup and > *only* after I have synchronized systems. The maildir scan is a "deep" > one, it seems, based on whether the directory has been modified. An > indication of modification is taken purely from the time attribute. So, > my synchronization makes gnus think the contents have changed. > > I don't know how to get around this... I can't think of any way to get around it, except maybe by saving a "last modified" time along with the server information in the files you're syncing...