From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: GC improvements Date: Tue, 03 Jan 2006 11:16:04 +0100 Organization: LAAS-CNRS Message-ID: <87mzid62hn.fsf@laas.fr> References: <87slsnk9u0.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136290642 8701 80.91.229.2 (3 Jan 2006 12:17:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2006 12:17:22 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 03 13:17:19 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Etl6N-0007iI-9L for guile-devel@m.gmane.org; Tue, 03 Jan 2006 13:17:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Etl7z-0003C0-PW for guile-devel@m.gmane.org; Tue, 03 Jan 2006 07:18:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EtjMf-0000Dr-Ks for guile-devel@gnu.org; Tue, 03 Jan 2006 05:26:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EtjLA-00007h-Cc for guile-devel@gnu.org; Tue, 03 Jan 2006 05:24:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtjEk-00088h-5Q for guile-devel@gnu.org; Tue, 03 Jan 2006 05:17:51 -0500 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EtjFw-000782-6Z for guile-devel@gnu.org; Tue, 03 Jan 2006 05:19:04 -0500 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id k03AG6DK022937; Tue, 3 Jan 2006 11:16:06 +0100 (CET) Original-To: hanwen@xs4all.nl X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 14 =?iso-8859-1?Q?Niv=F4se?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: hanwen@xs4all.nl, guile-devel@gnu.org In-Reply-To: (Han-Wen Nienhuys's message of "Fri, 23 Dec 2005 11:29:57 +0000 (UTC)") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5573 Archived-At: hanwen@byrd.xs4all.nl (Han-Wen Nienhuys) writes: > I think that GUILE creates garbage as a side effect of evaluating > code. If think that nothing needs to be swept, try disabling GC during > startup, and see how well it performs memory-wise. I did try commenting out all calls to `scm_i_gc ()' and running my workload again. Actually, it doesn't make a big difference: a lot of time is still spent in `scm_i_sweep_card ()', called from `scm_i_sweep_some_cards ()' and friends. > For startup time, I think the best (as in: quickest) would be undump a > previous run, instead of recalculating all the initialization on every > run. Not only does this save on GC time, it also bypasses all evaluation. > Isn't this what Emacs also does? Don't know, we'd have to investigate further. Still, that wouldn't fix our greedy-GC problem. Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel