18.04 延遲啟動 - 哪個設備?

18.04 延遲啟動 - 哪個設備?

我不知道如何閱讀systemd-analyze足夠好來了解如何解決我自己的延遲啟動問題。 Ubuntu 17.10 對我來說啟動速度非常快,而且我知道,一旦配置正確,18.04 實際上會更快。

你能幫我嗎確定延遲的進程和任何解決方案

時間
Startup finished in 4.282s (firmware) + 4.215s (loader) + 35.104s (kernel) + 34.337s (userspace) = 1min 17.940s
graphical.target reached after 34.328s in userspace
關鍵鏈
graphical.target @34.328s
└─multi-user.target @34.328s
  └─docker.service @33.161s +1.166s
    └─network-online.target @33.156s
      └─network.target @3.132s
        └─NetworkManager.service @2.551s +575ms
          └─dbus.service @2.472s
            └─basic.target @2.385s
              └─sockets.target @2.385s
                └─docker.socket @2.383s +970us
                  └─sysinit.target @2.374s
                    └─systemd-timesyncd.service @2.054s +319ms
                      └─systemd-tmpfiles-setup.service @1.980s +53ms
                        └─local-fs.target @1.978s
                          └─run-snapd-ns-bluez.mnt.mount @33.434s
                            └─run-snapd-ns.mount @33.193s
                              └─swap.target @1.864s
                                └─dev-mapper-cryptswap1.swap @1.812s +9ms
                                  └─dev-mapper-cryptswap1.device @1.812s
責備
     30.022s NetworkManager-wait-online.service
      4.302s apt-daily-upgrade.service
      1.664s keyboard-setup.service
      1.615s plymouth-quit-wait.service
      1.166s docker.service
      1.102s dev-nvme0n1p5.device
       777ms fwupd.service
       729ms networkd-dispatcher.service
       688ms systemd-logind.service
       575ms NetworkManager.service
       521ms gpu-manager.service
       516ms udisks2.service
       516ms [email protected]
       496ms snap-pycharm\x2dprofessional-66.mount
       453ms snap-bluez-129.mount
       446ms ModemManager.service
       434ms snap-pycharm\x2dprofessional-64.mount
       413ms snap-intellij\x2didea\x2dultimate-47.mount
       410ms snap-intellij\x2didea\x2dultimate-44.mount
       395ms accounts-daemon.service
       350ms nbfc.service
       349ms grub-common.service
       340ms unbound.service

答案1

嘗試這個

systemctl stop NetworkManager-wait-online.service
systemctl disable NetworkManager-wait-online.service

該服務不是來自開箱即用的 Ubuntu 18.04
我不能作為依賴項安裝,我告訴 Steam 安裝它

相關內容