
Giles Orr wrote on 2023-12-17 15:19:
One of my favourite recent discoveries are the abilities of `systemd-analyze`. `systemd-analyze blame` shows how long every step in the boot process took. It's worth looking at, but doesn't account for the fact that many of these things run in parallel. So to better understand what's causing the_real_ delays, try `systemd-analyze critical-chain`. The output is fascinating and I hope helpful ... but please keep in mind that I never got further than that so I can't tell you how to speed up the problem areas ... But the last command may at least focus your search in the `dmesg` output.
This is an excellent tool! Thanks for bringing it up; I'm embarrassed to have forgotten to mention it. I just looked at mine and it's quite revealing. I recall now someone having slow boot issues and looking at their `systemd-analyze` output, it took a couple seconds to see that postfix was the culprit. rb