Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore systemd boot time optimization techniques in this conference talk. Delve into the advantages of systemd over traditional System V init daemon, focusing on its ability to run init tasks in parallel. Discover why default configurations may lead to increased boot times and learn how to effectively use systemd to reduce startup duration. Investigate systemd units, their dependencies, and methods to eliminate unnecessary tasks while reordering remaining ones for optimal performance. Gain insights into measuring systemd boot time, utilizing systemctl commands, and implementing useful systemd features such as watchdogs and resource limits. Master the art of fine-tuning systemd to achieve a working system in minimum time, ultimately demonstrating that systemd simply needs proper configuration and understanding to unlock its full potential.
Syllabus
Intro
About Chris Simmonds
What is an init daemon?
Init daemons for embedded use cases
Systemd is not just an init daemon
What are the advantages of systemd?
Units, services and targets
Unit dependencies
Order: Before and After
The default target
Reverse dependencies: WantedBy
The Install section
systemcti
Reducing boot time
Measuring systemd boot time
First attempt
systemd-analyze 3/3
2nd attempt
Other useful systemd features
Watchdog
Resource limits
systemd-analyze 2/3
Taught by
Linux Foundation