1 line
3 KiB
Plaintext
1 line
3 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hej fellow people of the future ;-),</p> <p>So let me preface by saying that this was the part that annoyed me the most about executing a <code>guix upgrade</code>, waiting for the profile generation as the last step in the process. Back when I first installed guix on an hdd for testing, this process would sometimes take as much as 1,5-2h with about 180 packages. Even after I switched to SDD, this would feel like the lenghtiest part of the upgrade process, for reasons I never quite understood.</p> <p>Today I did another <code>guix pull && guix upgrade</code>, followed by <code>guix remove PACKAGENAMES</code>. I wanted to declutter my profile and speed up said lengthy "profile generation" process. I had been prepared that removing 22 packages would still take 5-10 minutes, the biggest part of it being the profile generation part. But then... it took like 15 seconds.</p> <p>What has happened? I mean, I am very delighted with this change, because this makes installing and removing packages a literal breeze. I repeat, I've hated doing this on guix because it took just soooo long. Now, having the time I need to wait reduced to about 10% of its original time feels like something either must be wrong, or some kind of black magic has occured which definately cannot be of good origin.</p> <p>Does this have to do with the <a href="https://guix.gnu.org/en/blog/2021/taming-the-stat-storm-with-a-loader-cache/">"taming the stat storm" article</a> that has been written about 1,5months ago by ludovic courtes? Have you also experienced something similar in the very recent time (I'm speaking about the last 1-2 weeks)? If not, can you offer an explanation why, after about 2 years of casual use, my profile generation FINALLY stops being a headache?</p> <p>Have a good day, fellows!</p> <p>EDIT: <a href="/u/zimoun">u/zimoun</a> has provided me with valuable information as to why the speed-up has occurred. Thanks a bunch for the support, fellow guixter, for helping a newbie realise how awesome guix actually is and at which pace it gets better and better (*cough* guix home *cough*). </p> <p>To quote:</p> <blockquote> <p>First, another build farm (Build Coordinator behind <a href="https://bordeaux.guix.gnu.org/">bordeaux.guix.gnu.org</a>) had been added recently, and second <a href="https://ci.guix.gnu.org/">ci.guix.gnu.org</a> has received several improvements). So the avaibility of substitutes is better. </p> <p>The stats storm helps. And different strategies for compressing the substitutes depending if you are CPU-bound or Network-bound.</p> </blockquote> <p>​</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/olivuser"> /u/olivuser </a> <br/> <span><a href="https://www.reddit.com/r/GUIX/comments/pv2ubr/creating_profile_with_xy_packages_speed_upgrade/">[link]</a></span>   <span><a href="https://www.reddit.com/r/GUIX/comments/pv2ubr/creating_profile_with_xy_packages_speed_upgrade/">[comments]</a></span> |