From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#12789: threads - proc-map - multicore issue Date: Sat, 03 Nov 2012 22:06:50 +0100 Message-ID: <87objegzv9.fsf@gnu.org> References: <20121102220727.31148af5@capac> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1351976832 12273 80.91.229.3 (3 Nov 2012 21:07:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2012 21:07:12 +0000 (UTC) Cc: 12789-done@debbugs.gnu.org To: David Pirotte Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Nov 03 22:07:21 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TUkw4-0000Bo-V1 for guile-bugs@m.gmane.org; Sat, 03 Nov 2012 22:07:21 +0100 Original-Received: from localhost ([::1]:56123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUkvv-0007NK-Kt for guile-bugs@m.gmane.org; Sat, 03 Nov 2012 17:07:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUkvt-0007Mj-1f for bug-guile@gnu.org; Sat, 03 Nov 2012 17:07:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUkvr-0000T0-Fu for bug-guile@gnu.org; Sat, 03 Nov 2012 17:07:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUkvr-0000Sp-92 for bug-guile@gnu.org; Sat, 03 Nov 2012 17:07:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TUkyg-0004Zh-UI for bug-guile@gnu.org; Sat, 03 Nov 2012 17:10:02 -0400 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-guile@gnu.org Resent-Date: Sat, 03 Nov 2012 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 12789 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 12789@debbugs.gnu.org, ludo@gnu.org Original-Received: via spool by 12789-done@debbugs.gnu.org id=D12789.135197699117561 (code D ref 12789); Sat, 03 Nov 2012 21:10:02 +0000 Original-Received: (at 12789-done) by debbugs.gnu.org; 3 Nov 2012 21:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:47630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUkyU-0004ZC-TL for submit@debbugs.gnu.org; Sat, 03 Nov 2012 17:09:51 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:44297) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUkyT-0004Z5-6T for 12789-done@debbugs.gnu.org; Sat, 03 Nov 2012 17:09:50 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id E8873A770; Sat, 3 Nov 2012 22:06:50 +0100 (CET) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hTzUH2rwctxg; Sat, 3 Nov 2012 22:06:50 +0100 (CET) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 7CA36A76F; Sat, 3 Nov 2012 22:06:50 +0100 (CET) In-Reply-To: <20121102220727.31148af5@capac> (David Pirotte's message of "Fri, 2 Nov 2012 22:07:27 -0200") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6559 Archived-At: Hi David, David Pirotte skribis: > in the following example, the cores, 4 in my case, are used for a couple = of seconds, > then at some point only one core is used: > > guile -c '(begin (use-modules (ice-9 threads)) (par-map 1+ (iota 400000))= )' I fixed it just after we discussed it on IRC, in commit 134c95f of stable-2.0. Thanks again for the report! Ludo=E2=80=99.