From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Tiny Guix (and containers)
Date: Thu, 26 Oct 2017 17:35:16 -0700 [thread overview]
Message-ID: <871slpctrv.fsf@gnu.org> (raw)
In-Reply-To: <87mv4emlwf.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 26 Oct 2017 09:02:56 +0200")
Ricardo Wurmus <rekado@elephly.net> skribis:
>> 34M nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28
>
> “share/locale” is 9.4M. This is a cross-cutting concern. We don’t have
> a way to globally filter locales to only requested locales. Even if we
> split them each into a separate output — how would you specify that you
> want the “de_DE” locale in each package and not install the rest?
There’s also the problem that packages typically hardcode $localedir in
binaries, which means we would need a special mechanism to decouple
locale data from packages.
> There seems to be some duplication with these directories:
>
> /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/x86_64-unknown-linux-gnu/bin/
> /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/
>
> But the binaries seem to be hardlinked, so they don’t take up extra
> space.
But they do take up extra space when transmitted over the wire as nars,
and in Docker/tarball packs.
In general we should replace hard links with symlinks because of that
(Mesa has the same problem.)
>> Now it takes forever to set up the image
>
> Have you tried disabling compression? This could be a lot faster. I
> found that tar with gzip compression is terribly slow to copy things
> from the store into a compressed tar archive. Disabling compression
> speeds this up considerably, even though it is still rather slow.
In general one wants compression though, no? I’d be curious to see how
we can make it faster!
Ludo’.
next prev parent reply other threads:[~2017-10-27 0:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 8:18 Tiny Guix (and containers) Pjotr Prins
2017-10-25 11:12 ` Pjotr Prins
2017-10-26 7:02 ` Ricardo Wurmus
2017-10-26 10:42 ` Pjotr Prins
2017-10-26 10:48 ` Ricardo Wurmus
2017-10-27 8:25 ` Hartmut Goebel
2017-10-28 20:06 ` Ludovic Courtès
2017-10-31 14:17 ` Dave Love
2017-11-05 16:02 ` Ludovic Courtès
2017-11-06 15:45 ` Dave Love
2017-11-07 10:19 ` Ludovic Courtès
2017-10-27 0:35 ` Ludovic Courtès [this message]
2017-10-31 14:11 ` Dave Love
2017-11-03 12:08 ` Pjotr Prins
2017-11-06 15:10 ` Dave Love
2017-11-05 15:55 ` Ludovic Courtès
2017-11-06 15:11 ` Dave Love
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871slpctrv.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).