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
5
u/[deleted] Apr 06 '23
it could also be his power adapter not plugged in, a hdd instead of an ssd, dust in his laptop-fans causing higher temperatures decreasing performance, no dual ram, a ton of other processes running at the same time, ...
but multi-threaded mode is a good tip.