From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDS8Fvs+RGP6ZAAAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 17:49:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wCwWFvs+RGOYGwEA9RJhRA (envelope-from ) for ; Mon, 10 Oct 2022 17:49:15 +0200 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 106802FED3 for ; Mon, 10 Oct 2022 17:49:15 +0200 (CEST) Received: from localhost ([::1]:45630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohv1m-0001EN-3L for larch@yhetil.org; Mon, 10 Oct 2022 11:49:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohulV-0007Ms-FP for guix-devel@gnu.org; Mon, 10 Oct 2022 11:32:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohulH-0007hi-Q8; Mon, 10 Oct 2022 11:32:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+f3CGyuI+3dR23mNC6a9Rq0kHd1cz2YIK/vyipc70j8=; b=dp73bcUVogq/EQEM/z1S 6Xn4KbDjA60ETsgHEiRit/bD8BbujVqpktjP0ShbLm77RfdcrZaSiEvRpP6qhzC/WckIvNWKgjIu+ oK4drjYhy1/2GKJwBJOHcBaFiUHSM4pUv9A+hHarE1bln/+uMNQyBJdnOIvlj/ZKljIFt/13iA6tY iBQtoXXbA9MbnmkzOGA8gMjDf+2ZrV/TQaIoHbplj886osQvASWAJBhzvilIHZ/J4LMCPcB9Di1kD C+RxE/00hU8oSmzP38YZ+3l4ZbBcM8By42nHOZxDvVmnz9Y7uy2AQunWJfEtL05rKw77ooR+kE8mE aPGRaotPwgj/5A==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=41190 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohulF-0008Sf-AZ; Mon, 10 Oct 2022 11:32:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: Ricardo Wurmus , Tobias Geerinckx-Rice , guix-devel@gnu.org, Maxime Devos , Csepp Subject: Re: substitute derivation: also substitute grafts? References: <87r10ckcwp.fsf@elephly.net> <87o7vgg0e3.fsf@riseup.net> <50888e79-4d5e-8c66-b318-975e0d170aca@telenet.be> <87tu53ggxu.fsf@elephly.net> <87sfk7cx5m.fsf@gnu.org> <87ill3qwld.fsf@elephly.net> <0D91D1CE-0EEC-4AE0-A27E-C03670039864@tobias.gr> <87edvrqtws.fsf@elephly.net> <87lepusi3g.fsf@gnu.org> <86o7uqzee0.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Tournesol 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: Mon, 10 Oct 2022 17:32:06 +0200 In-Reply-To: <86o7uqzee0.fsf@gmail.com> (zimoun's message of "Wed, 05 Oct 2022 13:41:27 +0200") Message-ID: <87sfjvzocp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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" 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=1665416955; 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=+f3CGyuI+3dR23mNC6a9Rq0kHd1cz2YIK/vyipc70j8=; b=Mw0id1vPv8NbXDIuBzM3jASuZMIYze1MMKudB0MBRTvHZ3hYgtEFGL+B0DitPBQcSDEK61 /BH4XYFgnaiRcaYHw3lm80ZRxl5kwnYpno8QIk0ehVjw1vS5XL8i0/3OkNlX89X1Ebp5rM YDjw0MZWfxLqDJl+1NRxyr4eOPmjwgYbLf8RR8hpUF95bpO2DUhHwNrbSMWHJDN8vQu+uj dooavGZpX9R7PUlIpVQj3blRfQJFcJTNxVP5wbMfOk57CKAbXXdEHPZZevlcaTu7TRKH41 03PIdZMR3ZxuS4PaEwKtjfhdToVgDV+Q3vm6UPNwOFRyDd/doE/KB2YrE7VQhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665416955; a=rsa-sha256; cv=none; b=nTK7f4A8/QkysstYCzjiNniAy2Qu2Zaq4utREBztPAai+EZxOIiFIcG51MemDFym+pS9dQ IQBS+CCj5785fPgcsVy/WmeSmAXLm86ELVR8OOXgH0EmM9LvNTVDVhKotYlRu6YFCaZFo3 tkgddeauJEwPcO+Pc99wD/QQax5rKV+Gz9osMnWH4mY7zXF5agu5Nm8j4oP102hE1RFye+ tPdeyNK0RO88XbHegVcRInWcIuOF3OgQ0hMvOrZmWWywg8UXyQFfPeBy62zaJYurAepq49 8Qr/cnuDXnGz/NqHcSXg5TCnbVeGi0JcgQSvB/IVghy6gy8vv9BhJ2hFW2jgdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=dp73bcUV; 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" X-Migadu-Spam-Score: -2.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=dp73bcUV; 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" X-Migadu-Queue-Id: 106802FED3 X-Spam-Score: -2.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: cIT6g8XgyCIa Hi, zimoun skribis: > On Wed, 05 Oct 2022 at 12:03, Ludovic Court=C3=A8s wrote: [...] >> An is it too expensive for that machine to build grafts locally? > > Using my old desktop from work, yes the experience is really poor; > especially for some packages where the number of grafts is sometimes > something, e.g., see [1] where grafting were longer than building. > > 1: This has to be compared with the cost of a rebuild/redownload of the same set of packages. Even in the worst case, grafts are faster than that. Now, the difference is that those grafts need to be recomputed regularly, where the rebuild/redownload would be relatively rare. It=E2=80=99s a tradeoff. We could have machinery to help determine when to ungraft and perhaps even automate ungrafting. Mark H Weaver skribis: > I wonder how fast grafting could be if it were rewritten in C. I=E2=80=99d expect it to be I/O-bound, so maybe not that much? Thanks, Ludo=E2=80=99.