[xubuntu-users] 20.04 boots very slowly - Was: Please help
Ralf Mardorf
silver.bullet at zoho.com
Sun Jun 19 17:49:48 UTC 2022
Hi,
below are some commands that are a starting point for troubleshooting
the issue. I'm on an Arch Linux machine with a rt-patched 4.19 kernel,
not running Xfce, but just running the window manager openbox. However,
the commands are the same for your Ubuntu install. Open the Xfce
terminal and run the following commands. With the mouse select
everything, then right-click and chose copy. Do not use the usual
shortcut to copy from the terminal. Paste everything to your email
reply to the mailing list. For pasting you can use the common shortcut.
The commands are
systemd-analyze time
systemd-analyze blame | head
systemd-analyze critical-chain
An example, it should look different, but similar when you run the
commands:
[rocketmouse at archlinux ~]$ systemd-analyze time
Startup finished in 2.616s (kernel) + 4.120s (userspace) = 6.737s
graphical.target reached after 3.768s in userspace.
[rocketmouse at archlinux ~]$ systemd-analyze blame | head
1.707s dev-sdc1.device
1.673s man-db.service
711ms systemd-hwdb-update.service
622ms udisks2.service
619ms ldconfig.service
512ms systemd-random-seed.service
469ms accounts-daemon.service
439ms systemd-udev-trigger.service
342ms libvirtd.service
339ms rtirq.service
[rocketmouse at archlinux ~]$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @3.768s
└─multi-user.target @3.768s
└─libvirtd.service @3.424s +342ms
└─systemd-logind.service @3.245s +176ms
└─nss-user-lookup.target @3.479s
Regards,
Ralf
More information about the xubuntu-users
mailing list