|
|
|
|
|
by arghwhat
990 days ago
|
|
On many machines, the firmware is the largest contributor, with user-space services and their dependencies being the rest. `systemd-analyze` (in particular, `systemd-analyze critical-chain` and `systemd-analyze plot > plot.svg`) are useful to diagnose. On my system you can see that my graphical session waits for systemd-user-session.service, which waits for network.target, which waits for NetworkManager taking its sweet time, which isn't started before network-pre which waits until nftables is done loading rules, etc. Optimizing the service order and their dependencies does wonders for boot time. |
|
Why isn't this automatic? I'm pretty sure most of us have neither expertise not enthusiasm for that job.