Linux 内核编译时间有望降至 10 秒以内
Linux enthusiasts see 10-second kernel compilation times on the horizon
Linux 专家 Michael Larabel 表示,干净的内核编译如今约需 15 秒,"咖啡时间"即将结束,10 秒以内的编译速度已在地平线上。除硬件与核心数提升外,Linux MM 开发者 Lorenzo Stoakes 借助 AI/LLM 移除了 defconfig x86-64 内核构建的诸多瓶颈,连普通处理器上的编译时间也大幅缩短。
It won’t be long until Linux enthusiasts will be able to complete a clean kernel build in under 10 seconds. Linux expert and Phoronix head honcho Michael Larabel said that “the coffee window is closing” in recent commentary that weighs computer processor advances and human / AI optimizations of the Kbuild code. What once used to be a computer processing task that provided a decent excuse for a coffee break now only allows enough time for a measured sip.
The source site’s determined Linux focus has meant that OS kernel compilation times have become a signature benchmark over the last two decades. Larabel notes that this once time-consuming process “can be done in now roughly 15 seconds.” It isn’t just advances in hardware and core counts pushing the envelope; compiling a defconfig x86-64 Linux kernel build has had many bottlenecks removed thanks to the work of Linux MM developer Lorenzo Stoakes and the assistance of AI/LLMs recently. Even modest processors have seen their compile times cut dramatically thanks to this work.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
来源:Hacker News · tomshardware.com