System Specs:
CPU: Intel i9-990k
Motherboard: ROG Strix-Z390-F Gaming
RAM: 32GB
Graphics: ASUS DUAL-RTX2080S-O8G-EVO
Related OS: Kubuntu 20.04
Relevant storage:
Boot - Samsung 970 EVO 500GB (/boot/efi)
Linux: SanDisk SD7SB3Q-128G-1006 SSD (/root and swap)
Home: ADATA SP610 SSD (/home)
Multiple other HDDs, and SSDs, mounted as either ntfs-3g, or ext4
Not quite sure if I'm putting this in the right place. At first, Kubuntu booted up fast, with a kernel boot time of just seconds, after a clean install. After some time, and updates, the kernel takes more than 1 minute to boot.
The only thing I really ried to this point was disabling fstrim.service, and enabling fstrim.timer, because initially, systemd-analyze blame said that fstrim.service was the culprit. Changing this removed fstrim from systemd-analyze blame, but had no impact on boot time.
Output of systemd-analyze:
Output of systemd-analyze blame:
Output of systemd-analyze critical-chain:
Any help would be greatly appreciated.
CPU: Intel i9-990k
Motherboard: ROG Strix-Z390-F Gaming
RAM: 32GB
Graphics: ASUS DUAL-RTX2080S-O8G-EVO
Related OS: Kubuntu 20.04
Relevant storage:
Boot - Samsung 970 EVO 500GB (/boot/efi)
Linux: SanDisk SD7SB3Q-128G-1006 SSD (/root and swap)
Home: ADATA SP610 SSD (/home)
Multiple other HDDs, and SSDs, mounted as either ntfs-3g, or ext4
Not quite sure if I'm putting this in the right place. At first, Kubuntu booted up fast, with a kernel boot time of just seconds, after a clean install. After some time, and updates, the kernel takes more than 1 minute to boot.
The only thing I really ried to this point was disabling fstrim.service, and enabling fstrim.timer, because initially, systemd-analyze blame said that fstrim.service was the culprit. Changing this removed fstrim from systemd-analyze blame, but had no impact on boot time.
Output of systemd-analyze:
Code:
Startup finished in 28.028s (firmware) + 6.479s (loader) + 1min 8.375s (kernel) + 12.455s (userspace) = 1min 55.339s graphical.target reached after 12.449s in userspace
Code:
7.630s NetworkManager-wait-online.service 3.491s media-jason-Users.mount 3.376s upower.service 3.163s media-jason-Virtual.mount 3.099s media-jason-ROMs.mount 2.399s media-jason-VM.mount 1.556s snap-snapd-12883.mount 1.551s snap-wine\x2dplatform\x2druntime-241.mount 1.440s snap-snapd-12398.mount 1.437s snap-spotify-53.mount 1.233s snap-notepad\x2dplus\x2dplus-292.mount 1.163s snap-wine\x2dplatform\x2d5\x2dstable-16.mount 1.142s snap-spotify-52.mount 1.083s dev-sdb2.device 1.076s snap-keepassxc-1309.mount 998ms snap-wine\x2dplatform\x2d6\x2dstable-8.mount 975ms snap-wine\x2dplatform\x2d6\x2dstable-5.mount 788ms snapd.service 785ms snap-wine\x2dplatform\x2druntime-229.mount 738ms dev-loop1.device 679ms dev-loop2.device 630ms snap-notepad\x2dplus\x2dplus-285.mount 626ms dev-loop0.device 583ms snap-gnome\x2d3\x2d28\x2d1804-161.mount 581ms dev-loop3.device 569ms systemd-logind.service 547ms dev-loop4.device 544ms dev-loop5.device 493ms dev-loop6.device 442ms networkd-dispatcher.service 409ms udisks2.service 373ms dev-loop10.device 367ms systemd-journal-flush.service 338ms dev-loop7.device 331ms snap-wine\x2dplatform\x2d5\x2dstable-13.mount 325ms dev-loop8.device 312ms snap-core18-2074.mount 303ms snap-gtk\x2dcommon\x2dthemes-1515.mount 299ms snap-keepassxc-1522.mount 272ms snapd.seeded.service 270ms dev-loop15.device 252ms snap-gtk\x2dcommon\x2dthemes-1514.mount 242ms dev-loop9.device 236ms accounts-daemon.service 215ms systemd-fsck@dev-disk-by\x2duuid-bbe9141e\x2d6ac6\x2d4f98\x2dba47\x2d95c633972c12.service 214ms dev-loop16.device 193ms dev-loop14.device 182ms dev-loop17.device 181ms avahi-daemon.service 179ms bluetooth.service 178ms nmbd.service 176ms snap-gnome\x2d3\x2d28\x2d1804-145.mount 176ms NetworkManager.service 169ms dev-loop11.device 167ms polkit.service 165ms systemd-fsck@dev-disk-by\x2dlabel-Linux\x2dGames.service 152ms switcheroo-control.service 148ms thermald.service 145ms wpa_supplicant.service 138ms dev-loop12.device 127ms snap-core18-2128.mount 126ms teamviewerd.service 115ms ua-messaging.service 107ms gpu-manager.service 104ms user@1000.service 97ms systemd-resolved.service 94ms dev-loop13.device 92ms virtualbox.service 88ms secureboot-db.service 82ms systemd-udevd.service 80ms ModemManager.service 77ms apport.service 73ms systemd-journald.service 71ms systemd-udev-trigger.service 71ms smbd.service 68ms grub-common.service 65ms rsyslog.service 56ms e2scrub_reap.service 44ms systemd-timesyncd.service 42ms dev-disk-by\x2duuid-013e5ca3\x2d8edf\x2d438c\x2d95b6\x2d4e80c04e6954.swap 41ms keyboard-setup.service 40ms apparmor.service 40ms lm-sensors.service 39ms systemd-sysctl.service 38ms ssh.service 35ms systemd-rfkill.service 31ms systemd-modules-load.service 30ms systemd-tmpfiles-clean.service 28ms systemd-fsck@dev-disk-by\x2duuid-4241\x2d438D.service 26ms dev-loop18.device 22ms snapd.apparmor.service 22ms systemd-tmpfiles-setup.service 21ms plymouth-quit.service 20ms nvidia-persistenced.service 20ms media-jason-Linux\x2dGames.mount 17ms grub-initrd-fallback.service 15ms pppd-dns.service 13ms systemd-sysusers.service 13ms kerneloops.service 12ms plymouth-start.service 12ms systemd-tmpfiles-setup-dev.service 11ms plymouth-read-write.service 11ms systemd-random-seed.service 10ms alsa-restore.service 9ms systemd-remount-fs.service 8ms boot-efi.mount 8ms systemd-user-sessions.service 8ms user-runtime-dir@1000.service 7ms media-jason-ROM\x2dSaves.mount 7ms home.mount 6ms dev-loop19.device 6ms systemd-update-utmp.service 6ms console-setup.service 6ms openvpn.service 5ms setvtrgb.service 5ms dev-hugepages.mount 5ms dev-mqueue.mount 5ms systemd-update-utmp-runlevel.service 5ms sys-kernel-debug.mount 5ms ufw.service 4ms sys-kernel-tracing.mount 3ms rc-local.service 3ms kmod-static-nodes.service 2ms rtkit-daemon.service 2ms sddm.service 1ms sys-fs-fuse-connections.mount 1ms sys-kernel-config.mount 438us snapd.socket
Code:
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 @12.449s └─multi-user.target @12.449s └─smbd.service @12.377s +71ms └─nmbd.service @12.198s +178ms └─network-online.target @12.197s └─NetworkManager-wait-online.service @4.566s +7.630s └─NetworkManager.service @4.388s +176ms └─dbus.service @4.387s └─basic.target @4.378s └─sockets.target @4.378s └─snapd.socket @4.378s +438us └─sysinit.target @4.374s └─systemd-timesyncd.service @4.329s +44ms └─systemd-tmpfiles-setup.service @4.306s +22ms └─local-fs.target @4.303s └─media-jason-Users.mount @812ms +3.491s └─dev-sdc1.device @799ms
Comment