From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: BASE_PURESIZE Date: Sat, 24 Oct 2009 12:05:31 +0200 Message-ID: <83skd9f6ok.fsf@gnu.org> References: <8363a6gytm.fsf@gnu.org> <834opqgpzs.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1256378854 26181 80.91.229.12 (24 Oct 2009 10:07:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2009 10:07:34 +0000 (UTC) To: schwab@linux-m68k.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 24 12:07:27 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1dWd-00033g-8t for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2009 12:07:07 +0200 Original-Received: from localhost ([127.0.0.1]:34625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1dWc-0008CF-ED for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2009 06:07:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1dWS-0008Ay-OX for emacs-devel@gnu.org; Sat, 24 Oct 2009 06:06:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1dWN-00087m-Jj for emacs-devel@gnu.org; Sat, 24 Oct 2009 06:06:55 -0400 Original-Received: from [199.232.76.173] (port=52682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1dWN-00087c-Cs for emacs-devel@gnu.org; Sat, 24 Oct 2009 06:06:51 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:61100) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N1dWM-00042p-QU for emacs-devel@gnu.org; Sat, 24 Oct 2009 06:06:51 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KS000H00IRC5Y00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sat, 24 Oct 2009 12:05:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.77.20]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KS000H7ZK16GT30@a-mtaout21.012.net.il>; Sat, 24 Oct 2009 12:05:31 +0200 (IST) In-reply-to: <834opqgpzs.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116358 Archived-At: > Date: Fri, 23 Oct 2009 16:10:47 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > From: Andreas Schwab > > Date: Fri, 23 Oct 2009 13:39:37 +0200 > > Cc: emacs-devel@gnu.org > > > > Eli Zaretskii writes: > > > > > Isn't the current definition of BASE_PURESIZE too large? > > > > Fits quite well here (pure_size - pure_bytes_used == 79770). > > What configuration is that? > > Anyway, the numerical constant is not supposed to be tuned to the > largest user of pure[], that's what SYSTEM_PURESIZE_EXTRA and friends > are for. > > But since Dan says he has changes in the pipe to use that up, I guess > that's okay. After Dan committed his changes that use more purecopy, and after this change: 2009-10-23 Andreas Schwab * puresize.h (PURESIZE_RATIO): Decrease to 11/7. pure space overflows on a 64-bit GNU/Linux host, and I need to enlarge the 1430000 constant to at least 1460000, i.e. by 30KB, to fix that. On a 32-bit Windows, the old constant of 1430000 still works (there's 70KB of spare pure space in the dumped Emacs). So I'm not sure if the problem is with the ratio or with something else. For the record, the extra use of purecopy caused the pure_bytes_used value to go up by 52KB on 32-bit Windows, and by 92KB on 64-bit GNU/Linux. So it looks like the ratio is actually closer to 9/5 than to either the old 10/6 or the new 11/7. Or maybe I'm missing something.