From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: cell heap usage in 1.8 vs 1.6 Date: Thu, 23 Aug 2007 10:58:23 +1000 Message-ID: <87lkc383tc.fsf@zip.com.au> References: <87ir7ff1ho.fsf@zip.com.au> <87lkc5q2b9.fsf@chbouib.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1187830735 31599 80.91.229.12 (23 Aug 2007 00:58:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 00:58:55 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Aug 23 02:58:53 2007 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IO12C-0006rX-TI for guile-devel@m.gmane.org; Thu, 23 Aug 2007 02:58:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IO12C-0002ns-Ey for guile-devel@m.gmane.org; Wed, 22 Aug 2007 20:58:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IO129-0002nc-Ml for guile-devel@gnu.org; Wed, 22 Aug 2007 20:58:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IO128-0002nQ-Bf for guile-devel@gnu.org; Wed, 22 Aug 2007 20:58:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IO128-0002nN-5j for guile-devel@gnu.org; Wed, 22 Aug 2007 20:58:48 -0400 Original-Received: from mailout1-1.pacific.net.au ([61.8.2.208] helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IO127-0004Ey-Js for guile-devel@gnu.org; Wed, 22 Aug 2007 20:58:47 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id 946683977AA for ; Thu, 23 Aug 2007 10:58:43 +1000 (EST) Original-Received: from localhost (ppp2D55.dyn.pacific.net.au [61.8.45.85]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 1013927432 for ; Thu, 23 Aug 2007 10:58:43 +1000 (EST) Original-Received: from gg by localhost with local (Exim 4.67) (envelope-from ) id 1IO11j-0001G4-OZ for guile-devel@gnu.org; Thu, 23 Aug 2007 10:58:23 +1000 In-Reply-To: <87lkc5q2b9.fsf@chbouib.org> ("Ludovic =?iso-8859-1?Q?Court?= =?iso-8859-1?Q?=E8s=22's?= message of "Tue, 21 Aug 2007 00:16:42 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:6737 Archived-At: ludo@gnu.org (Ludovic Court=E8s) writes: > > Did you try running it with HEAD? There were small GC-stats "cleanups" > committed there that are not in 1.8, so it may be worth trying. Ah yes, it's better there. What bit is the operative fix? Both the per-freelist min_yield adjust and the counting in scm_i_sweep_all_segments look likely. (Though it still all looks complicated, and sprayed around a dozen functions :-( > Also, did you try fiddling with the `GUILE_MIN_YIELD_{1,2}' variables? No. I agree with the yield fractions at the point they're applied, I just think the supposed collected cells (ie. unused space) in the calculation is too small, making the calculation think the heap should be grown, when in fact there's plenty of heap already. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel