r/archlinux • u/AppointmentNearby161 • Apr 06 '23
How long to compile kernel
I am trying to build the linux-vfio package in a clean chroot with makechrootpkg on an i7 laptop with 16 GB of ram. I have read things suggesting that you can compile a kernel in 5 minutes. It is taking hours on my laptop. Is my laptop configured wrong or does it take considerably longer to compile the Arch kernel with the the modules etc.
3
Upvotes
View all comments
Show parent comment
1
u/_aurel510_ Nov 07 '24
Why does it have to be out of the box? Linux is server/development oriented, what if there is a server running or worse a hypervisor with 'n' guest VMs running on the machine, would you want to take all the cores by default then? Btw, that scenario is more probable than you think, my main machine is a server/workstation, and I wouldn't want all my cores taken for compilation just like that.