Latest comment: 12 May by Kousu in topic Speeding up builds
Speeding up builds
When reporting Linux kernel bugs, it's nearly mandatory, to provide a bisection. Building Linux in a classic way takes time (40 min — 6 hours), but if needing to bisect 16 times, the time needed really multiplies the hard way.
So it would be nice to provide tips for building the Linux kernels faster.
Some ideas:
- When to use ccache and not
- Using Modprobed-db to list unused modules and disable them
- Appending
-jflag tomakecommand
—This unsigned comment is by Noraj (talk) 21:24, 13 February 2025 (UTC). Please sign your posts with ~~~~!
- Oh I wish I'd read this before I tried to bisect my kernel! I eventually discovered exactly these tips by asking #archlinux and by searching the wiki harder, and now I've added them.
- ccache didn't seem to help me very much. My best cache ratio was around 10%. I guess that's not insignificant, but I would have thought that if only ~100 files change between bisections that I would have only about 100 cache misses, but no. I suspect my ccache configuration needs tuning; if you/anyone has tuning tips I'd love to know them and see them in the wiki. Kousu (talk) 17:17, 12 May 2026 (UTC)
