From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6BW6H5y182EVAwEAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 10:21:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SGRpHJy182HstQAAauVa8A (envelope-from ) for ; Fri, 28 Jan 2022 10:21:32 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 023B035F60 for ; Fri, 28 Jan 2022 10:21:32 +0100 (CET) Received: from localhost ([::1]:38906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDNRj-000164-5w for larch@yhetil.org; Fri, 28 Jan 2022 04:21:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDNQu-00014W-So for help-guix@gnu.org; Fri, 28 Jan 2022 04:20:41 -0500 Received: from [2a00:1450:4864:20::42a] (port=43593 helo=mail-wr1-x42a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDNQj-0006JG-LO for help-guix@gnu.org; Fri, 28 Jan 2022 04:20:31 -0500 Received: by mail-wr1-x42a.google.com with SMTP id v13so9595476wrv.10 for ; Fri, 28 Jan 2022 01:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=user-agent:from:to:subject:message-id:date:mime-version; bh=E1Bj9jnGP/6LJ2F4m1rCmx/sHKgJyF71xbnWQc759WU=; b=xapzjNBGPb3ZnPte7wFhwsIH+jkNM06aPYDKrfqI2rVUbTbphQojhS29c7sAO7mmfm 99rMpqTLs2SBMUW+SmhY8FZp7Zz12xERg+mKTnZYyUJ87m581pa7jX5ZPcYkOnlEmI9M JZPuNuqN+b0LFumSVrriQ9eGIyZ2W9qSZMtrrFts4mQ3dPTrhnzsuESxchW7y2YOcMIW KsprJkyglCRaCQM94bSBx6/b0JcyDLFFdlIbzAkaPurafAzTzpokfttapI+RXU/CaEG3 UBoEJipP2R5G06XVuTsAK7oFo1efn6y/YfA0MzFnCl8Aa3e299Alm1URf3YMP/cD3I8n aB2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=E1Bj9jnGP/6LJ2F4m1rCmx/sHKgJyF71xbnWQc759WU=; b=OX0lOLnv9ip+QLVa1Ge2GvGegtDXCDoZzyiM4iIZ0Vl/c/77/QjHy3H2ADP2W5olql DcLU1YniVc6sub8wmMHhnJanMjTB/Bcoftg2NU3jTCpTCOdAS3DTBT+FBtQ2+FYNAbxT cEBaNA0Kw7sMl4TAvZcnvxxJBCHWw9cvenTprtBnTYOMknYr1ZFzzHqoYG4TcadmurJ6 Pkyj+/IgWVAQhHGpcf+HUZC1kUYvBnRWprBIhHiCNkGcGMOan64L9euO74OxuRduQgVc qvmwh2k2lofC0eC+jG/rKrsvu52Dymu9qd+3xGJdW3LeN6Cjnjod5voOLEGtMeiNpH6M rmVw== X-Gm-Message-State: AOAM532S4U+FhJHPMKW7rP5rIF3yZYAj8dPX/IiOOd8ReDFgdQxpdVIA HkQ8zNlNEoY5RXTKuPOm7F60LUhRWM34tl5sCS8= X-Google-Smtp-Source: ABdhPJzx+l+2eHuvcRbAXJsw5ZqGbqxNSboZ7p/uILKV8jDgTEVYot2NpnDOE2bSUTMtBAckFepfMA== X-Received: by 2002:adf:ed42:: with SMTP id u2mr6167653wro.57.1643361626507; Fri, 28 Jan 2022 01:20:26 -0800 (PST) Received: from xps13 (host-92-17-247-131.as13285.net. [92.17.247.131]) by smtp.gmail.com with ESMTPSA id t18sm4301403wri.34.2022.01.28.01.20.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 01:20:26 -0800 (PST) User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: help-guix@gnu.org Subject: Using --max-jobs Message-ID: <8735l8jjxj.fsf@beadling.co.uk> Date: Fri, 28 Jan 2022 09:20:24 +0000 MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42a (failed) Received-SPF: none client-ip=2a00:1450:4864:20::42a; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x42a.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643361692; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=E1Bj9jnGP/6LJ2F4m1rCmx/sHKgJyF71xbnWQc759WU=; b=Xp+fnablcguE8fMFX0N1g+3tZkJhG1v+y3Qo4DRTk4OZIalk4SS6nKPcALwzBHHVa4qWuh Fynq2T79/3AiuwYJ3O42fgluMkcdG//BZMGDpWvxoeWQOpsWLpJuZGoaCS4+OGiVln1fsd MyjxJY7SplYfyRyu6aVpJdPHq4owFu0V+K2mp6duRCPswgt1FMJU7+XG7vmFpF03us31OU XjkIfrnqP5MoM8maMB2rUsaMqLenXW2tIuMs+Uc7CH75qG3cHRH0xPThR7VXmYu8EUe0fT OwiBPd1JIJUNpisDQRk1C2i4W6aRnoLkt5I7B4+ok43rYRzW/aKvSJ8EC1MNhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643361692; a=rsa-sha256; cv=none; b=jvN+BEfi2ENPYSvEXYrBzR6hykPIYu1KQ1nNgZmWoHCVFWmmRVWnXFZkJXstdBWmW1JXK7 KA0Nupx9n5NJavoHhDAIo/peol5QUQuHNy4R22sDY2L+oekCoQAL74j+K8HA14/yi5TAOm a8WMm52EmnFVlzSlmBhjHOK0+DqV8jZaEl074I0WBIV5mANq2OYDLGaLtxZ38UBD+twSm0 kI71pnWHeF/tjwQ24pKnCIT6Hb3ZQDD5W1jZqF/S7INFBgVqSqhmvUKoLMLyEx2UHMMyxz TVO+MDF+gXb9LtsC0X/6TuD7UB4UHuFbPcewGhxobuVy0DMMFUHJcZ+js7LC3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=xapzjNBG; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=xapzjNBG; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 023B035F60 X-Spam-Score: -9.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: zJrX30thmE3a Hi all, A few questions about running multiple build jobs in parallel: According to the manual the number of build users (eg guixbuilder01) determines how many jobs can be run in parallel. If we have 10 guix builder accounts and do not specify --max-jobs explicitly, does this mean that 10 builds can be done in parallel - i.e 10 invocations of "guix build" will run in parallel, for example? If I set the daemon to --max-jobs=4, will that restrict it to 4 builds in parallel, even if more guix builder accounts exist? If yes, then are further builds queued until an available account becomes available, or do they fail? Are these conditions changed by the introduction of a machines.scm? i.e. if we have a build farm containing 4 machines, each with 10 guix builder accounts, will parallel building still be restricted to the 10 guix builder accounts on the parent machine (the machine with the machines.scm)? I see that settting --max-jobs to 0 and having machines to offload to results in no builds taking place on the parent. I understand if no machines are contactable the build will fail? However, what happens if all machines in the machines.scm are already busy (no slots available)? Does any further build request fail, or is it queued? If --max-jobs is set to 0 on the parent, are builds still restricted by the number of build users on the parent box? Thanks! Phil.