From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iFJdDrRTLmE8XgEAgWs5BA (envelope-from ) for ; Tue, 31 Aug 2021 18:07:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 01j9CbRTLmFHBAAA1q6Kng (envelope-from ) for ; Tue, 31 Aug 2021 16:07:16 +0000 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 D019D18941 for ; Tue, 31 Aug 2021 18:07:15 +0200 (CEST) Received: from localhost ([::1]:49508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL6I6-00084d-PJ for larch@yhetil.org; Tue, 31 Aug 2021 12:07:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL6Hv-000804-QJ for guix-patches@gnu.org; Tue, 31 Aug 2021 12:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mL6Hv-0006JH-HH for guix-patches@gnu.org; Tue, 31 Aug 2021 12:07:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mL6Hu-0006eF-4Q for guix-patches@gnu.org; Tue, 31 Aug 2021 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49919] [PATCH core-updates 0/2] build-system/go: Enable parallelism. References: Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Aug 2021 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 49919@debbugs.gnu.org Received: via spool by 49919-submit@debbugs.gnu.org id=B49919.163042599225513 (code B ref 49919); Tue, 31 Aug 2021 16:07:02 +0000 Received: (at 49919) by debbugs.gnu.org; 31 Aug 2021 16:06:32 +0000 Received: from localhost ([127.0.0.1]:35240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL6HM-0006dM-4e for submit@debbugs.gnu.org; Tue, 31 Aug 2021 12:06:32 -0400 Received: from out1.migadu.com ([91.121.223.63]:45487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL6HF-0006d9-Vs for 49919@debbugs.gnu.org; Tue, 31 Aug 2021 12:06:27 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1630425979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=9WIOgJyqw0qPMw1X2uIyHkn8zpvk07vmFGwbR16LA60=; b=KOh9uuGeaIi9RD46PdOFNWGdmkndUi3vhqKETBgNt/DMyVSwr4SGWeikxvGR80diAuPTPI HK+ysTJ5dib1I8V0BNIV/fek3JtTKrUbyDVSMz6AVL4XCUvD7Eb4frX9torai/dt9oRQAS BbhwWV/8iacnFaO67WsrDXDsq9jcrZA= From: Sarah Morgensen Date: Tue, 31 Aug 2021 09:06:17 -0700 In-Reply-To: zimoun's message of "Tue, 31 Aug 2021 12:03:19 +0200 (5 hours, 56 minutes, 10 seconds ago)" Message-ID: <86fsup1tvq.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: iskarian@mgsn.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630426036; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9WIOgJyqw0qPMw1X2uIyHkn8zpvk07vmFGwbR16LA60=; b=etuzF5lNHHN/TOo5Kt6XCA/JCKsBfhrCBfEo8Nd57pIrevPYg+xXe5k+C754NEv69TIBR+ K42INsGL+WVVnYg7ftHNKLC15MK0DQokJz5aLmr2QvZ14VWMIyKq6JG4kULCPDaKz6AX+4 zWR0jNb7L38eHpTEW2dNRdmPEhNcVpa6PLeNm6Qy+5Gl/XCi8BRsmeUn7dG6Esh/99cPKo 2+GcuNq9yFKznI3sva/vxk8S2sHU/SwgD81x4hzIanct9IeiZdh4e19ClbkuAOxDDwvul7 Ky2CoPawJx2avn69QARSkA3aOFYn7xyqBTqbHkKbQpqjT88dMqyyknC7KHsRUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630426036; a=rsa-sha256; cv=none; b=DkBsOP9RO0VuSiDLb7X1SSsmTeQe1i1PwPPXYCXw/zBN55cCDyfBtSNOuJY+LuV28Huq9Q yVi3Kls7Kn5YGJ3L2n1ef3LVZW6SFfpfH+ybC81IFQoN6tOJ+R8DFlp8fTRO7+FsmGvote JavnzNziHTUJ80kDEP/2fIMtkFWg4ZZbIw4rfquXRJxig8BmJWJEUKcGPwK8w2ayJfR06p Dm7NQm1OKsS9e58zJi6reANI+3Wx9sJQs+H5yh+/J3KJ7On7a2h2yucGxgLVTRIKb7DgOm y4rL3847v4W53lsIAqa2zBMZUO3apNnsHdNCFH+iNlNDc/u3QUOV56WHYBofZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=KOh9uuGe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=KOh9uuGe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D019D18941 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: HyXgVCJtg/hB Hello, zimoun writes: > Hi, > > On Fri, 06 Aug 2021 at 21:45, Sarah Morgensen wrote: > >> These patches give the Go build system the standard parallelism levers. = I would >> have thought that Go was already detecting the correct number for GOMAXP= ROCS, >> but after I made this same change for the bootstrapping Go compiler, Efr= aim >> found that it cut the build time nearly in half [0]. >> >> [0] https://issues.guix.gnu.org/49616 > > Honoring the parallelism, do the Go packages still build > deterministically? If not, the default should be still non parallel, as > it is for Haskell packages, IIRC. However, maybe there is room for a > package transformation =E2=80=99--with-parallelism=E2=80=99 to easily tur= n on when speed > matters more than reproducibility. I haven't personally tested this aside from a few casual runs with --check, but from everything I understand about Go, parallelism does not affect build determinism. Each build unit should still be compiled by a single worker sequentially, but parallelism enables separate build units to be compiled in parallel. -- Sarah