Mathieu Othacehe <m.othac...@gmail.com> skribis: >> Wow! Why did it take 2h30? Do you have KVM? > > Yes, I'm not sure why it's so long. It seems that > "estimated-partition-size" takes a large proportion of this time, > because if I run the same command with a fixed disk-image size it goes > faster.
Ooooh, I had never realized, but you may be right: ‘closure-size’ stats every single file of the closure, and those files are accessed over 9P. That said, I tried this: --8<---------------cut here---------------start------------->8--- $ guix system build gnu/system/examples/bare-bones.tmpl --no-offload [...] $ time guix system disk-image gnu/system/examples/bare-bones.tmpl --no-offload guix system: warning: Your Guix installation is 15 days old. guix system: warning: Consider running 'guix pull' followed by 'guix system reconfigure' to get up-to-date packages and security updates. La jenaj derivoj estos konstruataj: /gnu/store/ydvfhx9v65l4cjrbdgr6xxdh44091fwf-disk-image.drv /gnu/store/8kz750zdbxl86n4w2gfcm0xm6gcqzbnb-linux-vm-loader.drv /gnu/store/0jmcc2f6r3q72mlbi9ahmx2bjghn2rha-builder-in-linux-vm.drv /gnu/store/9df7312w32sbs9nv55x8arh2c65apjmx-grub.cfg.drv /gnu/store/72mmpjd65ysyxdb8c7x9bflb7g9jq93i-raw-initrd.drv /gnu/store/m4xri89s0m0xkdkbma1z0a9ikaz3117v-system.drv /gnu/store/53gm95vhr2p5r6g3bb7c7zynchwn2k3x-boot.drv /gnu/store/ylmkdd43vinyz6li8kx62cphz74kcark-parameters.drv building /gnu/store/53gm95vhr2p5r6g3bb7c7zynchwn2k3x-boot.drv... building /gnu/store/72mmpjd65ysyxdb8c7x9bflb7g9jq93i-raw-initrd.drv... building /gnu/store/ylmkdd43vinyz6li8kx62cphz74kcark-parameters.drv... building /gnu/store/m4xri89s0m0xkdkbma1z0a9ikaz3117v-system.drv... building /gnu/store/9df7312w32sbs9nv55x8arh2c65apjmx-grub.cfg.drv... building /gnu/store/0jmcc2f6r3q72mlbi9ahmx2bjghn2rha-builder-in-linux-vm.drv... building /gnu/store/8kz750zdbxl86n4w2gfcm0xm6gcqzbnb-linux-vm-loader.drv... building /gnu/store/ydvfhx9v65l4cjrbdgr6xxdh44091fwf-disk-image.drv... /gnu/store/7v599g2zwkzb6lv8s6gjm66lqw0gcb53-disk-image real 4m11.079s user 0m5.145s sys 0m0.418s $ guix describe Generacio 139 Apr 13 2020 21:50:08 (nuna) guix bad368b repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: bad368b0d794689f3a8a11b58f1ea4987938682e --8<---------------cut here---------------end--------------->8--- So it’s much less than 2h30. Could it be that you timing building of additional derivations? Even with a cold cache, it shouldn’t make that big a difference no? Thanks, Ludo’.