From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Hans_=C3=85berg?= Newsgroups: gmane.lisp.guile.user Subject: Re: GC thread performance Date: Tue, 28 Nov 2017 00:44:08 +0100 Message-ID: <848C0138-B297-42C2-B45A-562176B88025@telia.com> References: <192F0231-DBB4-40D4-B3D6-0BAAB254CC59@telia.com> <87mv37z4q0.fsf@elektro.pacujo.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1511826293 10409 195.159.176.226 (27 Nov 2017 23:44:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 23:44:53 +0000 (UTC) Cc: Guile User To: Marko Rauhamaa Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Nov 28 00:44:48 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJT4v-00024g-A3 for guile-user@m.gmane.org; Tue, 28 Nov 2017 00:44:45 +0100 Original-Received: from localhost ([::1]:35268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJT52-0005Dq-IO for guile-user@m.gmane.org; Mon, 27 Nov 2017 18:44:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJT4S-0005Dl-1H for guile-user@gnu.org; Mon, 27 Nov 2017 18:44:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJT4O-0007GQ-4m for guile-user@gnu.org; Mon, 27 Nov 2017 18:44:16 -0500 Original-Received: from v-smtpout2.han.skanova.net ([81.236.60.155]:52101) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJT4N-0007G0-Sy for guile-user@gnu.org; Mon, 27 Nov 2017 18:44:12 -0500 Original-Received: from [10.0.1.4] ([90.227.203.185]) by cmsmtp with SMTP id JT4LegPbtAXuLJT4LeWuHc; Tue, 28 Nov 2017 00:44:09 +0100 In-Reply-To: <87mv37z4q0.fsf@elektro.pacujo.net> X-Mailer: Apple Mail (2.3445.4.7) X-CMAE-Envelope: MS4wfND0+oewj3gAOTpEZPo9EUdB1vknylsRlUHB5nVTdYmd0Bu1zSZTuJzHQ68PlpGydcbB0XXjD+r9Ze8dC2sRXdhwStvTaYPS5IHFqPJMAK+R29GX8ZkJ uBx5iBu+xPfP7zqLmhr7Hg3kqf51wYie4xUtbQ+3ts/923DxFlxr7nOgDgkXOwUCsfQg9l9vf/9vesyRTJXMdMMMKzerNNyQnPqnorspEMrG0a6OmFJ+hApg X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 81.236.60.155 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14303 Archived-At: > On 28 Nov 2017, at 00:23, Marko Rauhamaa wrote: >=20 > Hans =C3=85berg : >> I saw overhead also for the small allocations, 20-30% maybe. This is >> in a program that makes a lot of allocations relative other >> computations. So that made me wonder about Guile. >=20 > I don't have an answer to your question although I would imagine GC > cannot be effectively scaled across multiple threads. Or perhaps special implementation methods are required. > I generally steer clear of threads and stick to multiple processes = where > parallelism is needed. Indeed, that was I did: just one crucial point.