From: Guillaume Le Vaillant <glv@posteo.net>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: "Jack Hill" <jackhill@jackhill.us>,
"Ludovic Courtès" <ludo@gnu.org>,
"Andreas Enge" <andreas@enge.fr>,
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 [thread overview]
Message-ID: <87h6rsll5i.fsf@kitej> (raw)
In-Reply-To: <86ttvsq51n.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> Hi Jack,
>
> On Tue, 30 May 2023 at 16:55, Jack Hill <jackhill@jackhill.us> wrote:
>
>> $ ~/.config/guix/current/lib/guile/3.0/site-ccache/gnu [env]$ sudo compsize .
>> 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=d62c9b2671be55ae0305bebfda17b595f33797f2 \
> -- describe
> guix time-machine --commit=a099685659b4bfa6b3218f84953cbb7ff9e88063 \
> -- describe
>
> then report the size (compsize) of
>
> /gnu/store/nqrb3g4l59wd74w8mr9v0b992bj2sd1w-guix-d62c9b267-modules/lib/guile/3.0/site-ccache/gnu
> /gnu/store/s6rqlhqr750k44ynkqqj5mwjj2cs2yln-guix-a09968565-modules/lib/guile/3.0/site-ccache/gnu
>
> ?
>
> Cheers,
> simon
Hi,
With a BTRFS filesystem compressed with zstd:3, I get:
--8<---------------cut here---------------start------------->8---
# compsize /gnu/store/nqrb3g4l59wd74w8mr9v0b992bj2sd1w-guix-d62c9b267-modules/lib/guile/3.0/site-ccache/gnu
Processed 503 files, 1317 regular extents (1317 refs), 0 inline.
Type Perc Disk Usage Uncompressed Referenced
TOTAL 27% 40M 144M 144M
none 100% 10M 10M 10M
zstd 22% 30M 133M 133M
# compsize /gnu/store/s6rqlhqr750k44ynkqqj5mwjj2cs2yln-guix-a09968565-modules/lib/guile/3.0/site-ccache/gnu
Processed 530 files, 1169 regular extents (1169 refs), 0 inline.
Type Perc Disk Usage Uncompressed Referenced
TOTAL 19% 22M 116M 116M
none 100% 32K 32K 32K
zstd 19% 22M 116M 116M
--8<---------------cut here---------------end--------------->8---
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
prev parent reply other threads:[~2023-05-31 12:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ZEZWS/h9xa/ZX3/E@jurong>
[not found] ` <875y9jzl9m.fsf@gnu.org>
[not found] ` <874jot19fd.fsf_-_@gnu.org>
[not found] ` <87fs7rvv5s.fsf_-_@gnu.org>
[not found] ` <ZGj3hGKGwu3mQklT@jurong>
[not found] ` <878rddooy4.fsf@gnu.org>
2023-05-25 18:24 ` How many bytes do we add (closure of guix) when adding one new package? Simon Tournier
2023-05-26 16:21 ` Ludovic Courtès
2023-05-30 12:10 ` Simon Tournier
2023-05-30 19:10 ` Csepp
2023-05-31 8:05 ` Faster “guix search” (was Re: How many bytes do we add (closure of guix) when adding one new package?) Simon Tournier
2023-05-31 11:10 ` Csepp
2023-05-31 11:55 ` Attila Lendvai
2023-05-30 20:55 ` How many bytes do we add (closure of guix) when adding one new package? Jack Hill
2023-05-31 8:27 ` Simon Tournier
2023-05-31 12:47 ` Guillaume Le Vaillant [this message]
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=87h6rsll5i.fsf@kitej \
--to=glv@posteo.net \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=jackhill@jackhill.us \
--cc=ludo@gnu.org \
--cc=zimon.toutoune@gmail.com \
/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).