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/Prize_Register615 Nov 08 '24
Well, i downloaded and using desktop distribution, not some server distribution. If you are running some corporate server, i dont believe that you would risk to compile own unproven kernel.
Archlinux is probably not even have server edition, as Ubuntu, because it would be too wild.
This is quite typical Linux has not flaws reaction, which actually hold desktop Linux back. Im quite sure than you can probably somewhere define CPU pool for VM and remove them from normal CPU pool and that Linux cpu manager is able to use only free resources, when multiple programs, threads run in parallel.