Kde booting slow

[prince@Bot ~]$ systemd-analyze
Startup finished in 4.127s (kernel) + 21.466s (userspace) = 25.593s
graphical.target reached after 21.465s in userspace

But it 1 minutes and 50 second to boot.

[prince@Bot ~]$ systemd-analyze blame
22.855s udisks2.service
14.843s polkit.service
12.606s systemd-journal-flush.service
6.182s dev-loop2.device
6.044s dev-loop3.device
5.680s dev-loop4.device
5.678s dev-sda4.device
5.438s dev-loop5.device
5.359s dev-loop0.device
4.822s dev-loop1.device
2.469s systemd-udevd.service
2.403s avahi-daemon.service
2.396s NetworkManager.service
2.333s systemd-logind.service
1.681s user@1000.service
1.328s upower.service
1.170s systemd-tmpfiles-setup-dev.service
944ms var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-145.mount
665ms systemd-fsck-root.service
543ms var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-161.mount
484ms modprobe@drm.service
481ms wpa_supplicant.service
437ms var-lib-snapd-snap-core18-2074.mount
429ms systemd-journald.service
398ms systemd-backlight@backlight:intel_backlight.service
382ms accounts-daemon.service
377ms systemd-modules-load.service
344ms systemd-random-seed.service
317ms dev-disk-by\x2duuid-352b6f20\x2d757d\x2d449a\x2db953\x2d330361e3dcb0.swap
300ms systemd-udev-trigger.service
299ms systemd-tmpfiles-setup.service
265ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1515.mount
211ms modprobe@fuse.service
210ms alsa-restore.service
204ms dev-hugepages.mount
202ms dev-mqueue.mount
200ms sys-kernel-debug.mount
199ms sys-kernel-tracing.mount
198ms kmod-static-nodes.service
198ms modprobe@configfs.service
191ms var-lib-snapd-snap-rambox-16.mount
142ms systemd-sysctl.service
94ms var-lib-snapd-snap-snapd-12398.mount
91ms systemd-update-utmp.service
75ms rtkit-daemon.service
74ms systemd-rfkill.service
55ms user-runtime-dir@1000.service
55ms systemd-remount-fs.service
33ms systemd-user-sessions.service
24ms sys-kernel-config.mount
9ms tmp.mount
8ms sys-fs-fuse-connections.mount
lines 29-52/52 (END)

But sum of these is more than 25 seconds as it shows in running command systemd-analyze

This is a repeating KDE topic in the Manjaro forum. Some will say that you have to screw KDE until the point of mutilation, others recommend another desktop right away. Let’s start now and please show us your

inxi -Fz

so we know what we are dealing with.

Almost 45sec is not slow. Judging from the times of system-analyze I would say it is a spinning disk. After 45sec SDDM and KDE start, so those are not count here.

1 min 50 sec is quite normal for a spinning disk.

KDE does boot a little slower on spinning disks due to many small files it has to load, but even your timing isn’t slow. Sure compared to even SATA3 SSD it’s way slower, but SATA3 SSD is already 5-6 times faster than typical HDD:

$ systemd-analyze 
Startup finished in 4.497s (firmware) + 12.145s (loader) + 4.596s (kernel) + 7.577s (userspace) = 28.817s 
graphical.target reached after 7.559s in userspace
$ systemd-analyze blame
4.097s NetworkManager-wait-online.service                                       
2.789s postgresql@12-main.service                                               
1.661s dev-sda3.device                                                          
1.111s networkd-dispatcher.service                                              
 906ms snapd.service
 ...

those loop devices are certainly killing, though. 5 seconds for each? eww…

Wie bitte? Ich schreibe jetzt mal in Deutsch, damit das unter uns bleibt :grinning:.
Fast 22 Sekunden bis zur grafischen Oberfläche! Das schafft selbst meine 11 Jahre alte Möhre mit SSD und XFCE in unter 6 Sekunden. Klar, was danach noch abläuft, ist abhängig von den gestarteten Diensten. Also: Die Hardware Konfiguration des TO mal zeigen und dann schauen, wo man am besten den Hebel ansetzen kann. Damit leben oder das so zu akzeptieren muss man absolut nicht, zumal wir auch nicht wissen, ob sich die Sache um eine HDD dreht…
Beste Grüße in Hochspannung von Niedervolt zu Megavolt.

[prince@Bot ~]$ inxi -Fz
System:
Kernel: 5.10.49-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.22.3
Distro: Manjaro Linux
Machine:
Type: Laptop System: Sony product: SVE1513CYNB v: C10H55HJ
serial:
Mobo: Sony model: VAIO serial: UEFI-[Legacy]: Insyde v: R0190E5
date: 07/31/2012
Battery:
ID-1: BAT1 charge: 27.3 Wh (57.5%) condition: 47.5/47.5 Wh (100.0%)
volts: 3.7 min: 10.8
CPU:
Info: Dual Core model: Intel Core i3-2328M bits: 64 type: MT MCP cache:
L2: 3 MiB
Speed: 1572 MHz min/max: 800/2200 MHz Core speeds (MHz): 1: 1572 2: 1790
3: 1124 4: 1195
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
driver: i915 v: kernel
Device-2: Ricoh USB2.0 Camera type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.11 driver: loaded: intel
unloaded: modesetting s-res: 1366x768
OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2)
v: 3.3 Mesa 21.1.4
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
driver: snd_hda_intel
Sound Server-1: ALSA v: k5.10.49-1-MANJARO running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network:
Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k
IF: wlp1s0 state: up mac:
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp3s0 state: down mac:
Bluetooth:
Device-1: Foxconn / Hon Hai Bluetooth USB Host Controller type: USB
driver: btusb
Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
Drives:
Local Storage: total: 298.09 GiB used: 63.63 GiB (21.3%)
ID-1: /dev/sda vendor: Hitachi model: HTS543232A7A384 size: 298.09 GiB
Partition:
ID-1: / size: 135.64 GiB used: 63.63 GiB (46.9%) fs: ext4 dev: /dev/sda4
Swap:
ID-1: swap-1 type: partition size: 7.45 GiB used: 0 KiB (0.0%)
dev: /dev/sda1
Sensors:
System Temperatures: cpu: 51.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 189 Uptime: 5m Memory: 3.74 GiB used: 1.86 GiB (49.8%)
Shell: Bash inxi: 3.3.05
[prince@Bot ~]$

Yepp it is spinning disk… xD Exchange it with a SSD and you will have a faster boot time.

For example these ones:

Are created probably by snapd. So removing snapd will result in a faster boot.

i have disable snapd.
ok i will remove it.