我按照 ASRock X570 Phantom Gaming4 主板的主页描述,将固件更新到了最新版。之后,我的 Ubuntu 20.04.1 LTS 启动时间变长了很多:
➜ ~ systemd-analyze time
Startup finished in 19.721s (firmware) + 2.840s (loader) + 33.151s (kernel) + 5.894s (userspace) = 1min 1.608s
graphical.target reached after 5.888s in userspace
我假设额外的时间是从固件开始的~20秒。
我该如何进一步分析以解决问题?
以下是我的完整硬件规格:
AMD Ryzen 5 3600 6x 3.60GHz
ASRock X570 Phantom Gaming 4 AMD
32GB Corsair Vengeance LPX DDR4-3000 DIMM CL15
500GB Crucial MX500
PowerColor Radeon RX 5700 XT Red Devil
这是 Windows 10 的双启动安装 - 运行正常。
答案1
apt upgrade
时间降至正常水平后:
Startup finished in 19.737s (firmware) + 3.185s (loader) + 1.603s (kernel) + 18.304s (userspace) = 42.830s
graphical.target reached after 18.288s in userspace