Slow boot time on Manjaro XFCE

systemd-analyze shows this:

Startup finished in 2.429s (kernel) + 3.273s (userspace) = 5.703s reached after 3.012s in userspace.

but real boot time is about 40 seconds.

There is systemd-analyze blame output:

2.540s systemd-modules-load.service
 297ms dev-loop6.device
 296ms dev-nvme0n1p1.device
 291ms dev-loop4.device
 277ms dev-loop5.device
 269ms dev-loop0.device
 267ms dev-loop3.device
 265ms dev-loop1.device
 249ms tlp.service
 248ms dev-loop2.device
 225ms apparmor.service
 197ms snapd.service
 179ms ldconfig.service
 150ms user@1000.service
 113ms udisks2.service
 110ms lvm2-monitor.service
  92ms systemd-udev-trigger.service
  76ms upower.service
  65ms ModemManager.service
  55ms var-lib-snapd-snap-core20-1587.mount
  51ms systemd-udevd.service
  49ms systemd-journald.service
  47ms var-lib-snapd-snap-code-102.mount
  43ms systemd-journal-flush.service
  42ms var-lib-snapd-snap-core-13425.mount
  40ms var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-112.mount
  40ms var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-112.mount
  39ms systemd-tmpfiles-setup.service
  39ms systemd-logind.service
  38ms var-lib-snapd-snap-snapd-16292.mount
  38ms accounts-daemon.service
  38ms var-lib-snapd-snap-bare-5.mount
  37ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount
  36ms systemd-remount-fs.service
  29ms avahi-daemon.service
  27ms colord.service
  25ms NetworkManager.service
  24ms cups.service
  24ms polkit.service
  22ms snapd.apparmor.service
  20ms systemd-sysusers.service
  19ms dbus.service
  17ms systemd-journal-catalog-update.service
  17ms modprobe@fuse.service
  16ms systemd-tmpfiles-setup-dev.service
  15ms alsa-restore.service
  13ms lightdm.service
  13ms user-runtime-dir@1000.service
   9ms systemd-random-seed.service
   9ms dev-disk-by\x2duuid-d8b8a31f\x2dbb2f\x2d42f2\x2da395\x2d690609d6bd2d.swap
   9ms dev-hugepages.mount
   8ms dev-mqueue.mount
   8ms ufw.service
   7ms sys-kernel-debug.mount
   7ms systemd-sysctl.service
   7ms sys-kernel-tracing.mount
   7ms systemd-update-utmp.service
   6ms kmod-static-nodes.service
   6ms home.mount
   6ms systemd-update-done.service
   5ms modprobe@configfs.service
   5ms tmp.mount
   5ms modprobe@drm.service
   5ms var-cache.mount
   4ms var-log.mount
   4ms systemd-user-sessions.service
   3ms rtkit-daemon.service
   1ms sys-kernel-config.mount
   1ms sys-fs-fuse-connections.mount
 579us snapd.socket

I’m using SSD.

Can you post inxi -Fza ?

inxi -Fza output:

  Kernel: 5.18.14-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.18-x86_64
    root=UUID=89e5d89e-8fad-45fa-98ce-6742595879cf rw rootflags=subvol=@
    quiet apparmor=1 security=apparmor
    resume=UUID=d8b8a31f-bb2f-42f2-a395-690609d6bd2d udev.log_priority=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux
    base: Arch Linux
  Type: Desktop Mobo: ASRock model: A320M Pro4-F serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: P2.20 date: 07/27/2020
  Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming
    Mouse serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
  Info: model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ gen: 2
    built: 2018-21 process: GF 12nm family: 0x17 (23) model-id: 8 stepping: 2
    microcode: 0x800820D
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 1469 high: 2475 min/max: 1550/3400 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1415 2: 1309
    3: 1267 4: 1375 5: 1372 6: 1375 7: 2475 8: 1431 9: 1318 10: 1374 11: 1374
    12: 1546 bogomips: 81471
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 470.129.06
    alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current (as of
    2022-07) arch: Pascal code: GP10x process: TSMC 16nm built: 2016-21 pcie:
    gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 07:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver:
    X: loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 93 s-size: 524x292mm (20.63x11.50")
    s-diag: 600mm (23.62")
  Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
  Device-1: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 3-1:2 pcie: chip-ID: 0c76:161f gen: 2 class-ID: 0300
    speed: 5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 07:00.1
    chip-ID: 10de:0fb9 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 09:00.3
    chip-ID: 1022:1457 class-ID: 0403
  Device-3: JMTek LLC. USB PnP Audio Device(EEPROM) type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.18.14-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Local Storage: total: 1.59 TiB used: 25.62 GiB (1.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SNVS500G
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: EDFK0N01
    temp: 44.9 C scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM010-2EP102
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC43
    scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WDS250G2B0B-00YS70 size: 232.89 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 20WD
    scheme: GPT
  ID-1: / raw-size: 448.65 GiB size: 448.65 GiB (100.00%) used: 25.62 GiB
    (5.7%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-2: /home raw-size: 448.65 GiB size: 448.65 GiB (100.00%) used: 25.62
    GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /var/log raw-size: 448.65 GiB size: 448.65 GiB (100.00%) used: 25.62
    GiB (5.7%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 17.11 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
  System Temperatures: cpu: 44.8 C mobo: N/A gpu: nvidia temp: 28 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
  Processes: 306 Uptime: 50m wakeups: 3 Memory: 15.55 GiB used: 3.57 GiB
  (23.0%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: 1262 pacman: 1254 lib: 334
  flatpak: 0 snap: 8 Shell: Bash v: 5.1.16 running-in: xfce4-terminal
  inxi: 3.3.20

You can disable some background services.

I don’t think that’s the problem. First of all, I installed this system just yesterday and I doubt there are any unnecessary services in there. Secondly, my laptop (weaker in specs) has the same OS and DE, but the actual boot time is 15s.

I don´t sit in front of the laptop.