Analyze and optimize boot up with systemd

To measure boot times use


Result should look something like:

Startup finished in 2.463s (kernel) + 53.052s (userspace) = 55.516s

To see list of processes and how much time they take when booting up use:

systemd-analyze blame | head

If you want to visualize the boot process in .svg image use:

systemd-analyze plot > boot_process.svg

And finally when you want to mask a process in systemd (make it invisible and not bootable via systemd) use:

systemctl mask SERVICENAME.service

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.