From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: Limiting parallelism using futures, parallel forms and fibers Date: Fri, 10 Jan 2020 00:27:49 +0100 Message-ID: <7f312de3-2eed-a0dd-18c4-60cf3c6d3c9c@posteo.de> References: <04cb0461-18a1-ef17-4db7-2475c7c806e6@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="92367"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 Cc: Guile User To: linus.internet@fastmail.se Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jan 10 00:28:29 2020 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iphDu-0009u6-Kd for guile-user@m.gmane.org; Fri, 10 Jan 2020 00:28:18 +0100 Original-Received: from localhost ([::1]:38638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iphDs-0008JT-W2 for guile-user@m.gmane.org; Thu, 09 Jan 2020 18:28:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iphDa-0008Hn-Ka for guile-user@gnu.org; Thu, 09 Jan 2020 18:27:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iphDX-0004Vq-KO for guile-user@gnu.org; Thu, 09 Jan 2020 18:27:58 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:56531) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iphDX-0004Cj-1j for guile-user@gnu.org; Thu, 09 Jan 2020 18:27:55 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5501B2400E6 for ; Fri, 10 Jan 2020 00:27:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1578612471; bh=x5aXBmtZFKqakgDAuXuTFK4lvupo7k5MnHCgIbcr4X4=; h=Subject:To:Cc:From:Date:From; b=qVqFhOaWUMpeKJZAsX3Kn7TkbMr5YYrUSQL6z4qSv5gEKgHyWE0brjcRA8ZPLQnCL UbZRlO8Id6tPzzD1GZL7eDuA++/SPeaMVFw3rvCEC4gOBkFjLUQNSfd1XMM4kZM1W6 cKLKlgXZ+W73Jpwq0t+KzlKN9YtIUveh2PyynlzV4ghodmJdaQe+h50CItOCFTdU8i QsAMz2eOf4RZiZhfHfCfROHo341lcmkxj5ip1KE4l1uUPpzv+me4TKOWN1tJU2SEeT pky5dd491surROrSe86K/cTEanP7q1HWBvmACSqxSTVcvoganS5AsjUCcvYEChzqar jllhQkRU1Toog== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47v2N64LP3z9rxN; Fri, 10 Jan 2020 00:27:50 +0100 (CET) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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:16022 Archived-At: Thanks for your suggestion, I will take it into account. Regards, Zelphir On 1/8/20 9:11 AM, Linus Bj=C3=B6rnstam wrote: > Hi!=20 > > I don't have much more input than to say that futures use a built in th= read pool that is limited to (current-processor-count) threads. That coul= d maybe be modified using setaffinity ? > > Hope this helps. >