From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SEqvGIGtw17vAgAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 09:57:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iGaJFIGtw17lGgAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 09:57:21 +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 EB970940B2B for ; Tue, 19 May 2020 09:57:20 +0000 (UTC) Received: from localhost ([::1]:55156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jayzv-00049M-9Y for larch@yhetil.org; Tue, 19 May 2020 05:57:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jayzo-00049E-Oz for help-guix@gnu.org; Tue, 19 May 2020 05:57:12 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:38925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jayzn-0004Jw-8z; Tue, 19 May 2020 05:57:12 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6008D1C0009; Tue, 19 May 2020 09:57:03 +0000 (UTC) From: Pierre Neidhardt To: Marius Bakke , help-guix@gnu.org Subject: Re: Guix closure size of a system? In-Reply-To: <87a724s206.fsf@devup.no> References: <871rngjvjn.fsf@ambrevar.xyz> <87a724s206.fsf@devup.no> Date: Tue, 19 May 2020 11:57:02 +0200 Message-ID: <87imgsi6xd.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@ambrevar.xyz; helo=relay5-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 05:57:06 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.39 X-TUID: 5fwNw2VllmY0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This works, thanks! Should we document it in `guix size -h`? I think the result is interesting with respect to the discussion we had about shrinking the closure sizes in Guix: =2D-8<---------------cut here---------------start------------->8--- > guix size /gnu/store/alydrspjw3sfc6b01kyz30vjhjrny86c-system store item total s= elf /gnu/store/w8gjhcw6a16rk1dvxa97bz2znal5fihm-go-1.13.9 639.1 = 350.7 6.8% /gnu/store/9qs1v87rv4ch7x07adbx8pfnkjxm39d1-guix-1.1.0-4.bdc801e 467.8 = 268.9 5.2% /gnu/store/cpx45dbix533r2yx73jbv8fd0h8c3vyn-linux-5.4.41 244.0 = 244.0 4.7% /gnu/store/6hnk449wv8vhbrm0in0ychqiwipsqyza-docker-19.03.7 1245.3 = 195.7 3.8% /gnu/store/n08as2lvmcc14q57bq1z8p7r1kaa1vv2-gnome-getting-started-docs-3.32= .2 164.0 164.0 3.2% /gnu/store/skxkrhgn9z0fg9hmnbcyfdgzs5w4ryrr-llvm-9.0.1 199.9 = 128.5 2.5% /gnu/store/da1lys4i2yxl549iwkbdg1fb7azphniw-emacs-26.3 1181.3 = 128.1 2.5% /gnu/store/8jn365r0kk69j1f4b1q2b7aa2qm1xvg1-mesa-19.3.4 341.6 = 114.6 2.2% /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0 178.5 = 107.3 2.1% /gnu/store/rsjdq6b0csxc16mbapx5yvrc2zrk20za-containerd-1.2.5 755.7 = 105.9 2.0% /gnu/store/vnivzyfy0bcxz8rn9gasav5k7skax57y-samba-4.12.2 594.1 = 98.8 1.9% /gnu/store/1hrwdsd5fwn3xmdgnpyg2h1j5jr6q8ws-webkitgtk-2.28.2 930.4 = 98.2 1.9% /gnu/store/znly83q0jmcqg6ppwbz5marj5ix9vkk2-locale-2.31 91.9 = 91.9 1.8% /gnu/store/ikcjpg1y0mb5qinpdc0q85xvm53cz80q-locale-2.28 91.8 = 91.8 1.8% /gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2 171.4 = 79.8 1.5% /gnu/store/fj33c1nw4v81qcd33wp53f3aa01g3m9d-ibus-1.5.22 946.2 = 66.3 1.3% /gnu/store/sd278fsdfx5hjrcgncflnp9qq4l42p1c-python2-2.7.17 151.7 = 61.1 1.2% /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2 146.2 = 57.1 1.1% /gnu/store/lvnv80g5iqf7fqlckadjfrad9999d4f7-mozjs-60.2.3-2 248.3 = 54.7 1.1% /gnu/store/ljcrz0d86r20phszvj6s1mdyjchz79ja-guile-static-stripped-3.0.2 = 54.7 54.7 1.1% /gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34 93.0 = 54.6 1.1% /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2 132.8 = 53.2 1.0% /gnu/store/0m0vd873jp61lcm4xa3ljdgx381qa782-guile-3.0.2 132.8 = 53.2 1.0% /gnu/store/fii66zlqdzv3kbfdbzmj33vvxfwvj33h-gnome-user-docs-3.32.3 49.9 = 49.9 1.0% [...] =2D-8<---------------cut here---------------end--------------->8--- =2D go: I think I've got go because of docker, but go should be a build-time dependency, I don't think it belong here. =2D llvm: I think it's mostly dragged by Mesa. Mesa depends on some LLVM libs, but not all of llvm: https://www.archlinux.org/packages/extra/x86_64/mesa/ Moving the llvm libs to a "lib" output could reduce the closure size of many packages I believe. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7DrW4ACgkQm9z0l6S7 zH9E8wf/QZz2VnuLs4pquiCFV/0K1LZdsylBtiViUH8SuTgHt6E23GkB5bYUdIov DToP24Q7GMoaiKfL6Zh7BZZMMdMPpRHrp21bonpkz2Ybxkn/ktILXFq6tAHv7jf+ LXtR6SNBwfNlAHbVcq1A4loWy3zTDsfXc2YJjSXxjIB0bO0fzHY+hcnXXoQ+JgTG kSeR3KucWS1RzIh5HPwxKLz+j8b/mm7lPXLPxpsziblfirLwUsJDZEplyyDRFciT RML1Bdb06pD2/iHQO39wemHcGzlzSnmope7ZlBlQ3ujH/16eZwaM3TLT2cGfrZmQ 9L20zaNjeC2rLtYXzWsvsCRKDDuB1g== =JzWQ -----END PGP SIGNATURE----- --=-=-=--