云映像 - 内核 5.3 升级至 18.04 后启动延迟

云映像 - 内核 5.3 升级至 18.04 后启动延迟

因此,我进行了测试,预计会失败,但我还是将镜像的内核从 5.3 更新到了 5.4。https://kernel.ubuntu.com/~kernel-ppa/mainline/。它启动了并且一切运行良好,但经过几次重启后我注意到重启时间很长。

graphical.target @19min 44.970s
└─multi-user.target @19min 44.959s
  └─cloudflared.service @19min 40.657s +4.298s
    └─basic.target @19min 40.617s
      └─sockets.target @19min 40.614s
        └─snapd.socket @19min 40.589s +17ms
          └─sysinit.target @19min 40.548s
            └─cloud-init.service @19min 39.553s +982ms
              └─systemd-networkd-wait-online.service @19min 38.465s +1.084s
                └─systemd-networkd.service @19min 38.398s +53ms
                  └─network-pre.target @19min 38.394s
                    └─cloud-init-local.service @1.769s +19min 36.621s
                      └─systemd-remount-fs.service @678ms +95ms
                        └─systemd-journald.socket @675ms
                          └─system.slice @625ms
                            └─-.slice @611ms

是云初始化还是由于某些网络延迟systemd-networkd-wait-online.service,或者是其他什么原因?

相关内容