How does compiling in a virtual machine affect performance?
by bionor from LinuxQuestions.org on (#57Q2F)
Hello :)
Now that the LFS team has released the new edition, it's time to do another build. I've done it a couple times in the past, but only directly on the host itself, which means things can go a bit slow at times.
Being able to browse the web with a full GUI browser and having working copy/paste the whole way through is something I've decided to go for this time, not least because this time I'm gonna do it on my daily driver desktop and so need it to be fully operational most of the time.
So I thought of either doing it in a virtual machine, which would give me a lot more freedom to experiment, but I'm curious as to how much it would affect compilation. The host is running Arch.
The other potential way I'm considering is to stay in the chroot environment the whole time (or at least as much as possible), but I'm a bit less confident about that approach.
So I'd like to ask what you would recommend? How have your experiences been for the various options?
Thanks :)


Now that the LFS team has released the new edition, it's time to do another build. I've done it a couple times in the past, but only directly on the host itself, which means things can go a bit slow at times.
Being able to browse the web with a full GUI browser and having working copy/paste the whole way through is something I've decided to go for this time, not least because this time I'm gonna do it on my daily driver desktop and so need it to be fully operational most of the time.
So I thought of either doing it in a virtual machine, which would give me a lot more freedom to experiment, but I'm curious as to how much it would affect compilation. The host is running Arch.
The other potential way I'm considering is to stay in the chroot environment the whole time (or at least as much as possible), but I'm a bit less confident about that approach.
So I'd like to ask what you would recommend? How have your experiences been for the various options?
Thanks :)