From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8D96DwcHHWfBFwAA62LTzQ:P1 (envelope-from ) for ; Sat, 26 Oct 2024 15:13:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8D96DwcHHWfBFwAA62LTzQ (envelope-from ) for ; Sat, 26 Oct 2024 17:13:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=feKZ+9ma; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729955590; a=rsa-sha256; cv=none; b=XBCidXZCM3DZMm72Uqpv+9faU/ih2pLbBJAw11EOuQU4Vq8hh/26gWju1cV0nBd71M6WFv H8m72d0jUYIDez1QIy47LUBGMN/otizAnbCm3/Xs/zWTlvI5dUdmBXqJklZqD4q9qWiw23 UmXCX+UV1UpzOju3OrlTr3M8lVKPH7qJFV5lMGoNfAtR0FPti7vDIk/Y4cCP8PV/AZ/1vO C1y7OStjPZeFNrdyQlID/J7np3cNIPtBjJDb6ko8mCKLI8hQbqkrpGChsbaZ7PVqAim0+h Vnv+h5CQG/AnLblfOy0ODr7oFu+UNRXeAxHKChFX1pwK2Nn2mWpmKmMNeQCAzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=feKZ+9ma; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729955590; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4OnuxNOUexCfuWbzoLNgxgDCBtxbid3SNyIJDy+P778=; b=Gp16IM4FOFMRFuJR1P+uZ8eJ3b2qFeTgpeVkoAxxirm5aVYeFnH13DCPc7PF9KgzhnNf6c jyciAnfiruapoO34lv7UWj8AKyD2EcoYb9rYMlsg5WsSPZ1g8k/vbAJ11FJMhqIXMarJOI M+CctEPrYrCzZwEYzzo9aLpmN7RsSaIMwFpPCCshJHJRI3CDuUT6lh5VT2fnKvmKQcZwj7 o4KUvYCMETUsfeq4w+QaZwrU2X8G+X4LLJc+QvhsuI7VG4wzLKpKNJGsZRdNUVHcKGWS2A TexR+apjxNYGwBKWu89Fw+93MLnhTaSq99ri1MXXUUp0psBKyJytstTfz/SAiQ== 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 1DF2D668F9 for ; Sat, 26 Oct 2024 17:13:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4iTA-0004xP-W0; Sat, 26 Oct 2024 11:12:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4iT9-0004x0-AX for guix-devel@gnu.org; Sat, 26 Oct 2024 11:12:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4iT8-00050x-7H; Sat, 26 Oct 2024 11:12:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=4OnuxNOUexCfuWbzoLNgxgDCBtxbid3SNyIJDy+P778=; b=feKZ+9maSFbmOCXaUPb8 2SjhdlYCIDoRSyGeoZBrkdB5oy1w6XViyRqHtpDheZaSujx0Sy5urwAdco1AcoYTdw7nX4t3f9TVN T6F7c1W3SxTdK1AdfSRF4vWCxCPYLE84l5UEpI3U1MpqpQHQAgB34aFMCf7UosA4s7wXTUR855uYk ss9CQrZ2iFGc43ugZXDU5n2GNhyeUfa2rMr8pSmrMY6HYjZFO3D0BcjELOiwBOLZj0lakRTVNuHWS Dw3pHqkrXHGfDlG6XfzE4YP6r/sRy6yzz20zMa7fWqFFd/JbU+mk6NhwLkfo5NTqdA565grO9+t1s X6fQeL/Ul46LFw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Felix Lechner via "Development of GNU Guix and the GNU System distribution." Cc: Felix Lechner Subject: Re: Why "update substitutes?" In-Reply-To: <87a5er6h5l.fsf@lease-up.com> (Felix Lechner via's message of "Fri, 25 Oct 2024 13:50:46 -0700") References: <87a5er6h5l.fsf@lease-up.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Brumaire an 233 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de l'Oie X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 26 Oct 2024 17:12:43 +0200 Message-ID: <87msiqvqxg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.47 X-Spam-Score: -1.47 X-Migadu-Queue-Id: 1DF2D668F9 X-Migadu-Scanner: mx12.migadu.com X-TUID: /9fXJx9JZlXg Hi, Felix Lechner via "Development of GNU Guix and the GNU System distribution." skribis: > When updating, my equipment spends nearly as much time "updating > substitutes" as it does downloading substitutes. > > The activity is probably exacerbated because I cross-publish substitutes > in my local network. > > Would it be more efficient to check whether a particular substitute is > available in an individual query (like DNS) and stop querying for that > substitute after a server was found? The =E2=80=9Cupdating substitutes=E2=80=9D bit corresponds to making pipeli= ned GET requests for narinfos=C2=B9 to figure out upfront what=E2=80=99s going to be available as substitutes and what will have to be built. There=E2=80=99s a cache at /var/guix/substitute/cache so Guix doesn=E2=80= =99t send the same request several times in a row. I=E2=80=99m not sure there=E2=80=99s much to be optimized in this area, but= perhaps we=E2=80=99d find something by studying more closely pathological cases? Thanks, Ludo=E2=80=99. =C2=B9 Like .