This forum has been archived. All content is frozen. Please use KDE Discuss instead.

System taking awfully long despite being loaded from an SSD

Tags: None
(comma "," separated)
jaydentheveryadvancedlinuxuseronthekdeforums
Registered Member
Posts
1
Karma
0
Hello, my system has for some reason been booting very slowly. I think it may be a problem with systemd. Here is some more information:

Output of:
Code: Select all
$ systemd-analyze


Code: Select all
Startup finished in 10.459s (firmware) + 3.929s (loader) + 36.009s (kernel) + 3.514s (userspace) = 53.912s
graphical.target reached after 3.505s in userspace


It took 36 seconds to start the kernel. Which made the boot take an entire MINUTE! It isn't systemd, its the kernel. If it was a systemd issue i might of been able to solve it myself but since its the kernel I need help.

According to the boot logs it hangs at some generic GPIO information and then after quite a while it starts to load the system.

Output of:
Code: Select all
$ uname -sr

Code: Select all
Linux 5.11.0-36 generic


Hardware: Intel Core i5-2400 Nvidia GTX 1050 ti Driver: 470 12GB RAM
512 GB Sandisk SSD



Distribution: KDE Neon User Edition (Latest Updates Installed)


Actions before issue:
-- Removed swap partition
-- Updated /etc/fstab
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
More details may point to a reason :
The first few lines of this command will show the slowest loading parts
Code: Select all
$ systemd-analyze blame


(do note that these items are loaded in parallel, not in series, so adding up the times you see won't add up to the total amount of time saved on boot,or added.)

This will show a tree view, and where some things may be blocking others from loading
Code: Select all
$ systemd-analyze critical-chain



Initial thoughts, first things to look at are if you have a lot of Snap packages installed. These all have to be mounted and loaded. You may see evidence of this with one of the above commands.

Another might be a somewhat common one in Linux where NetworkManager.wait.online.service is a bottleneck , with other services waiting on this to finish, basically waiting for a network connection to load before proceeding.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]