[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How many bytes do we add (closure of guix) when adding one new packa
From: |
Guillaume Le Vaillant |
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 |
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---
signature.asc
Description: PGP signature