From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Pure space and overflow question Date: Fri, 21 Feb 2020 11:53:58 +0000 Message-ID: References: <83y2sxjam7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="112056"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 21 12:54:39 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j56tD-000T0z-Hz for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Feb 2020 12:54:39 +0100 Original-Received: from localhost ([::1]:55866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j56tC-0005jz-Iy for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Feb 2020 06:54:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41831) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j56si-0005KT-QV for emacs-devel@gnu.org; Fri, 21 Feb 2020 06:54:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j56sh-00008j-FV for emacs-devel@gnu.org; Fri, 21 Feb 2020 06:54:08 -0500 Original-Received: from mx.sdf.org ([205.166.94.20]:55688) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j56sb-00004r-LK; Fri, 21 Feb 2020 06:54:01 -0500 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 01LBrw7Y023224 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 21 Feb 2020 11:53:58 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 01LBrwMo007185; Fri, 21 Feb 2020 11:53:58 GMT In-Reply-To: <83y2sxjam7.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Feb 2020 21:56:48 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245008 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Date: Thu, 20 Feb 2020 18:04:04 +0000 >> >> Looking at >> https://www.gnu.org/software/emacs/manual/html_node/elisp/Pure-Storage.html >> my understanding is that when pure space is overflowed no garbage >> collection happen anymore. >> >> But I'm running an Emacs where I can evaluate: >> >> pure-space-overflow -> t >> >> (garbage-collect) -> ((conses 16 1469392 534996) ....) >> >> gc-elapsed -> 107.396662957 >> >> Is this expected? > > If your Emacs was pdumped, yes. > If just a specific configuration needs a little more pure space what's the way we prefer to handle this? - Define SYSTEM_PURESIZE_EXTRA from the the configure.ac - Just change SYSTEM_PURESIZE_EXTRA in puresize.h (as the doc says) - Change it there but with an ifdef only for the specific configuration - Something else? Thanks Andrea -- akrl@sdf.org