From unknown Tue Aug 19 02:53:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12789 <12789@debbugs.gnu.org> To: bug#12789 <12789@debbugs.gnu.org> Subject: Status: threads - proc-map - multicore issue Reply-To: bug#12789 <12789@debbugs.gnu.org> Date: Tue, 19 Aug 2025 09:53:23 +0000 retitle 12789 threads - proc-map - multicore issue reassign 12789 guile submitter 12789 David Pirotte severity 12789 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 02 20:11:13 2012 Received: (at submit) by debbugs.gnu.org; 3 Nov 2012 00:11:13 +0000 Received: from localhost ([127.0.0.1]:46290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TURKS-0007I1-9P for submit@debbugs.gnu.org; Fri, 02 Nov 2012 20:11:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59074) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TURKQ-0007Hr-6H for submit@debbugs.gnu.org; Fri, 02 Nov 2012 20:11:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TURHd-0006a4-HP for submit@debbugs.gnu.org; Fri, 02 Nov 2012 20:08:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:44564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TURHd-0006a0-E1 for submit@debbugs.gnu.org; Fri, 02 Nov 2012 20:08:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TURHb-0000SO-Tm for bug-guile@gnu.org; Fri, 02 Nov 2012 20:08:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TURHU-0006Yl-St for bug-guile@gnu.org; Fri, 02 Nov 2012 20:08:15 -0400 Received: from maximusconfessor.all2all.org ([62.58.108.13]:59310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TURHU-0006VP-MJ for bug-guile@gnu.org; Fri, 02 Nov 2012 20:08:08 -0400 Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 1B43DA04C0EB for ; Sat, 3 Nov 2012 01:07:46 +0100 (CET) Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id AZOjNp6SLAOv for ; Sat, 3 Nov 2012 00:39:23 +0100 (CET) Received: from capac (unknown [177.149.114.93]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id E5385A04C0EA for ; Sat, 3 Nov 2012 01:07:38 +0100 (CET) Date: Fri, 2 Nov 2012 22:07:27 -0200 From: David Pirotte To: bug-guile@gnu.org Subject: threads - proc-map - multicore issue Message-ID: <20121102220727.31148af5@capac> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Hello, 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)))' Cheers, David From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 03 17:09:51 2012 Received: (at 12789-done) by debbugs.gnu.org; 3 Nov 2012 21:09:51 +0000 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 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 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) 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) 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) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: David Pirotte Subject: Re: bug#12789: threads - proc-map - multicore issue References: <20121102220727.31148af5@capac> Date: Sat, 03 Nov 2012 22:06:50 +0100 In-Reply-To: <20121102220727.31148af5@capac> (David Pirotte's message of "Fri, 2 Nov 2012 22:07:27 -0200") Message-ID: <87objegzv9.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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)))' [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12789-done Cc: 12789-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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)))' [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 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. From unknown Tue Aug 19 02:53:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Dec 2012 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator