How Intel's Clear Linux Team Cut The Kernel Boot Time From 3 Seconds To 300 ms

Among the optimizations carried out to really speed-up their boot time were ensuring more asynchronous driver probing, only initializing a small amount of RAM at start and then after booted hot-plug the rest of it in parallel via systemd, optimized root file-system mounting, disabling unnecessary kernel modules, and similar approaches.
Moving forward they are still looking at optimizations for the boot process around in-kernel deferred memory initialization, SMP initialization changes, ACPI tweaking, and user-space/systemd optimizations.
Those wanting to learn more about Intel's art to booting the Linux kernel as fast as possible but not at LPC2019 can see Feng's slide deck (PDF) with an overview of these current and possible future Clear Linux optimizations.
75 Comments