我正在使用一台旧笔记本电脑,装有 xubuntu 18.04。4GB RAM + i3-2350M cpu。
我刚刚升级,发现启动时间非常慢。我搜索并尝试了各种方法,但找不到导致 tlp.service 运行如此缓慢的原因。以前启动时间没有这么长,一旦启动完成,它就可以正常运行。
您有什么想法或建议吗?提前谢谢您。
首先,systemd-analyze 时间输出:
Startup finished in 7.799s (kernel) + 3min 17.996s (userspace) = 3min
25.796s
graphical.target reached after 34.975s in userspace
systemd-analyze 责备输出
2min 43.014s tlp.service
25.077s dev-sda1.device
19.910s systemd-journal-flush.service
16.803s systemd-sysctl.service
12.907s snap-gnome\x2dcalculator-238.mount
7.741s NetworkManager-wait-online.service
5.657s systemd-tmpfiles-setup-dev.service
5.372s snapd.service
3.730s udisks2.service
3.271s networkd-dispatcher.service
2.389s systemd-modules-load.service
2.159s NetworkManager.service
2.045s accounts-daemon.service
2.042s ModemManager.service
2.011s keyboard-setup.service
1.893s grub-common.service
1.554s preload.service
1.475s avahi-daemon.service
1.301s wpa_supplicant.service
1.295s lightdm.service
1.275s systemd-random-seed.service
1.159s swapfile.swap
918ms polkit.service