Slow Startup

I’m not sure what happened, but my startup started taking much longer.

Other possibly helpful info: before this happened, I was trying to fix my backlight brightness not working, and tried installing different packages to see if that was resolved, like acpilight, brightness, light, brillo, etc. This might have an effect, besides the packages I have updated the previous day.

System info

systemd-analyze gives:

Startup finished in 6.552s (firmware) + 6.904s (loader) + 5.529s (kernel) + 15.331s (userspace) = 34.318s reached after 15.301s in userspace.

systemd-analyze blame gives:

4.521s dev-nvme0n1p5.device
4.429s systemd-modules-load.service
1.613s firewalld.service
1.600s ldconfig.service
1.493s power-profiles-daemon.service
1.393s upower.service
1.378s lvm2-monitor.service
1.328s media-c.mount
1.323s systemd-fsck@dev-disk-by\x2duuid-C2C6\x2d34F2.service
1.299s NetworkManager.service
1.204s user@1000.service
1.200s systemd-udevd.service
1.141s systemd-journal-flush.service
1.024s systemd-sysusers.service
 947ms avahi-daemon.service
 931ms wpa_supplicant.service
 915ms dbus.service
 651ms systemd-tmpfiles-setup.service
 562ms systemd-random-seed.service
 519ms polkit.service
 424ms systemd-udev-trigger.service
 383ms systemd-journal-catalog-update.service
 301ms systemd-tmpfiles-setup-dev.service
 287ms swapfile.swap
 234ms systemd-sysctl.service
 225ms boot-efi.mount
 199ms systemd-remount-fs.service
 199ms modprobe@loop.service
 166ms modprobe@dm_mod.service
 160ms systemd-journald.service
 160ms systemd-logind.service
 157ms systemd-update-utmp.service
 156ms cups.service
 139ms systemd-rfkill.service
 137ms modprobe@fuse.service
 129ms systemd-backlight@backlight:ideapad.service
 122ms rtkit-daemon.service
 120ms dev-mqueue.mount
 118ms sys-kernel-tracing.mount
 113ms modprobe@drm.service
 111ms systemd-timesyncd.service
 105ms systemd-user-sessions.service
  98ms sys-fs-fuse-connections.mount
  98ms sys-kernel-config.mount
  94ms dev-hugepages.mount
  92ms sys-kernel-debug.mount
  89ms kmod-static-nodes.service
  88ms modprobe@configfs.service
  67ms udisks2.service
  61ms tmp.mount
  53ms systemd-update-done.service
  43ms user-runtime-dir@1000.service
  29ms alsa-restore.service
  16ms proc-sys-fs-binfmt_misc.mount

inxi -Faz gives:

  Kernel: 6.1.22-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-lts
    root=UUID=0592a0f5-3ba2-43d0-bf78-2e2f6adc7043 rw acpi_backlight=native
    loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1
  Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 info: latte-dock
    wm: kwin_x11 vt: 1 dm: 1: LightDM v: 1.32.0 note: stopped 2: SDDM
    Distro: EndeavourOS base: Arch Linux
  Type: Laptop System: LENOVO product: 82H8 v: IdeaPad 3 15ITL6
    serial: <superuser required> Chassis: type: 10 v: IdeaPad 3 15ITL6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40688 WIN
    serial: <superuser required> UEFI: LENOVO v: GGCN20WW date: 01/13/2021
  ID-1: BAT0 charge: 12.6 Wh (37.5%) condition: 33.6/38.0 Wh (88.3%)
    volts: 8.1 min: 7.7 model: BYD L20B2PF0 type: Li-poly serial: <filter>
    status: charging cycles: 1286
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse B330/M330/M331
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xA6
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1994 high: 2800 min/max: 400/4700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2800 2: 2800 3: 1200
    4: 2800 5: 1161 6: 1200 7: 2800 8: 1197 bogomips: 44864
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 0000:00:02.0
    chip-ID: 8086:9a49 class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce MX450] vendor: Lenovo driver: nvidia
    v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-03) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 bus-ID: 0000:01:00.0
    chip-ID: 10de:1f97 class-ID: 0302
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-5:3 chip-ID: 04f2:b725 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x151e built: 2019 res: 1920x1080
    hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.0.1 renderer: Mesa Intel Xe Graphics (TGL GT2)
    direct-render: Yes
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  API: ALSA v: k6.1.22-1-lts status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.67 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 3-10:5 chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
  Local Storage: total: 476.94 GiB used: 358.82 GiB (75.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo
    model: UMIS RPJTJ512MEE1OWX size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2.1C0628 temp: 41.9 C scheme: GPT
  ID-1: / raw-size: 146.48 GiB size: 143.13 GiB (97.71%)
    used: 57.2 GiB (40.0%) fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 33.5 MiB (13.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 16 GiB used: 4.8 MiB (0.0%) priority: -2
    file: /swapfile
  System Temperatures: cpu: 53.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 262 Uptime: 14m wakeups: 1891 Memory: 7.56 GiB
  used: 4.59 GiB (60.8%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1348
  libs: 344 tools: pamac,yay pm: flatpak pkgs: 0 Shell: Zsh v: 5.9
  running-in: konsole inxi: 3.3.26

Please advise!

I don’t think the LTS kernel has the ibt fix in place yet (that only recently happened on mainline kernel)

Temporarily add ibt=off as a kernel parameter or try booting into the mainline kernel to see if the time stays?

Hmm weird, I think the problem disappeared overnight, not sure why. It might be because I forgot to close Musescore before logging out before.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.