当你把这些值加起来时,它远远超过 51 秒。?
(部分服务列表。)
Startup finished in 6.983s (kernel) + 44.191s (userspace) = 51.174s
graphical.target reached after 42.255s in userspace
andy@7_~/Downloads$ systemd-analyze blame
21.614s systemd-journal-flush.service
21.044s dev-sda1.device
18.941s ufw.service
18.410s [email protected]
16.334s keyboard-setup.service
11.486s NetworkManager-wait-online.service
11.362s [email protected]
10.167s systemd-tmpfiles-setup-dev.service
10.101s systemd-sysctl.service
答案1
Systemd 尝试并行化启动—搜索并行。
这意味着如果单元 A 需要 10 秒而单元 B 需要 12 秒,则“总计”可能是 12 到 22 秒之间的任何值。