Systemd-analyze: Debug and Optimize Your Linux Boot Time

Hi @AnthonyRKing

Looking at it the NetworkManager.service taking 37 seconds is the biggest offender. That combined with NetworkManager-wait-online.service at 7.68s, your network stack alone is eating ~45 seconds.

Might be an interface that’s configured but not actually connected. If you have Wi-Fi + Ethernet and only use one, disable the other. I had this issue with my B550 motherboard.

Also you can try this:

sudo systemctl disable NetworkManager-wait-online.service

However, if you have services (like NAS or VPN) that genuinely need the network up before they start then avoid that.

That command just disables the waiting service, not your connection. Use enable if you need to revert.

Also see:

You can shorten the timeout as well to like 5 seconds but honestly I would just disable because you want the system to boot regardless.

Edit: Also what is the result of:

sudo systemctl list-dependencies network-online.target
1 Like