From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88398 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Trimming .gnus.registry.eieio? Date: Tue, 19 Feb 2019 11:35:42 -0800 Message-ID: <8736oj4lm9.fsf@ericabrahamsen.net> References: 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="28076"; 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+M36607@lists.math.uh.edu Tue Feb 19 20:36:45 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 1gwBC8-000753-9T for ding-account@gmane.org; Tue, 19 Feb 2019 20:36:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.91) (envelope-from ) id 1gwBBV-00052L-UO; Tue, 19 Feb 2019 13:36:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1gwBBP-0004zU-SL for ding@lists.math.uh.edu; Tue, 19 Feb 2019 13:35:59 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gwBBN-0002pA-R7 for ding@lists.math.uh.edu; Tue, 19 Feb 2019 13:35:59 -0600 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 1gwBBJ-0005ch-V3 for ding@gnus.org; Tue, 19 Feb 2019 20:35:55 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gwBBH-0005wg-Lj for ding@gnus.org; Tue, 19 Feb 2019 20:35:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:I8IaBIoE14RytNiqXiGipivnu6U= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88398 Archived-At: Norman Walsh writes: > Hi all, > > I noticed that my .gnus.registry.eieio file had grown to about 27M. I > noticed this because saving it was taking a distinctly noticable > amount of time. > > The gnus registry setup page has two examples of > gnus-registry-max-entries, 2,500 and 50,000. I had mine set to 20,000. > > I set it back to 2,500, started gnus, saved the file (and saw a message > about saving 2256 entries) and quit gnus. > > My .gnus.registry.eieio file is now 21M. It's pretty surprising that reducing the number of saved entries by a factor of ten only reduced the file size by 25% or so. > I wonder if, perhaps, something has gone wrong. I suppose I could just > delete the registry file and let it start over, but I wonder if > there’s something less dramatic that I could do to trim it back. Theoretically, reducing `gnus-registry-max-entries' is what you do to trim it back! What's your value of `gnus-registry-track-extra'? That might contribute to a larger file size. > And since I’m asking, of 2,500 and 50,000, which is the more > reasonable max entries size? It totally depends on what you use the registry for. By default it really doesn't do anything. It only comes into play if you use it to store custom flags, or use it in splitting rules to split mail to its parent, or use it for some other nefarious purpose. I think it can sometimes be used in thread gathering? I forget. Anyway, it depends on what you're using it for. If splitting, then you want a fairly large registry, so it stands a good chance of finding the parent. If storing custom information, maybe something smaller, because you're unlikely to be storing custom information for 50,000 messages. Hth, Eric