From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4DYoB9pCd2RlagAASxT56A (envelope-from ) for ; Wed, 31 May 2023 14:51:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id Or71BtpCd2RPIAEA9RJhRA (envelope-from ) for ; Wed, 31 May 2023 14:51:38 +0200 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 90FFD3DCBE for ; Wed, 31 May 2023 14:51:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4LIC-0005P5-Vx; Wed, 31 May 2023 08:51:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4LIA-0005Ou-Hf for guix-devel@gnu.org; Wed, 31 May 2023 08:51:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4LI4-00061Q-Qm for guix-devel@gnu.org; Wed, 31 May 2023 08:51:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7E9A8240103 for ; Wed, 31 May 2023 14:50:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685537456; bh=6aBT1d8mv2Ua10bYFqJw1hWSOv87Qgea6aSbNU+VGGc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=HwcKM7AVw4fFXixIYAweZQqqmLRXi4TyR+keFWcxJgZsEOhvUBon4judxbixXq/Ql Cr5WdrTeMHRjonGil7GLxJzjy2e9x49h0p76c1BWWEsCV0zryn47VeTGQHASF2Bp26 HrmWfKLBfyye8doiUrZ+Dfxbr4r00xc6ZoS2R432sVEqt/TuAib3UllpZMEBlixLyH ISqEaOi7Kn93gmltdgCJHMWtfctafRr3mjtbo03WZ8Ai/EBOVuxcizSDC/Ht0S+j8R G/VLi3F4OPN4wL+OLMIJwMwcBrt1iYiV/+f69BPY5P9b3plcHWOTSXEOD1BXykwqpN yJslrVXh6Cz0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QWTdq1tt7z9rxD; Wed, 31 May 2023 14:50:55 +0200 (CEST) References: <875y9jzl9m.fsf@gnu.org> <874jot19fd.fsf_-_@gnu.org> <87fs7rvv5s.fsf_-_@gnu.org> <878rddooy4.fsf@gnu.org> <87r0r4uv4x.fsf@gmail.com> <87ttvzhxm9.fsf@gnu.org> <87cz2it3yk.fsf@gmail.com> <17f2bb83-542d-2637-aa96-dd936a4e03d7@jackhill.us> <86ttvsq51n.fsf@gmail.com> From: Guillaume Le Vaillant To: Simon Tournier Cc: Jack Hill , Ludovic =?utf-8?Q?Court=C3=A8s?= , Andreas Enge , guix-devel@gnu.org Subject: Re: How many bytes do we add (closure of guix) when adding one new package? Date: Wed, 31 May 2023 12:47:09 +0000 In-reply-to: <86ttvsq51n.fsf@gmail.com> Message-ID: <87h6rsll5i.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685537497; a=rsa-sha256; cv=none; b=fawvZTiQTPgPTSe0zYXuqBF0vnsmoDhPrQYLnfANZFm+KqnGa1AiepsFdWXrUdFNnKZF7Z j0BgdivUKqwCxB6AOUcH/xw589OHZN4vGiV73/CY7yCvS1zCNeVZEmou3rUqEez40OtcSI FO7oQO/MDDFVDg6Iu/zu9PVa0EARsUorv+i+tGC9rV5wLfOec1M5Uo1LBB8g+c6vbu1BlE Sc1TQee+jmLCGwiEbkKH7tsEasrH0cEQyV1M7I4qDBeJ6NrsfFwNDmVKylYoAixxqXHNWG vmU+IsHEyg4chJouwmh5oSO9jBXj6afpfnpvKalzkMPnu29EZJn7HIouSBbpSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HwcKM7AV; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685537497; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7JXENjTPiblelFlMJnGFH3NfHRx7vuk8NeqQbmfHjvs=; b=jda1CYL/OyNbTjMZmHTEj4fSvF1chMw34aRsRqlQCxlMfCLQX3z0jzXCjvwnCDpdgF5chy CLEdtmNDgjKcr/90quswo9L91iSbL+C0CaRG7xcFiBbObhP93GsqpteIOpWd8aKG5f4VOE eoyB+HDi0Akji4YIYZpqd2lNH+ZGw+4EPzSzCpoajk84aR6+yWtqa8sQXySNoZZg6fnz4c WEd18ZSI4QJWXEJO9HlodZ41kf510g3BruFt+L0R+t2kX/mMb5tPHke7+paiwOu65dulHg UrGeQWVWtmTUOKD5WuxEXU+Rz2n2Yb1A23TAbknLgz6hiIwZJm7AgL39FTnZIQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HwcKM7AV; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: 90FFD3DCBE X-TUID: b1RCKJV6ZZGo --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Simon Tournier skribis: > Hi Jack, > > On Tue, 30 May 2023 at 16:55, Jack Hill wrote: > >> $ ~/.config/guix/current/lib/guile/3.0/site-ccache/gnu [env]$ sudo comps= ize . >> Processed 595 files, 1659 regular extents (1659 refs), 0 inline. >> Type Perc Disk Usage Uncompressed Referenced >> TOTAL 21% 36M 173M 173M >> none 100% 16K 16K 16K >> zstd 21% 36M 173M 173M > > Cool! Could you do (or anyone else with btrfs), > > guix time-machine --commit=3Dd62c9b2671be55ae0305bebfda17b595f33797f2= \ > -- describe > guix time-machine --commit=3Da099685659b4bfa6b3218f84953cbb7ff9e88063= \ > -- describe > > then report the size (compsize) of > > /gnu/store/nqrb3g4l59wd74w8mr9v0b992bj2sd1w-guix-d62c9b267-modules/lib/gu= ile/3.0/site-ccache/gnu > /gnu/store/s6rqlhqr750k44ynkqqj5mwjj2cs2yln-guix-a09968565-modules/lib/gu= ile/3.0/site-ccache/gnu > > ? > > Cheers, > simon Hi, With a BTRFS filesystem compressed with zstd:3, I get: =2D-8<---------------cut here---------------start------------->8--- # compsize /gnu/store/nqrb3g4l59wd74w8mr9v0b992bj2sd1w-guix-d62c9b267-modul= es/lib/guile/3.0/site-ccache/gnu Processed 503 files, 1317 regular extents (1317 refs), 0 inline. Type Perc Disk Usage Uncompressed Referenced=20=20 TOTAL 27% 40M 144M 144M=20=20=20=20=20=20=20 none 100% 10M 10M 10M=20=20=20=20=20=20=20 zstd 22% 30M 133M 133M # compsize /gnu/store/s6rqlhqr750k44ynkqqj5mwjj2cs2yln-guix-a09968565-modul= es/lib/guile/3.0/site-ccache/gnu Processed 530 files, 1169 regular extents (1169 refs), 0 inline. Type Perc Disk Usage Uncompressed Referenced=20=20 TOTAL 19% 22M 116M 116M=20=20=20=20=20=20=20 none 100% 32K 32K 32K=20=20=20=20=20=20=20 zstd 19% 22M 116M 116M =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZHdCqQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/FegD8CTMv+f1cj+kytMB926EG2jURWdRwza//oAnk H8r8WNQA/juzIK4srgJaIXrWDPzNFudKaov5tDUVWZ+KdUxeXi75 =Gx8S -----END PGP SIGNATURE----- --=-=-=--