From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GI8CBvlS214LegAA0tVLHw (envelope-from ) for ; Sat, 06 Jun 2020 08:25:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iBTfAflS217bGQAA1q6Kng (envelope-from ) for ; Sat, 06 Jun 2020 08:25:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 91AD99403EE for ; Sat, 6 Jun 2020 08:25:28 +0000 (UTC) Received: from localhost ([::1]:39884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhU8t-0007Bv-HJ for larch@yhetil.org; Sat, 06 Jun 2020 04:25:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhU4P-0008PX-2t; Sat, 06 Jun 2020 04:20:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57925) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhU4M-00011O-Pf; Sat, 06 Jun 2020 04:20:46 -0400 Received: from [2a01:e0a:fa:a50:809b:e323:9e90:279b] (port=37738 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jhU4M-0005CJ-8a; Sat, 06 Jun 2020 04:20:46 -0400 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: The size of =?utf-8?B?4oCYLmdv4oCZ?= files References: <875zc5z18d.fsf@gnu.org> Date: Sat, 06 Jun 2020 10:20:44 +0200 Message-ID: <87r1usli5f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel , Guile Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: /66fMB6UB3Dc Hey Ludo, > $ guix size $(readlink -f /run/current-system) | head -5 > store item total = self > /gnu/store/4d0p06xgaw8lqa9db0d6728kkba8bizj-qemu-5.0.0 1651.6 = 745.2 18.8% > /gnu/store/abiva5ivq99x30r2s9pa3jj0pv9g16sv-guix-1.1.0-4.bdc801e 468.0 = 268.8 6.8% > /gnu/store/111zp1qyind7hsnvrm5830jhankmx4ls-linux-libre-5.4.43 243.6 = 243.6 6.2% > /gnu/store/skxkrhgn9z0fg9hmnbcyfdgzs5w4ryrr-llvm-9.0.1 199.9 = 128.5 3.2% When building a bare-bones Guix System disk-image, "Guix", "Guile" and "Guile-static" represent 331M of .go files, see: --8<---------------cut here---------------start------------->8--- find /gnu/store/fvvpmrgnvr9jqxfn5m956xblisa8vzr4-guix-1.1.0-4.bdc801e /gnu/store/ljcrz0d86r20phszvj6s1mdyjchz79ja-guile-static-stripped-3.0.2 /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2-name "*.go" -print0| du --files0-from=3D- -hc |tail -n1 --8<---------------cut here---------------end--------------->8--- If we compare it to the 943M of the "reduced" image I'm working on, it makes around 1/3 of the final image. > With 3.0.3-to-be and -O1, python-xyz.go weighs in at 3.4=C2=A0MiB instead= of > 5.9=C2=A0MiB! Here=E2=80=99s the section size distribution: Wooh, interesting! Having a lighter disk-image isn't very important on desktop, but for the embedded devices with small eMMC, any improvement would be really welcome :) Thanks, Mathieu