My system keeps freezing for a few seconds

Hello,
I’m using Manjaro for a few days and i’m loving it, but i have a big issue that is driving me a bit crazy and wanting to go back to other dist.
My system freezes for a few seconds and it appears to be related to high IO because when i’m downloading, installing something or doing something that requires a bit of IO, it seems to freeze more. During the freezes, i can use my mouse and sometimes other open applications.

I use the laptop with the lid closed connected to 2 external monitors, but this don’t seem to have a hand on the issue, because it even freezes when working only with laptop monitor.

If i’m installing something from AUR the system sometimes freezes for about 5 seconds and gets supper laggy.

Things i have tried:

  • Reinstalling Nvidia drivers
  • Creating swap using file (for some reason the installed didn’t create a swap partition)

My system info:

System:
  Kernel: 5.15.85-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=d0547e0d-95f2-49a3-877d-e597cb0a6b03 rw quiet
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 81FV v: Lenovo Legion Y530-15ICH
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion Y530-15ICH
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: 8JCN53WW date: 10/12/2019
Battery:
  ID-1: BAT0 charge: 49.0 Wh (97.0%) condition: 50.5/52.5 Wh (96.1%)
    volts: 12.6 min: 11.3 model: LGC L17L3PG1 type: Li-poly serial: <filter>
    status: N/A
Memory:
  RAM: total: 23.35 GiB used: 9.25 GiB (39.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 9 MiB desc: 1x9 MiB
  Speed (MHz): avg: 800 min/max: 800/4100 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 52815
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: none off: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Lenovo
    driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none
    off: DP-1,HDMI-A-1 empty: DP-2 bus-ID: 01:00.0 chip-ID: 10de:1c8d
    class-ID: 0300
  Device-3: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-4.3.1:8 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Device-4: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-6:3 chip-ID: 13d3:56a6 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1184x380mm (46.61x14.96")
    s-diag: 1243mm (48.96")
  Monitor-1: DP-1 mapped: DP-0 note: disabled pos: bottom-r
    model: AOC 24B2W1G5 serial: <filter> built: 2021 res: 1920x1080 hz: 60
    dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Monitor-2: HDMI-A-1 mapped: HDMI-0 note: disabled pos: primary,top-left
    model: LG (GoldStar) Ultra HD serial: <filter> built: 2016 res: 2560x1440
    hz: 60 dpi: 108 gamma: 1.2 size: 600x340mm (23.62x13.39")
    diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480
  Monitor-3: eDP-1 mapped: eDP-1-1 note: disabled model: LG Display 0x05e5
    built: 2018 res: 2560x1440 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 525.60.11 renderer: NVIDIA GeForce GTX
    1050/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    bus-ID: 1-4.3.1:8 v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    chip-ID: 046d:082d bus-ID: 00:1f.3 class-ID: 0102 chip-ID: 8086:a348
    serial: <filter> class-ID: 0403
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:0fb9 class-ID: 0403
  Device-3: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k5.15.85-1-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0
    chip-ID: 8086:3166 class-ID: 0280
  IF: wlp7s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 2-2.2:3 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp0s20f0u2u2 state: down mac: <filter>
  IF-ID-1: br-03dee246144b state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-2: br-1b0784ed5b5f state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-3: br-2c15d4b5c5d2 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-4: br-4c9b24d4410e state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-5: br-513361e119f0 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-6: br-a16dd291c7ac state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-7: br-cff3582482af state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-8: docker0 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-9: veth00b8a24 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-10: veth0359786 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-11: veth20e0a4f state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-12: veth21f47d7 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-13: veth28449bb state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-14: veth2a597de state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-15: veth3404732 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-16: veth378f99a state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-17: veth3d1d2bd state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-18: veth494da2c state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-19: veth4be2939 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-20: veth53bdb99 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-21: veth579a74e state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-22: veth5b14443 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-23: veth5ecfc21 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-24: veth6659b7a state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-25: veth66b67de state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-26: veth67eada2 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-27: veth709fb57 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-28: veth7183c79 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-29: veth72c6701 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-30: veth75a2de0 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-31: veth768a870 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-32: veth7c58d17 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-33: veth82b6496 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-34: veth907ce2d state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-35: veth96849bd state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-36: veth99b867b state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-37: vetha11445d state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-38: vetha2b96a3 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-39: vetha4cefe0 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-40: vetha5a30c1 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-41: vethab8f3c3 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-42: vethb3cb291 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-43: vethd70c140 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-44: vethd7dad7b state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-45: vethe48a4c9 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-46: vethf152202 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-47: vethfa2387d state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-14:4 chip-ID: 8087:0a2a class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.04 TiB used: 108.66 GiB (10.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: N/A
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s
    lanes: 2 type: SSD serial: <filter> rev: 0109ADLA temp: 49.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM049-2GH172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: LXM3 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB model: N/A size: 14.65 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
    rev: 2.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 118.95 GiB size: 116.52 GiB (97.96%)
    used: 96.75 GiB (83.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: d0547e0d-95f2-49a3-877d-e597cb0a6b03
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 0EC8-287E
  ID-3: /run/media/kanazaca/2C238FFE70753DC0 raw-size: 931.5 GiB
    size: 931.5 GiB (100.00%) used: 11.91 GiB (1.3%) fs: ntfs dev: /dev/sda2
    maj-min: 8:2 label: N/A uuid: 2C238FFE70753DC0
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 3.32 GiB fs: iso9660
  ID-2: /dev/sdb2 maj-min: 8:18 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: C80E-8B3F
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:11 info: USB Disk 2.0 type: Mass Storage driver: usb-storage
    interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: ffff:5678
    class-ID: 0806 serial: <filter>
  Hub-2: 1-4:2 info: VIA Labs USB2.0 Hub ports: 5 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2817 class-ID: 0900
  Device-1: 1-4.1:5 info: Holtek USB-HID Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s power: 100mA
    chip-ID: 04d9:0295 class-ID: 0300
  Hub-3: 1-4.3:6 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-4.3.1:8 info: Logitech HD Pro Webcam C920 type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Device-2: 1-4.4:7 info: Razer USA RZ01-0321 Gaming Mouse [DeathAdder V2]
    type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 1532:0084 class-ID: 0300
  Device-3: 1-4.5:9 info: VIA Labs USB Billboard Device type: Billboard
    driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 2109:8888 class-ID: 1100 serial: <filter>
  Device-4: 1-6:3 info: IMC Networks Integrated Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 13d3:56a6 class-ID: 0e02 serial: <filter>
  Device-5: 1-14:4 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0a2a class-ID: e001
  Hub-4: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 2-2:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.1 speed: 5 Gb/s
    chip-ID: 2109:0817 class-ID: 0900
  Device-1: 2-2.2:3 info: Realtek RTL8153 Gigabit Ethernet Adapter
    type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 288mA
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Sensors:
  System Temperatures: cpu: 48.0 C pch: 64.0 C mobo: N/A gpu: nvidia temp: 44 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 486 Uptime: 1h 10m wakeups: 1 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: 1385 pm: pacman pkgs: 1369 libs: 340 tools: pamac,yay pm: flatpak
  pkgs: 1 pm: snap pkgs: 15 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.24

Thanks for the help!

Hello @kanazaca,

if you think its IO related you can use htop to have an eye on it.

htop: F2 -> Meters -> Disk IO

… will show you more and could help you further.

And do you have a glue where these 47 network interfaces came from?
And you using kernel 5.15, does the system shows the same behaviour on newer kernels like 6.0 or 6.1?

1 Like

Thanks for the reply.

I used htop to see IO, but it doesn’t seem to be the issue because it’s too low and i have an Toshiba nvm disk that is pretty capable of these tasks. I don’t have this issue on other distros.

All of these networks should be docker related networks.

Didn’t test 6.0 or 6.1 kernel. Should i try it?

And are you download you files to your nvm or directly to the ntfs partition?

I only use my ntfs drive for backups.

All of my work is done on the nvm.

first disable baloo - system settings/file search and uncheck all options, click apply and see if it helped… if not install the 6.1 kernel as mentioned by kisun and try with it…