How to speed up my boot time gnome

systemd-analyze blame

5.736s systemd-modules-load.service
1.910s systemd-journal-catalog-update.service
1.867s systemd-rfkill.service
1.148s dev-nvme0n1p5.device
 696ms apparmor.service
 524ms systemd-udev-trigger.service
 498ms fwupd.service
 468ms systemd-remount-fs.service
 437ms ldconfig.service
 390ms systemd-tmpfiles-setup.service
 283ms modprobe@fuse.service
 266ms boot-efi.mount
 256ms ufw.service
 252ms user@1000.service
 243ms accounts-daemon.service
 242ms lvm2-monitor.service
 240ms modprobe@drm.service
 197ms systemd-journal-flush.service
 185ms upower.service
 130ms polkit.service
 128ms systemd-update-done.service
 110ms systemd-backlight@leds:asus::kbd_backlight.service
 109ms systemd-sysusers.service

systemd-analyze critical-chain @7.060s
└─ @7.060s
  └─ModemManager.service @7.004s +55ms
    └─polkit.service @6.854s +130ms
      └─ @6.808s
        └─ @6.808s
          └─dbus.socket @6.808s
            └─ @6.805s
              └─ufw.service @6.548s +256ms
                └─systemd-sysctl.service @6.508s +36ms
                  └─systemd-modules-load.service @731ms +5.736s
                    └─systemd-journald.socket @721ms
                      └─-.mount @682ms
                        └─-.slice @682ms

Startup finished in 3.999s (firmware) + 1.3s (loader) + 1.8s (kernel) + 7.2s (userspace) =14.561s reached after 7.060s in userspace.

Moderator edit: It’s <pre><code> :wink:

Do not use systemd-analyze blame, because it shows total activated services at startup, but not for boot up to login page. Which login manager do you use? GDM or SDDM?


$ systemd-analyze plot >> ~/Desktop/boot.svg

Try to upload the file boot.svg and share it with us here.

Your systemd services take a long time. Do you boot from a HDD or SSD?

What is for example the output of:

systemctl status systemd-modules-load.service

Is your system encrypted?

Services you don’t need can be disabled and masked via:

sudo systemctl disable --now <service>
sudo systemctl mask <service>