From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix-daemon hitting systemd TasksMax Date: Sun, 17 Apr 2016 00:46:16 +0200 Message-ID: <871t65f9zb.fsf@gnu.org> References: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com> <20160416012901.GB12389@jasmine> <1460812335.1088225.580600441.5A60AF4E@webmail.messagingengine.com> <20160416161438.GB9412@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arYyt-000441-O1 for guix-devel@gnu.org; Sat, 16 Apr 2016 18:46:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arYyq-0002ad-HM for guix-devel@gnu.org; Sat, 16 Apr 2016 18:46:23 -0400 In-Reply-To: <20160416161438.GB9412@jasmine> (Leo Famulari's message of "Sat, 16 Apr 2016 12:14:38 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > On Sat, Apr 16, 2016 at 03:12:15PM +0200, Joram Schrijver wrote: >> I am running Arch Linux, also with systemd 229. It doesn't look like >> Debian applies any patches to systemd, so our installations should >> pretty much be the same. >>=20 >> Perhaps the limit is only reached during the build process of some >> specific packages? > > `guix pull` usually doesn't build any packages, but sometimes it does > need to. My (limited) understanding is that it sometimes needs to build > (or download) updated dependencies of Guix itself. > > Do you think the number of "Tasks" would increase with more cores? I > only have 4 cores on my machines. Maybe if you had more, the builders > spawned by your guix-daemon would run more tasks as a consequence of > using all the cores. Right, =E2=80=98guix pull=E2=80=99 entails a build of Guix using as many co= res as possible, with one process per core (and I think each Guile has two threads, one of which is the signal delivery thread.) So, if the limit on the total number of threads + processes is 512 and you have 256 cores or more (lucky you!), you may hit the limit. Ludo=E2=80=99.