How to make KDE boot up faster?

So last time I used Windows 7 but sadly Microsoft ended its support so I switch Linux Mint then I found Manjaro Xfce but I didn’t like it that much and then I found there are many desktop enviourments so I stuck with Manjaro KDE cause it has stable enough packages and it has the sweet sweet AUR which basically is the best place to get software. There was a problem tho I realised Manjaro Kde booted way slower than Window 7 I counted the times with a stop watch and its quite long Windows 7 took 13 seconds ish and Manjaro KDE took 61 secs. I even disabled the password to log in and its still very long anyway to fix this?

2 Likes

My Laptop Specs
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.2-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2467M CPU @ 1.60GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000

Edit : I have a ssd on this laptop

Post the output of:

systemd-analyze blame

With that, we can see what tasks are taking time in your boot process.

so I typed systemd-analyze blame into my terminal (konsole) and the output is

[kp-laptop@kp-laptop ~]$ systemd-analyze blame
14.576s systemd-journal-flush.service
11.629s lvm2-monitor.service
10.827s snapd.service
10.094s polkit.service
8.368s dev-sda3.device
4.009s avahi-daemon.service
4.000s NetworkManager.service
3.883s systemd-logind.service
3.622s cups.service
2.524s apparmor.service
2.500s systemd-udevd.service
2.192s tlp.service
1.961s systemd-tmpfiles-setup-dev.service
1.671s ModemManager.service
1.611s systemd-tmpfiles-clean.service
1.328s wpa_supplicant.service
1.117s udisks2.service
1.037s dev-loop2.device
954ms snapd.apparmor.service
932ms dev-loop3.device
838ms user@1000.service
830ms systemd-modules-load.service
724ms var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-145.mount
720ms systemd-random-seed.service
708ms var-lib-snapd-snap-core18-2066.mount
657ms upower.service
653ms modprobe@drm.service
564ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1515.mount
506ms dev-loop4.device
501ms dev-loop0.device
488ms var-lib-snapd-snap-snapd-12057.mount
471ms accounts-daemon.service
445ms var-lib-snapd-snap-snapd-11841.mount
422ms systemd-udev-trigger.service
408ms systemd-tmpfiles-setup.service
405ms linux-module-cleanup.service
345ms systemd-rfkill.service
291ms systemd-binfmt.service
288ms systemd-sysctl.service
284ms systemd-journald.service
282ms dev-hugepages.mount
281ms dev-mqueue.mount
280ms sys-kernel-debug.mount
279ms sys-kernel-tracing.mount
241ms tmp.mount
238ms kmod-static-nodes.service
235ms modprobe@configfs.service
232ms modprobe@fuse.service
230ms systemd-timesyncd.service
124ms systemd-update-utmp.service
109ms systemd-backlight@backlight:acpi_video0.service
76ms systemd-remount-fs.service
68ms rtkit-daemon.service
61ms systemd-user-sessions.service
54ms proc-sys-fs-binfmt_misc.mount
53ms systemd-backlight@backlight:intel_backlight.service
21ms user-runtime-dir@1000.service
3ms sys-fs-fuse-connections.mount
2ms sys-kernel-config.mount
1ms snapd.socket
lines 26-60/60 (END)

Hope this helps

Looks pretty normal.

If you don’t use snaps, you can disable snapd to save some seconds, but otherwise it looks pretty normal.

I use snapd so I can’t disable it, any other way to speed it up tho? I already made the grub timeout thing to 1 sec so 9 sec down on my boot up time boot its still quite slow. Will changing a display manager make it faster?

Not really.

Let me ask you this.
Do you really reboot your computer that often, that shaving off 15 seconds of boot time is gonna make you have time to do something else in your day?

1 Like

ya but I just kinda wonder why is it so slow?

yes shaving off 15 sec won’t really matter at the end of the day but having nice boot times is a nice thing to havee

In my opinion, under 1 minute is not slow. :wink:

ok, im going to try configuring lightdm with my spare computer and try it and see does it work anyways its good to try a new thing anyways

If you don’t have LVM partitioning, I’d disable lvm2-monitor.service.

How do you disable it

sudo systemctl mask lvm2-monitor.service

And also while testing SDDM in my spare computer…the booting is so much faster about 1/4 the time to boot up compared to my laptop and keep in mine this computer uses a SD card to boot up and my laptop uses a proper SSD, so it’s not the SSD problem I must have f up something, and it’s slowing the computer down. I actually though the spare pc was going to lose because I have so much thing auto start applications on the spare computer and the computer has an Intel atom processor which is extremely slow. any idea how to fix it without going through a clean install?

Spare Computer boot times


Laptop boot times

so both of them as more or less the same applications because I test everything I think is sketchy on that machine since is just a spare computer

The laptop actually don’t have many apps I installed all I did was just change VLC for MPV (because it’s totally better than VLC) and Cantata for rhythm box. I also installed audacity and Popsicle (USB flasher made by system 76) and also I installed Nemo file manager and Xed text editor. I am SUS about Xed and Nemo cause there not native, and maybe they have bloat which slow down the boot times, but these applications are also installed on the spared computer so maybe not.

I beg your pardon?
Here on an almost 10-year-old T430 with SSD, Manjaro XFCE boots up to the login screen in 3.8 seconds. On the same computer, Manjaro KDE actually takes more than twice as long, 8.4 seconds. If I look at the hardware data of the TO, it is comparable to my X220 / T420. There XFCE takes 5.6 seconds and I cannot give any information about KDE , because it is not installed. But accept up to a minute - never.
Edit: I think upgrading the RAM to dual channel will be helpful.