GNU bug report logs -
#44053
Poor profile generation performance on spinning disks
Previous Next
Full log
View this message in rfc822 format
Hi Luis,
Luis Felipe <luis.felipe.la <at> protonmail.com> skribis:
> I still use the same computer with the same hard drive, and performance has improved when installing packages. Running
>
> $ time guix package -i perl --max-jobs=1
>
> initially took
>
> (87 packages in profile)
> real 8m3,043s
> user 0m2,656s
> sys 0m0,239s
>
> But now (guix 17fadbb), it takes
>
> (96 packages in profile)
> real 3m51,058s
> user 0m7,490s
> sys 0m0,788s
I think it’s not good.
Could you time just profile generation itself?
To do that, you need to find the profile generation and then to rebuild
it, along these lines:
DRV=$(guix gc --derivers $(readlink -f ~/.guix-profile))
time guix build --check $DRV
The thread contains an analysis of specific sources of slowness, such as
the cost of building the XDG MIME database:
https://issues.guix.gnu.org/44053
I think we’re not done; we can probably do better by first figuring out
which parts take time (profiling) and then addressing specific issues.
Ludo’.
This bug report was last modified 44 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.