所以我现在尝试将启动时间缩短为41.772s(使用UBUNTU 17.04 / GNOME 3)
我已经解决了一些问题,但似乎找不到解决方法来改善keyboard-setup.service
系统分析责任:
20.671s dev-sda6.device
20.294s keyboard-setup.service
16.885s systemd-tmpfiles-setup-dev.service
15.296s systemd-sysctl.service
10.730s networking.service
9.848s ntp.service
6.699s NetworkManager-wait-online.service
5.546s click-system-hooks.service
5.229s ModemManager.service
4.989s accounts-daemon.service
4.741s NetworkManager.service
4.343s grub-common.service
3.740s iio-sensor-proxy.service
2.926s repowerd.service
2.102s systemd-modules-load.service
2.043s colord.service
1.847s fwupd.service
1.770s upower.service
1.529s switcheroo-control.service
1.372s user@128.service
1.357s polkit.service
1.322s irqbalance.service
1.167s systemd-rfkill.service
系统分析关键链:
graphical.target @36.002s
└─multi-user.target @36.002s
└─systemd-resolved.service @34.741s +363ms
└─network.target @34.733s
└─wpa_supplicant.service @30.369s +679ms
└─basic.target @24.005s
└─sockets.target @24.004s
└─snapd.socket @23.986s +16ms
└─sysinit.target @23.928s
└─apparmor.service @23.387s +538ms
└─local-fs.target @23.384s
└─run-user-128.mount @35.104s
└─local-fs-pre.target @23.384s
└─keyboard-setup.service @3.089s +20.294s
└─systemd-journald.socket @3.049s
└─-.slice @2.602s
有什么帮助吗?我可以禁用它并使启动后启动服务吗?还是应该安装其他键盘驱动程序?我的电脑是hp pavillion dv6 Intel i7,8GB RAM
谢谢!
我在(
—
pbhj
sudo systemctl edit ...
)下面使用了@Jeroen Vermeulen-MageHost的方法,实际上也是这样做的systemd-tmpfiles-setup-dev.service
。现在,它将键盘设置减少了6s到16s(仍然很高),并将tmpfiles-setup从大约20s减少到了1s以上。在Kubuntu 18.04上,我有一个USB键盘,并且在我的“ BIOS”中未启用USB(我弄错了,必须将其重置为启用);两者都可能是相关的。
gedit /lib/systemd/system/keyboard-setup.service
,并TimeoutStartSec=10sec
在的底部添加[Service]
。我仍在与systemd-tmpfiles-setup-dev.service