From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Serious GC problem in HEAD Date: Tue, 07 Nov 2006 10:19:41 +0000 Message-ID: <878xin36f6.fsf@ossau.uklinux.net> References: <874pte9sz3.fsf@ossau.uklinux.net> <87slgxkjwf.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1162894830 13236 80.91.229.2 (7 Nov 2006 10:20:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 10:20:30 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 07 11:20:27 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 1GhO3v-0006vK-0P for guile-devel@m.gmane.org; Tue, 07 Nov 2006 11:20:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhO3t-0001ce-GR for guile-devel@m.gmane.org; Tue, 07 Nov 2006 05:20:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhO3o-0001c9-2N for guile-devel@gnu.org; Tue, 07 Nov 2006 05:20:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhO3m-0001bc-GB for guile-devel@gnu.org; Tue, 07 Nov 2006 05:20:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhO3m-0001bT-6c for guile-devel@gnu.org; Tue, 07 Nov 2006 05:20:02 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhO3l-0003RR-WE for guile-devel@gnu.org; Tue, 07 Nov 2006 05:20:02 -0500 Original-Received: from laruns (host86-145-51-69.range86-145.btcentralplus.com [86.145.51.69]) by mail3.uklinux.net (Postfix) with ESMTP id 15AF340AE33 for ; Tue, 7 Nov 2006 10:20:01 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id E8DC06F71F for ; Tue, 7 Nov 2006 10:19:41 +0000 (GMT) Original-To: Guile Development In-Reply-To: <87slgxkjwf.fsf@laas.fr> ( =?iso-8859-1?q?Ludovic_Court=E8s's_message_of?= "Mon, 06 Nov 2006 10:24:16 +0100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:6206 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > Hi, > > Neil Jerram writes: > >> That's the latest position. My guess is that the long periods where >> nothing happens except CPU burning are huge GCs, and that some GC bug >> affecting multiple threads means that these GCs never actually free >> anything (or not as much as they should, anyway). Any ideas or other >> datapoints would be much appreciated. Does the Boehm GC handle >> multiple threads? If it does, perhaps I should try out Ludovic's >> BGC-Guile. > > Is it 1.8 or HEAD? It's HEAD. I'll try 1.8 to see if that gives different behaviour. > Actually, I'm suspecting my gc-stats patch [0] to cause some GC problems > (although this is quite unexpected since it touches only stat > information). For instance, consider the following program: > > $ guile -e '(let loop ((a 0)) (loop a))' > > If `guile' is HEAD, then the memory consumption of that process (as > shown by `top') continuously increases and at a pretty high rate (!). > If `guile' is 1.8, then that does not happen. Interesting. Is your gc-stats patch the only change that seems relevant? > I will try to dig it further and see whether/what can be done. In the > meantime, you could try to revert the patch. Thanks for your input. When I get a little time, I'll experiment with this. Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel