From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qE9PHeifLGcv2gAA62LTzQ:P1 (envelope-from ) for ; Thu, 07 Nov 2024 11:09:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qE9PHeifLGcv2gAA62LTzQ (envelope-from ) for ; Thu, 07 Nov 2024 12:09:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=simendsjo.me header.s=fm3 header.b="Gx/MU6l0"; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=kljQmFQY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=simendsjo.me (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730977768; a=rsa-sha256; cv=none; b=O6SEK5V02wpQzY6HmqHskS7E8K8/lXEcHD9/AENXXCYi3iBXaS9BGPO/dGSPZf2HOb5uWp vvQ1LQnUA9wkzueQ6tSQFIRgipEUcBkG3dK+eQAOk82J0b2Jq0kQ3i71l1abcLI6Xxz1YZ wU8qg+igxa8ShJcIokMQKJzmJZrwkDJ2qOK4LehATDBiNJv07s0Hndv55wHvLxF4MbTtda WQK/N02uZbv6cDL+G5HWoaxorNU8gZk0WDwnGI4nLrmEb5KlNODfyoZvk09sX4e5AdWCLE eoRqZzAietxHkGRRm5SmqCrSRT5fOcBwmSmaeqakG8FD5kHtMtrWUEQiHOVdAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=simendsjo.me header.s=fm3 header.b="Gx/MU6l0"; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=kljQmFQY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=simendsjo.me (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730977768; 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=e96Hdv0ivY+ghzTR6ybUQXR5lBHHnm18j3z3ojjjLa0=; b=QcLMIdDWip8/IiV1MiI9PDpgNEwPZsiwxJlRyURwuA4oc7vySy1yedsJdqXqvQX62XLtQ6 RrJHA+VfD/puyfDpTNeijesGdwqcDhVLY9wNQGXCpVXgnP2UJaufzV+oQ4dTmN/4qMtlvg jeNwazH+oJtv3jAMsifpdDhrbvhjmWxZlmkgmfg6ZoclEPG5pbABAI6WL1qdULWYn6/9e9 EyIUrfbIH7SnMFOgPrbBVrXpDJmlbLthEfPwsPx5vtfWAgn/TvtW3pFCyFX9LhOiE4AFvT u0WWwBt3MinC188QMDmlnitzulkSUgPTGCr3rKmhG46RgTd5E0IdaoJwYrrM2g== 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 F215C8EFAC for ; Thu, 07 Nov 2024 12:09:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t90NY-0003ud-3X; Thu, 07 Nov 2024 06:08:44 -0500 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 1t90NX-0003uF-7R for help-guix@gnu.org; Thu, 07 Nov 2024 06:08:43 -0500 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t90NU-0002K3-Nw for help-guix@gnu.org; Thu, 07 Nov 2024 06:08:42 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id 550611380449; Thu, 7 Nov 2024 06:08:39 -0500 (EST) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-11.internal (MEProxy); Thu, 07 Nov 2024 06:08:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1730977719; x=1731064119; bh=LYFJzdWDzk +JDMZi1sYo+TwzXiAn0y3DX6h9rnV+MkA=; b=Gx/MU6l0LOpc7sSSzp8FM0dwD9 /oZTjqRKVAPTrXj8598ZTk46L0TIg50riBsnaLX34J/C6iftabij+GijI3+tre1d S1koX7mA0Mi9cP/IwVFnuVrS/p05PwBir1Nu/EQfkKIkKwHlG7OO01ClJIZ8QCeD JQqnVfxVMIUxHElxAB7/TdGq/EXkye7uS/8jH1v1SI1OOUgqDhX/TqGQbznKCUKS 9Np6PMUx/0vfxPFVmLO3VFO6qGYLiXijqGbbMTjm2ma8s9qqQcqJ8Dy5dHWKiWpP MyrzqVrLTgRW7euwY7Lo4FTvqjQ4TmoCfktI4cGkpkoxBn2ZY7fYpdfjDROg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1730977719; x=1731064119; bh=LYFJzdWDzk+JDMZi1sYo+TwzXiAn0y3DX6h 9rnV+MkA=; b=kljQmFQYtmLkEevZDV0srGrgFf4FMhELqRsh47tz93e2AT6ybGt GVz8WYJbPd+N1qZXV2Dj1R0Hs23k/3z7WhxY4se7sioUbhjh2nBFaBl1RWgY9m50 Wtig5CZYXSoh9rh99jUctod806rli5DTnzUL65r5v3f8E1ohobSrTjh4yFyEPW44 ihiC9sN+VRSINExJTO1ANTlxH+OhCHolgcPTQLNwsnICzICLtEPVI+uRnxpHkTdc xPtWxl1gKEH5qqxudnY51K0Cz04cT1ZXNVTIMd/fsyzfmcZoiefBjqTby0bbZZH3 /jkvkMxvR1BVoXUZdUM0T0dqMLwBbDK9fMA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtdeggddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtsegrtderreertdejnecu hfhrohhmpefuihhmvghnucfgnhgushhjppcuoegtohhnthgrtghtsehsihhmvghnughsjh hordhmvgeqnecuggftrfgrthhtvghrnhepvddujeejheeiteejleehhfdtgeegheffleek udfgieeuledthfdtieeuieeuieeinecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghonhhtrggtthes shhimhgvnhgushhjohdrmhgvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehhvghlphdqghhuihigsehgnhhurdhorhhgpdhrtghpthhtohep vgguohhusehrughklhgvihhnrdhfrhdprhgtphhtthhopehhrghkohesuhhlthhrrghrrg hrvgdrshhprggtvg X-ME-Proxy: Feedback-ID: i08f14972:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 167873360079; Thu, 7 Nov 2024 06:08:39 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Thu, 07 Nov 2024 12:08:17 +0100 From: =?UTF-8?Q?Simen_Endsj=C3=B8?= To: "Edouard Klein" Cc: "Hilton Chain" , help-guix@gnu.org Message-Id: In-Reply-To: <87o72rl32g.fsf@rdklein.fr> References: <87jzdfcsng.wl-hako@ultrarare.space> <87o72rl32g.fsf@rdklein.fr> Subject: Re: Avoid sending sources to offload servers Received-SPF: pass client-ip=103.168.172.148; envelope-from=contact@simendsjo.me; helo=fout-a5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 5.62 X-Spam-Score: 5.62 X-Migadu-Queue-Id: F215C8EFAC X-Migadu-Scanner: mx10.migadu.com X-TUID: 3+k5bkX44Iu2 Yes, but it is very cumbersome. I can no longer just "reconfigure" my ho= me or system, but have to manually to a build for all packages with the = correct parameters first. Same for guix shell; I'd have to first split them into "with offload" an= d "without offload". I guess what I would like is at least that the sources for the builds to= be downloaded by the build server instead of transferred by my system. = But this might be a side effect of sources being built as store items? S= o it's a dependency for the build, and passed to the build server so it = doesn't have to compute it? Maybe having a size limit for passing to the= build server could be a solution. If an item is greater than the thresh= old, the build server will compute it. On Thu, Nov 7, 2024, at 12:00, Edouard Klein wrote: > I may be mistaken, but you I think you can run guix build a with > offloading, and guix build b c without, then when you run guix shell, = a, > b, and c will all be in your store and won't need to be rebuilt. >=20 >=20 > Simen Endsj=C3=B8 writes: >=20 > > Yes, that's what I'm using, but it's not granular. The problem is th= ings like `guix shell a b c`. > > - a has a small source and long build time > > - b has a large source and short build time > > - c has a large output > > > > a is no problem to offload, but b will cause a lot of unnecessary tr= affic, and I might want to run c locally to to avoid passing a lot of da= ta. > > > > I cannot tell --no-offload skip b and c, so If I have a single probl= ematic package in my system, home or in a guix shell, I have to disable = offloading for all packages. > > > > On Thu, Nov 7, 2024, at 10:14, Hilton Chain wrote: > >> Hi Simen, > >> > >> On Thu, 07 Nov 2024 16:57:26 +0800, > >> Simen Endsj=C3=B8 wrote: > >> > > >> > I notice package sources are sent to offload servers. I have a bu= ild that has > >> > 1.9GB sources, and results in a 4.7GB store item. I would have th= ought only the > >> > definitions were sent to the build machine, and it would download= the 1.9GB > >> > file, but it seems this file is sent from my machine. I cannot se= e a way around > >> > this, and it makes it difficult to combine this package with pack= ages I wish to > >> > offload as I cannot state certain packages shouldn't be offloaded. > >> > > >> > Not sure what I'm asking here, just wanted to point out an issue = which causes > >> > problems. > >> > >> Guix commands that can spawn builds have a =E2=80=98--no-offload=E2= =80=99 option, you can see > >> more these options here[1]. > >> > >> > >> Thanks > >> --- > >> [1]: https://guix.gnu.org/manual/devel/en/html_node/Common-Build-Op= tions.html > >> >=20