Hi Ludo, On Wed, 08 Apr 2020 at 13:00, Ludovic Courtès <[email protected]> wrote:
> $ GUIX_PROFILING=add-data-to-store-cache guix system build > gnu/system/examples/bare-bones.tmpl -d --no-grafts > /gnu/store/w5bsspzdgr55w01fiywir9a8glzlfiph-system.drv > > 'add-data-to-store' cache: > lookups: 2289 > hits: 174 (7.6%) > .drv files: 1314 (57.4%) > Scheme files: 935 (40.8%) > $ GUIX_PROFILING=add-data-to-store-cache guix system build > gnu/system/examples/bare-bones.tmpl -d > /gnu/store/fg95kb40mmyyl4py5b2238amzzqdy56k-system.drv > > 'add-data-to-store' cache: > lookups: 2557 > hits: 360 (14.1%) > .drv files: 1473 (57.6%) > Scheme files: 1041 (40.7%) > $ guix describe > Generacio 137 Mar 31 2020 09:13:55 (nuna) > guix 011f941 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 011f9412795c141ea05fdfa3096ab252252d7080 > > That the ‘add-data-to-store’ hit rate doubles when grafts are enabled > looks fishy. This ticket feels alone after year and years… Time is flying! :-) Well, the situation has maybe changed a bit: --8<---------------cut here---------------start------------->8--- $ GUIX_PROFILING=add-data-to-store-cache guix system build gnu/system/examples/bare-bones.tmpl -d --no-grafts /gnu/store/gpg9dq1h1z61j48dzzxybj94l2zbwcv5-system.drv 'add-data-to-store' cache: lookups: 2628 hits: 454 (17.3%) .drv files: 1576 (60.0%) Scheme files: 925 (35.2%) $ GUIX_PROFILING=add-data-to-store-cache guix system build gnu/system/examples/bare-bones.tmpl -d /gnu/store/gpg9dq1h1z61j48dzzxybj94l2zbwcv5-system.drv 'add-data-to-store' cache: lookups: 2733 hits: 559 (20.5%) .drv files: 1629 (59.6%) Scheme files: 974 (35.6%) $ guix describe Generation 18 Feb 18 2026 15:18:17 (current) guix 7ee95d4 repository URL: https://git.guix.gnu.org/guix.git branch: master commit: 7ee95d47fd8618ce0da4d37e540ce6ac0a0ea389 --8<---------------cut here---------------end--------------->8--- Well, I guess it depends on the number of grafts for the Guix revision at hand. In all cases, what could be the next actionable step here? Especially when considering the Debbugs sunset. Cheers, simon
