启动时间为141秒。这是 dmesg 命令最有趣的部分:
[ 2.870498] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd
[ 80.669210] ADDRCONF(NETDEV_UP): eth0: link is not ready
我需要78
[ 86.108371] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo
[ 102.924783] cfg80211: All devices are disconnected, going to restore regulatory settings
还有16秒
[ 109.643299] wlan0: associated
[ 140.406853] wlan0: deauthenticated from 00:3a:9a:49:27:60 (Reason: 23)
和31秒。
是否可以对这些部件进行一些操作以减少总启动时间?
答案1
以下是我对正在发生的事情的猜测:
[ 2.870498] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd
内核完成初始化。此后,新贵接管并开始启动用户空间应用程序。
[ 80.669210] ADDRCONF(NETDEV_UP): eth0: link is not ready
网络管理器服务已启动。
[ 86.108371] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo
Xserver 启动并初始化图形驱动程序。此时,我会认为机器已“启动”,因为大多数服务都应该启动。
[ 102.924783] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 109.643299] wlan0: associated
[ 140.406853] wlan0: deauthenticated from 00:3a:9a:49:27:60 (Reason: 23)
网络管理器连接到您的接入点。直到您登录并启动 nm-applet 后,这种情况才可能发生。
我建议使用引导图得到真正的细分而不是这种猜测。