all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Does --no-substitutes save bandwidth?
@ 2013-05-16  8:20 Luther
  2013-05-16 21:32 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Luther @ 2013-05-16  8:20 UTC (permalink / raw)
  To: bug-guix

I've installed Guix 0.2 on my Ubuntu system. As I type this, I'm using
it to install gcc. If all goes well, I hope to soon install Trisquel as
my base system with Guix as a package manager.

I'm trying to save as much bandwidth as possible, so I started the
daemon with --no-substitutes. But it occurred to me that binaries might
not be much bigger than source tarballs, even with documentation. What
do you guys think? Would --no-substitutes be generally useful for saving
bandwidth?

Luther

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Does --no-substitutes save bandwidth?
  2013-05-16  8:20 Does --no-substitutes save bandwidth? Luther
@ 2013-05-16 21:32 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2013-05-16 21:32 UTC (permalink / raw)
  To: Luther; +Cc: bug-guix

Luther <lutheroto@gmail.com> skribis:

> I've installed Guix 0.2 on my Ubuntu system. As I type this, I'm using
> it to install gcc. If all goes well, I hope to soon install Trisquel as
> my base system with Guix as a package manager.

Nice.  Welcome!  :-)

> I'm trying to save as much bandwidth as possible, so I started the
> daemon with --no-substitutes. But it occurred to me that binaries might
> not be much bigger than source tarballs, even with documentation. What
> do you guys think? Would --no-substitutes be generally useful for saving
> bandwidth?

Good question.

For GCC 4.8.0, the bzip2’d “Nix archive” (which is the format under
which binaries from hydra.gnu.org are served[*]) takes 25 MiB on x86_64,
whereas gcc-4.8.0.tar.bz2 takes 83 MiB.

Then one should also look at the size of the closure of the package of
interest.  Often, packages have a lot of build-time dependencies, and
their run-time dependencies are just a small subset thereof.

So if all you want is to install GNU Hello, you’ll have the choice
between downloading binaries of Hello and libc, and downloading the
source tarballs of GCC, Binutils, glibc, GMP, MPFR, MPC, etc. etc., just
to build all the chain leading to GNU Hello.

Hmm, the most accurate answer may well be “it depends”.  :-)

Thanks,
Ludo’.

[*] Can be obtained with ‘nix-store --export
    /nix/store/53fv51m204zhkyfrkkacjyhm2h1k4xad-gcc-4.8.0 | bzip2’ or
    the API in (guix nar).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-16 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16  8:20 Does --no-substitutes save bandwidth? Luther
2013-05-16 21:32 ` Ludovic Courtès

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.