DEV Community

HaxNet
HaxNet

Posted on

Systemd startup time

In a terminal for startup times:

systemd-analyze

To see what is starting up, in a terminal:

systemd-analyze blame

Or to view in graph:

systemd-analyze plot > boot.svg

Here are mine

Startup finished in 11.929s (firmware) + 3.667s (loader) + 2.221s (kernel) + 12.821s (userspace) = 30.639s
graphical.target reached after 7.741s in userspace


Here's to Blame:
10.743s updatedb.service
5.574s NetworkManager-wait-online.service
1.736s systemd-random-seed.service
1.046s man-db.service
704ms boot.mount
553ms lvm2-monitor.service
393ms dev-sda6.device
192ms WD.mount
169ms accounts-daemon.service
145ms polkit.service
129ms upower.service
105ms systemd-journal-flush.service
101ms user@1000.service
88ms NetworkManager.service
67ms systemd-udevd.service
63ms systemd-udev-trigger.service
62ms systemd-logind.service
56ms systemd-journald.service
47ms systemd-fsck@dev-disk-by\x2duuid-18E6\x2d0474.service
41ms systemd-timesyncd.service
39ms cups.service
39ms systemd-binfmt.service
33ms modprobe@drm.service
23ms user-runtime-dir@1000.service
22ms systemd-remount-fs.service
21ms sys-kernel-tracing.mount
20ms kmod-static-nodes.service
20ms tmp.mount
20ms modprobe@configfs.service
20ms modprobe@fuse.service
20ms dev-mqueue.mount
20ms sys-kernel-debug.mount
20ms dev-hugepages.mount
19ms systemd-tmpfiles-setup.service
18ms lightdm.service
16ms systemd-tmpfiles-setup-dev.service
16ms proc-sys-fs-binfmt_misc.mount
16ms systemd-modules-load.service
6ms sys-fs-fuse-connections.mount
6ms sys-kernel-config.mount
6ms systemd-user-sessions.service
6ms systemd-sysctl.service
5ms systemd-update-utmp.service
4ms rtkit-daemon.service

This is a good tool to use if you see that your system starting up slow.

please post yours in the comment!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more