From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGybKsm8n2BxCAAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 14:21:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mBNbJsm8n2ApCAAA1q6Kng (envelope-from ) for ; Sat, 15 May 2021 12:21:29 +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 30B9025A7E for ; Sat, 15 May 2021 14:21:29 +0200 (CEST) Received: from localhost ([::1]:54216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhtIO-0004C1-Bm for larch@yhetil.org; Sat, 15 May 2021 08:21:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhtHy-0004AT-L5 for guix-patches@gnu.org; Sat, 15 May 2021 08:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhtHy-0008Ne-Dd for guix-patches@gnu.org; Sat, 15 May 2021 08:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhtHy-0007KN-82 for guix-patches@gnu.org; Sat, 15 May 2021 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48435] [PATCH] Start enabling substitutes from bayfront. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 May 2021 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48435 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 48435@debbugs.gnu.org Received: via spool by 48435-submit@debbugs.gnu.org id=B48435.162108125828136 (code B ref 48435); Sat, 15 May 2021 12:21:02 +0000 Received: (at 48435) by debbugs.gnu.org; 15 May 2021 12:20:58 +0000 Received: from localhost ([127.0.0.1]:47815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhtHu-0007Jk-6a for submit@debbugs.gnu.org; Sat, 15 May 2021 08:20:58 -0400 Received: from mira.cbaines.net ([212.71.252.8]:37436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhtHs-0007Jb-0r for 48435@debbugs.gnu.org; Sat, 15 May 2021 08:20:56 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 1E52E27BC78; Sat, 15 May 2021 13:20:55 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 7939a586; Sat, 15 May 2021 12:20:54 +0000 (UTC) References: <20210515100822.11784-1-mail@cbaines.net> <874kf4jm6k.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines In-reply-to: <874kf4jm6k.fsf@gnu.org> Date: Sat, 15 May 2021 13:20:49 +0100 Message-ID: <87sg2ochni.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1621081289; 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: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; bh=2uZAEeucuM2C4L1KGFFbLiJEAVQz0N0GtqRTOhc5HqM=; b=JpdeQ63hSEux/2O9kNVARoFSgW7rjb10wpOaXBVn58bAJ+olTiUiWjmpLR4bMRUpXcQHPP tX1Ptw4jrO3jDLC0wn8ZE4okYM+V5VQ1OKRJwBYJ0SszEiORxCrlB5fPVKCO/cKcbjKgp7 NNYR6X8YXsfOqiQKmVDZqu08IejGcPK9ajj3G615CZo/2o+B7LjUSQIA1PYEIbWsWQsX/G 9ju/wku7TOW5hunk5qtrRRa8i9Lo3HpAhzA0brF6eAMww4j9Tl/TWZB2Z6JbP0g6l2Sene wP1GHZXNw7v2X9R6rNAR5Q0n4zpV/3Gh/Y9319uxsZ/ntxUIAwZrxvzpAIy9QA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621081289; a=rsa-sha256; cv=none; b=ErdIbklF5PmSidWzDb6JK0gUVyEzG8MYLv+7FVfQtYGorTVb1p/Qpr0xMPgTUM6HrqIVjf 9nYii4m2P2BovCMWmb5LWs/JNSgazqODPpp6z+CLHqGep4brGiTT6sLYYYORkqncqceL37 onXnlzeXd11LgAo5mwJiBtWUhfQS+1wdgt7TolaVOF5s8MUxmSmBIkawUF5LcsxtWnhEKb IRadMrBRDyDATfWT7NBjMbJto/yyC9iGLrILHANG0+DRU3zZGfr+ubMZu+X1xR8nMvsPho RAyafj3bHVuIpdelHYlnfn3ouMJSFd2QCl/DVZGE6TgICXw01TJS93yyg2Et4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 30B9025A7E X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: G6znZJs4jXWr --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mathieu Othacehe writes: > Hello Chris, > >> + guix_substitute_urls=3D"https://ci.guix.gnu.org https://bayfront.guix= .gnu.org" > > What is the rationale behind adding a new substitution server? I feel > like having two substitute servers will make things more complex in term > of maintenance. > > Having both servers compute the same set of substitutes is also not > great from an energetic and resource saving point of view. Hey, I should have probably written a cover letter, but this patch is me starting to try and work out the changes involved in getting substitutes from bayfront to general Guix users, but the discussion has been happening in this thread [1]. 1: https://lists.gnu.org/archive/html/guix-devel/2021-05/msg00241.html Bayfront has been around for a while, and has been serving substitutes, although I'm not sure it's provided much value to users in that time. I hope that can change with switching to using the Guix Build Coordinator though, that happened around a month ago, and it's slowly building things and catching up. I guess there's a greater need to maintain it if starts getting used by more users, so I do think the maintenance involved is something to consider. Personally, I see the arguments for having multiple substitute servers getting stronger over time. Multiple independent substitute servers would provide more reliability than a single source, as well as enabling things like K of N trust in substitutes [2]. 2: https://lists.gnu.org/archive/html/guix-devel/2020-06/msg00179.html In terms of energy and resources, currently there are 5 machines in use, most of which were mostly idle before being put to use building things for substitutes. While having them build things does use more power than having them idle, I think the value provided, even if that's providing exactly the same bytes as ci.guix.gnu.org, is worth the cost, for the reasons I give above. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmCfvKFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XerPw//S8ti4XHBYxhCMY0vDLuM16HkdrLtgt82 zwQbOCg6DbrKPLlL5LItz+myxKzOuV3a0yubOKg+kQ0AaUO9+ANKUNBi0WSAKgon 6vlxo7l7RI1+HnRpixuKnUOAUdR8YEtx9cD9ttlhATx+FKYTFzwa1Sh8ZpSFmOUL bWNcAgSzZymqOoM9H/xyaR4QzO3n4V8vVK390WCi2Z9oq/h8NVgr6PA4EW6WFOFX G28WmmQ1qVPtoYx3m95mb4ixw0AGDo+qkTYhCGf1hIUIM8Yoa8E4a70hYQw4rzFa FygjG37pY4nJhtI+qUK+n8yDfgm2JAw555cPhgghkqOQJtW0arogvqE1oKNM19JR po4ObOH6bd/X9oq+fEgbJttEzSHjaKotFe70odURuwoYGLhKNX71kxyLgUbbBazE RBM5T9rNPlzeb9CrFD63MK6pJFt+tkGRfQRvP7V6Nqr+jcS+vCSmESg6phWkJZtq E3LbSK28wJlOZzsrFGoMIQF8Cli7MUTPqc1SPUPS/KcMhTh3EHfuQjw5mexCWZOE lou3Qq6/t1As9mywZt66LUTjJ0HHtsAcyLqFgpUJrOr0fIB3yB2nUcQ9GEN853ma kknqiTDr/aiUKZyHSjm2y8O8W1QSXBzYsx2mYqkNMUbG90lSu4bWdSV8JlsZa9Ru H9bWzE6kY9I= =AHnt -----END PGP SIGNATURE----- --=-=-=--