Accelerating Linux Boot Time: Techniques and Strategies for Optimal Performance
summary
Measurements combine systemd-analyze and CNTVCT counters plus dmesg/journal parsing to separate firmware, kernel pre-timer and userspace; pre-timer falls from 720 ms to 101 ms and overall boots drop from 18.5 s to 4.8 s, with the initramfs reduced from ~500 ms to ~125 ms and first app start around 790 ms. Techniques include building storage drivers into the kernel, trimming initramfs to five services (initramfs trimmed to five services), using RCU expedited mode, dracut --omit, EROFS for static root, and nightly continuous testing.
AI-written summary · about
chapters (14)
- 0:00Intro
- 2:33Measuring Boot Time
- 7:59Optimizations Techniques
- 10:23Kernel Optimization
- 18:51InFS Optimization
- 23:16Loading Kernel Modules
- 25:10Udev Configuration
- 25:54Optimization Work
- 26:58Next Steps
- 28:30Optimizations
- 29:26Storage Modules
- 31:54Dedeprecating Old Stuff
- 33:10Device Optimizations
- 33:47Kernels
related talks
42mImproving Linux Boot Time for Automotive Use Cases
38mWe Need to Talk About Systemd: Boot Time Optimization for the New init daemon
39mTiming Boot Time Reduction Techniques
40mA Pragmatic Guide to Boot-Time Optimization
53mReducing the boot time of Linux devices
24mSoftware Optimization for Early Linux Boot for Time Critical...
34mTweaking the Linux Boot Flow for an Accelerated ADAS Experience
48mUnified Boot Time Measurement: A Precise, Scalable Framework for Multi-Processor Systems
