all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Simen Endsjø" <contact@simendsjo.me>
To: "Hilton Chain" <hako@ultrarare.space>
Cc: help-guix@gnu.org
Subject: Re: Avoid sending sources to offload servers
Date: Thu, 07 Nov 2024 11:07:07 +0100	[thread overview]
Message-ID: <dc6eee4b-22ef-41b3-871b-cd342a0a24a2@app.fastmail.com> (raw)
In-Reply-To: <87jzdfcsng.wl-hako@ultrarare.space>

Yes, that's what I'm using, but it's not granular. The problem is things 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 traffic, and I might want to run c locally to to avoid passing a lot of data.

I cannot tell --no-offload skip b and c, so If I have a single problematic 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ø wrote:
> >
> > I notice package sources are sent to offload servers. I have a build that has
> > 1.9GB sources, and results in a 4.7GB store item. I would have thought 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 see a way around
> > this, and it makes it difficult to combine this package with packages 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 ‘--no-offload’ option, you can see
> more these options here[1].
> 
> 
> Thanks
> ---
> [1]: https://guix.gnu.org/manual/devel/en/html_node/Common-Build-Options.html
> 

  reply	other threads:[~2024-11-07 10:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07  8:57 Avoid sending sources to offload servers Simen Endsjø
2024-11-07  9:14 ` Hilton Chain
2024-11-07 10:07   ` Simen Endsjø [this message]
2024-11-07 11:00     ` Edouard Klein
2024-11-07 11:08       ` Simen Endsjø
2024-11-08 20:55         ` Tomas Volf
2024-11-08 21:08           ` Simen Endsjø

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dc6eee4b-22ef-41b3-871b-cd342a0a24a2@app.fastmail.com \
    --to=contact@simendsjo.me \
    --cc=hako@ultrarare.space \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.