From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Tiny Guix (and containers) Date: Thu, 26 Oct 2017 17:35:16 -0700 Message-ID: <871slpctrv.fsf@gnu.org> References: <20171025081846.GA28005@thebird.nl> <87mv4emlwf.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7scS-0004uZ-4C for guix-devel@gnu.org; Thu, 26 Oct 2017 20:35:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7scO-0005vZ-Br for guix-devel@gnu.org; Thu, 26 Oct 2017 20:35:27 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:35517) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7scN-0005ti-UF for guix-devel@gnu.org; Thu, 26 Oct 2017 20:35:24 -0400 In-Reply-To: <87mv4emlwf.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 26 Oct 2017 09:02:56 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus skribis: >> 34M nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28 > > =E2=80=9Cshare/locale=E2=80=9D is 9.4M. This is a cross-cutting concern.= We don=E2=80=99t have > a way to globally filter locales to only requested locales. Even if we > split them each into a separate output =E2=80=94 how would you specify th= at you > want the =E2=80=9Cde_DE=E2=80=9D locale in each package and not install t= he rest? There=E2=80=99s also the problem that packages typically hardcode $localedi= r 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-unkn= own-linux-gnu/bin/ > /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/ > > But the binaries seem to be hardlinked, so they don=E2=80=99t take up ext= ra > 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=E2=80=99d be curious to see= how we can make it faster! Ludo=E2=80=99.