Reducing the boot time of Linux devices
summary
A BeagleBone Black image boots from about 11.76s to 2.61s by applying measured changes: use grabserial, bootchart and bootgraph to find delays; start the GUI app before most userspace (a small PID‑1 script) to shave ~3.5s at the cost of systemd supervision; remove unused btrfs code (cuts ~1.8s), trim kernel from 5.6MB to 3.2MB (saves ~450ms), and disable U‑Boot delay plus simplify scripts (≈2.2s saved). Enabling Falcon mode can cut more but reduces flexibility.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 0:58Linux devices
- 1:58How much effort
- 3:18How to improve boot time
- 5:18Measuring
- 7:15GrabCor
- 8:37Demo
- 10:17Optimizations
- 11:42Bootchart
- 15:02Kernel booting
- 15:22Moving up the batting order
- 17:44Run QT demo
- 19:21Boot time
- 19:59The kernel
- 22:45Boot graph
- 24:04Raid 6 select
- 26:14Bootloader
- 28:04Disable boot delay
- 29:21Buddha scripts
- 29:41Boot scripts
- 30:28Final measurement
- 31:51Conclusion
- 33:35Slides
- 34:18SystemD
- 36:23Boot Falcon Mode
- 40:07QA
- 44:20Android
- 47:35Catch early output
related talks
39mTiming Boot Time Reduction Techniques
40mA Pragmatic Guide to Boot-Time Optimization
37mAccelerating Linux Boot Time: Techniques and Strategies for Optimal Performance
38mWe Need to Talk About Systemd: Boot Time Optimization for the New init daemon
34mTweaking the Linux Boot Flow for an Accelerated ADAS Experience
42mImproving Linux Boot Time for Automotive Use Cases
24mSoftware Optimization for Early Linux Boot for Time Critical...
48mUnified Boot Time Measurement: A Precise, Scalable Framework for Multi-Processor Systems
