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: PURESIZE increased (again) Date: Sat, 03 Jun 2006 14:53:28 +0300 Message-ID: References: <87lku5u6tx.fsf@pacem.orebokech.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1149335628 23814 80.91.229.2 (3 Jun 2006 11:53:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2006 11:53:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 03 13:53:46 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FmUhK-00080A-1p for ged-emacs-devel@m.gmane.org; Sat, 03 Jun 2006 13:53:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmUhJ-0000uN-L2 for ged-emacs-devel@m.gmane.org; Sat, 03 Jun 2006 07:53:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FmUh7-0000th-FK for emacs-devel@gnu.org; Sat, 03 Jun 2006 07:53:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FmUh6-0000tV-1I for emacs-devel@gnu.org; Sat, 03 Jun 2006 07:53:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmUh5-0000tS-SO for emacs-devel@gnu.org; Sat, 03 Jun 2006 07:53:27 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FmUnm-0000dT-6S for emacs-devel@gnu.org; Sat, 03 Jun 2006 08:00:22 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-158-16.inter.net.il [80.230.158.16]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DOJ91956 (AUTH halo1); Sat, 3 Jun 2006 14:53:25 +0300 (IDT) Original-To: emacs-devel@gnu.org In-reply-to: (message from Reiner Steib on Tue, 30 May 2006 21:40:30 +0200) 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:55659 Archived-At: > From: Reiner Steib > Cc: emacs-devel@gnu.org > Date: Tue, 30 May 2006 21:40:30 +0200 > > > Meanwhile, I will try to prepare a GDB session that we could use to > > compare the pure space allocation during loadup. > > I just wanted to state that I still need to use > "-DSITELOAD_PURESIZE_EXTRA=100000" to avoid an overflow on x86_64 > (GNU/Linux) even after the recent increase of BASE_PURESIZE[1]. 90000 > is not sufficient. On i686 (GNU/Linux) I need 140000 (130000 is not > sufficient). I've looked around some more with GDB, and here's what I'd like you to do. Run temacs under GDB, and type these commands: (gdb) b Fload (gdb) commands >p file >xstring >end (gdb) r -batch -l loadup Then, whenever Fload is called, GDB will display the name of the file that is about to be loaded. When it shows "emacs-lisp/byte-run", type the following commands: (gdb) set height 0 (gdb) b alloc.c:4718 (gdb) commands >bt 2 >xbacktrace >continue >end (gdb) c This will run for a while until it finishes loading byte-run, and stop on the next call to Fload. At that time, please copy everything that GDB displayed until that point, and put it somewhere on the Web where I can read it (or post here). I will then compare with what I see on my system. (If possible, please do this with a 32-bit build, as my access top a 64-bit host is sporadic.) TIA