From: Ricardo Wurmus <rekado@elephly.net>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Tiny Guix (and containers)
Date: Thu, 26 Oct 2017 09:02:56 +0200 [thread overview]
Message-ID: <87mv4emlwf.fsf@elephly.net> (raw)
In-Reply-To: <20171025081846.GA28005@thebird.nl>
Pjotr Prins <pjotr.public12@thebird.nl> writes:
> 22M 3x53yv4v144c9xp02rs64z7j597kkqax-gcc-5.4.0-lib
According to “du”, this is 32M on my disk. The “lib” subdir contains
both shared libraries as well as ar archives for static linking;
together they weigh in at 12MB. We may want to move them to a separate
output.
The package also contains lots of header files:
6.3M /gnu/store/3x53yv4v144c9xp02rs64z7j597kkqax-gcc-5.4.0-lib/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/plugin/include/
Not sure what to do with those without making the use of GCC a hassle.
> 41M n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25
This package still contains a lot of locale data. The directory
“share/i18n/locales/” takes up 6.7M, and “share/locale” takes up another
4.3M. All the .a files under “lib” take up 8.7M.
> 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 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.
> 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.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
next prev parent reply other threads:[~2017-10-26 7:20 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 [this message]
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
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=87mv4emlwf.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=pjotr.public12@thebird.nl \
/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).