Bootlin's Best Techniques For A Smaller Kernel + Faster Boot Times

Written by Michael Larabel in Linux Kernel on 3 November 2019 at 09:20 AM EST. 20 Comments
LINUX KERNEL
In addition to a talk at the Embedded Linux Conference Europe on trimming the Linux boot time with systemd changes, Michael Opdenacker of embedded Linux engineering firm Bootlin presented on their techniques for not only speeding up the Linux boot time but also reductions in the kernel image size.

The techniques laid out by Opdenacker included using the U-Boot "Falcon mode" for its boot loader, an uncompressed initramfs, disable tracing, disabling sysfs, silencing the kernel output, disabling SMP during boot, simplifying the rootfs setup, and other steps.


With the examples shown during the presentation that took place in Lyon, France, Michael was able to hit a total boot time of 2.4 seconds. More details via his slide deck (PDF).
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week