Subject: Re: bug#24937: "deleting unused links" GC phase is too slow

From: Ludovic Courtès <[email-masked]>
Date: Sat, 13 Nov 2021 22:45:15 +0100

Ludovic Courtès <[email-masked]> skribis:

> In a nutshell:
>
>   • Files < 1KiB contribute to 0.3% of the space savings;
>
>   • Files < 4KiB contribute to 2.5% of the space savings;

I get similar results on bayfront.guix.gnu.org (with 3.2M entries):

… and on guix.bordeaux.inria.fr (2.0M entries):

Files < 4KiB represent between 60% and 75% of the /gnu/store/.links
entries here.

I’ve sent patches that implement a cutoff threshold at 4 KiB.

Thanks,
Ludo’.