![]() Registered Member ![]()
|
Hello!
So recently I noticed that my boot times on KDE Neon went waaaay up. I mean from a few seconds to a few minutes. Note that this is not related to the Neon 18.04 update, as the problem manifested itself before the updates. The only thing that happened around the time, is me deleting old operating systems I had on the disk. The system is on a fairly new Samsung 500GB SSD. Here are some systemd outputs:
At first I thought that this might be previously reported issue with systemd not getting enough entropy, but I believe this should be fixed in the Kernel Neon is using now, correct?
Any help is appreciated, as the boot time is driving me nuts! (I know, I know, first world problems, etc..) |
![]() Registered Member ![]()
|
Hola . A mi lo mismo: systemd-analyze blame :1.266s dev-sdb2.device
889ms apt-daily-upgrade.service 652ms snapd.service 618ms keyboard-setup.service 247ms systemd-logind.service 237ms systemd-journal-flush.service 194ms NetworkManager.service 177ms udisks2.service 157ms networkd-dispatcher.service 128ms systemd-rfkill.service 110ms snap-kde\x2dframeworks\x2d5-25.mount 104ms ModemManager.service 102ms lvm2-monitor.service 96ms systemd-timesyncd.service 93ms snap-kde\x2dframeworks\x2d5-27.mount 91ms systemd-resolved.service 88ms systemd-udev-trigger.service 85ms accounts-daemon.service 83ms grub-common.service 79ms snap-kde\x2dframeworks\x2d5-26.mount 77ms plymouth-quit-wait.service 77ms plymouth-quit.service 73ms alsa-restore.service 72ms snap-core-5145.mount 58ms gpu-manager.service 55ms apparmor.service 54ms systemd-tmpfiles-setup-dev.service 47ms upower.service 47ms snap-core-4917.mount 45ms systemd-journald.service 42ms avahi-daemon.service 39ms systemd-udevd.service 37ms pppd-dns.service y systemd-analyze : Startup finished in 8.397s (firmware) + 3.118s (loader) + 34.431s (kernel) + 2.471s (userspace) = 48.419s graphical.target reached after 2.310s in userspace SSD M2 250 GB---intel core I5 . 7200 U Saludos Pedro |
![]() Registered Member ![]()
|
With some help on Reddit, I reduced the boot time by removing old entries in fstab. The current boot time stats are as follows:
|
![]() Registered Member ![]()
|
Hola . KERNEL 34.5 Segundos , Neon Bionic
¿Solucion? Saludos. Pedro |
![]() Registered Member ![]()
|
Something is wrong there. I have a ssd and my readings are:
systemd-analyze Startup finished in 13.524s (firmware) + 11.860s (loader) + 4.024s (kernel) + 6.410s (userspace) = 35.820s graphical.target reached after 5.880s in userspace |
![]() Registered Member ![]()
|
Had exactly the same issue since 18.04 on update and fresh install. Tried Kubuntu and noticed the same : huge "loader" time. I edited grub to display the boot menu and adjusted timeout to 0 => Loader time is now < 1sec |
![]() Registered Member ![]()
|
I've had the same issue with the upgrade. It was taking around 40 seconds just to get to the login screen after entering the encryption key. So I did a fresh install, and then.... voila!! Not it only takes about 4 seconds to get to the login screen after entering the encryption key. I know it's big hassle, but it's worth it since you have to deal with it for the next 5 years!
![]() Startup finished in 25.301s (kernel) + 4.997s (userspace) = 30.298s graphical.target reached after 4.201s in userspace |
![]() Registered Member ![]()
|
Hi, is there any other solution than a fresh install?
![]() I have still a long boot time after the upgrade to Neon 18.04: voodoo@HAL-silver:~$ systemd-analyze Startup finished in 7.071s (firmware) + 4.718s (loader) + 35.692s (kernel) + 31.467s (userspace) = 1min 18.949s graphical.target reached after 31.441s in userspace Kind and slow regards ![]() |
![]() Registered Member ![]()
|
You can analyse the boot in more detail:
And then open created in your home directory boot.svg eg in Firefox browser. Mine bionic based KDE neon:
|
![]() KDE Developer ![]()
|
Well, of the times posted already... if you kernel time is more than 10 seconds on an SSD you'll want to check your `dmesg` log. Something is severely slowing down the time it takes to get from grub to actually starting applications and eventually sddm.
It may also be prudent to try and see if you see the boot getting stuck on something specific by switching to verbose boot output during boot. https://unix.stackexchange.com/question ... ut-verbose
Annoyed with bbcode since 1999.
|
![]() Registered Member ![]()
|
Thanks so far, "systemd-analyze plot > boot.svg" points out the NetworkManager-wait-online.service, which takes 30.022s.
So I try to manage this first. KR |
![]() Registered Member ![]()
|
@apachelogger,
I have an encrypted SSD hard drive, that takes about 40 seconds just to get to the encryption login screen. I remember the boot up time to the encryption screen much was faster with the previous 16.04 version. It was around 10 seconds or so. Is there any room for improvement on this? Thanks. Startup finished in 21.727s (kernel) + 5.189s (userspace) = 26.916s graphical.target reached after 4.355s in userspace |
![]() Registered Member ![]()
|
In my case I could optimize the boot time with to things about the wifi:
1. I changed the wifi configuration to "store password for all users (not encrypted)", look at: viewtopic.php?f=309&t=155599#p406705 2. I disabled the 'NetworkManager-wait-online.service': sudo systemctl disable NetworkManager-wait-online.service https://askubuntu.com/questions/1018576 ... service-do Now I have the following boot time: systemd-analyze Startup finished in 6.593s (firmware) + 4.663s (loader) + 35.655s (kernel) + 1.481s (userspace) = 48.393s graphical.target reached after 1.460s in userspace So firmware and loader are taking 11s and I've seen faster kernel loading times around here. |
![]() Registered Member ![]()
|
Did anyone installed with UEFI and Nvidiacard? Because with this combination it hangs @initram.
|
![]() Registered Member ![]()
|
Following apachelogger's advice (thank you!) I've switched to the verbose mode for booting. My long boot time has to do with my touchpad canfiguration, I have the output:
Begin: Running/scripts/local-premount ... [ 3.991079] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input/ The booting hangs almost 30 seconds with this message. I've tried to solve this via systems settings, but every thing works fine except the boot time. And looking for problems with 'ETPS/2 Elantech Touchpad' & Linux everything was about a not working touchpad. But it works ... |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]