I have a very slow reboot of raspberry pi 4 (8gb ram). It wasnt always like this, but the last days i realized it's extremely slow. I use it for Home assistant (with Docker), pihole and plex, and i have a usb mounted for extra space. Is the SD card getting old and i should go for an SSD? Here are my results:
systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @44.592s
└─multi-user.target @44.591s
└─docker.service @15.619s +27.622s
└─network-online.target @15.580s
└─NetworkManager-wait-online.service @8.746s +6.831s
└─NetworkManager.service @6.280s +2.460s
└─dbus.service @6.239s
└─basic.target @6.107s
└─sockets.target @6.107s
└─docker.socket @6.070s +36ms
└─sysinit.target @6.058s
└─sys-fs-fuse-connections.mount @15.478s +26ms
└─systemd-modules-load.service @1.137s +133ms
└─systemd-journald.socket @1.125s
└─system.slice @1.096s
└─-.slice @1.096s