Originally posted by sophisticles
View Post
Announcement
Collapse
No announcement yet.
Fast Kernel Headers Work Restarted For Linux To Ultimately Speed Up Build Times
Collapse
X
-
Originally posted by Sonadow View PostUnless this work is going to make these build times drop from 90 minutes to 20 minutes / four hours to one hour / eight hours to two hours-ish, they are of little relevance.
According to Ingo's figures, there could be as many as 78% more kernel builds per hour with the "Fast Kernel Headers" enabled kernel than the current stock kernel. A 50~80% improvement in the absolute kernel build performance on supported architectures is possible.
Comment
-
Improvements to kernel build times would be great, as someone who has to patch and recompile my own kernel to not get power throttled for no good reason on my HP Omen 16 laptop, at least until upstream accepts the patches and they make it down to a stable kernel.
I just did a kernel build of the Arch Linux 6.7.2.arch1-2 kernel plus the patches using the `time makepkg -s` command on that Omen 16 laptop (with a Ryzen 7 6800H, 8C/16T, but frequency capped to 3.75GHz to avoid overheating) and with the build set up to use 12 threads for a bit of leeway on other things, and the whole process (including verifying the kernel source tar with GPG, packaging etc) took almost exactly 31 minutes.
Edit: I also stripped the documentation building part out of the PKGBUILD.Last edited by X_m7; 31 January 2024, 11:14 PM.
- Likes 2
Comment
-
Originally posted by Sonadow View Post
And for that to happen, a stable unchanging kernel ABI is required so that a driver package for kernel version X can still be installed on kernel version X,Y or even kernel version X+1, and that hardware vendors don't have to waste time building modules against every single damn version of the kernel.
But we all know why that has never happened for Linux.
Also, how is it possible to build a allmodconfig in only 133 minutes when it takes a Supermicro workstation with two E5 2690-v2 processors 60 - 90 minutes to build my kconfig, even when the whole build is done entirely on a 80GB ramdisk. Any secret sauce?
According to Michael's benchmarks, the 8700G can do allmodconfig in 19 minutes 12 seconds:
Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
A default build takes only a minute and a half on the 8700G.
This is why I said this work is such a waste of time.
Comment
-
Originally posted by Sonadow View PostAlso, how is it possible to build a allmodconfig in only 133 minutes when it takes a Supermicro workstation with two E5 2690-v2 processors 60 - 90 minutes to build my kconfig, even when the whole build is done entirely on a 80GB ramdisk. Any secret sauce?
That would be 16 cores of a Sandy Bridge architecture cpu, which was launched in 2011.
CPUs have gotten quite a bit faster since then.
- Likes 2
Comment
-
Originally posted by sophisticles View PostI must be missing something, a 7700X, 8C/16T, is capable of building the kernel in under 79 seconds, that's not fast enough?
Linus's system builds it in 22 seconds, how much faster do they think they can go?
i would assume there are big gains to be made in CI/CD.
Comment
-
Originally posted by Sonadow View Post
A stock distribution config built on a Supermicro workstation with two E5 2690-v2 processors entirely on a 80GB ramdisk takes almost 30 minutes.
That same stock distribution config built on an i7 Skylake notebook takes almost two hours.
That same stock distribution config built on a Gemini Lake notebook takes almost four hours.
My kconfig requires 60 - 90 minutes on the Supermicro workstation, four hours-ish on the Skylake notebook, and an entire working day on the Gemini Lake.
Unless this work is going to make these build times drop from 90 minutes to 20 minutes / four hours to one hour / eight hours to two hours-ish, they are of little relevance.
- Likes 3
Comment
Comment