With a decent CPU the kernel compiles pretty fast. I’m using a default configuration with modules disabled (compiled in) and various settings enabled/optimized for my hardware, and this is what I get:
make -j24
real2m16.357s
user 38m36.133s
sys 4m26.449s
How long does the Linux kernel take?
deleted by creator
Thanks for your reply. I have to admit a stripped down kernel sounds intriguing. Maybe I’ll switch from Arch to Gentoo some day after all!
deleted by creator
Great idea to use GPT for that! Been wanting to trim mine down for a while; will give it a shot.
With a decent CPU the kernel compiles pretty fast. I’m using a default configuration with modules disabled (compiled in) and various settings enabled/optimized for my hardware, and this is what I get:
make -j24 real 2m16.357s user 38m36.133s sys 4m26.449s
deleted by creator
Yep that was after make clean :). Running a 12-core Ryzen 9 that’s a few years old and 64GB RAM; using 24 threads does speed it up quite a lot.
Edit: to be sure, I completely removed the source directory and re-emerged
gentoo-sources
and got similar resultsFor compile or for boot?
deleted by creator