Kworker hits cpu for 100%

Hello.

After some of last updates there is one process named kworker/4:1+events and it always hits one cpu core for 100% and it won’t go down. Slows my laptop.

101 root 20 0 0 0 0 I 100,0 0,0 14:10.86 kworker/4:1-events

No idea what to do. Rebooted to older kernel (from 6.6.10-1 to 6.1.7-1) but it didn’t helped.
Let me know what you need and I’ll provide.

Edit:
So I found out it was because of eth driver module r8168 so I disabled it. But now I don’t have eth. Any ideas?

System:
  Kernel: 6.6.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=75b4a339-3527-4ddf-a52a-6c47b44e6130 rw
    cryptdevice=UUID=aa016456-ecb8-4596-89b8-1ca0be5e009e:luks-aa016456-ecb8-4596-89b8-1ca0be5e009e
    root=/dev/mapper/luks-aa016456-ecb8-4596-89b8-1ca0be5e009e
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 81B0 v: Lenovo V330-14IKB
    serial: <filter> Chassis: type: 10 v: Lenovo V330-14IKB serial: <filter>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter>
    UEFI: LENOVO v: 6UCN54WW(V4.09) date: 11/23/2018
Battery:
  ID-1: BAT1 charge: 22.4 Wh (94.1%) condition: 23.8/30.0 Wh (79.2%)
    power: 3.7 W volts: 8.6 min: 7.5 model: 0x53 0x4D 0x50 0x00 0x31 0x42 0x4C
    0x31 0x37 0x4D 0x32 0x50 0x42 type: Li-ion serial: <filter>
    status: charging
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 20 GiB available: 19.28 GiB used: 2.46 GiB (12.7%)
    igpu: 64 MiB
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: 2400 MT/s volts: curr: 1.2 min: 1.5
    max: 1.5 width (bits): data: 64 total: 64 manufacturer: SK Hynix
    part-no: HMA851S6AFR6N-UH serial: N/A
  Device-2: ChannelB-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: spec: 2667 MT/s actual: 2400 MT/s volts:
    curr: 1.2 min: 1.5 max: 1.5 width (bits): data: 64 total: 64
    manufacturer: Crucial part-no: CT16G4SFD8266.C16FJ serial: <filter>
CPU:
  Info: model: Intel Core i5-8250U socket: BGA1356 (U3E1) note: check bits: 64
    type: MT MCP arch: Coffee Lake gen: core 8 level: v3 note: check built: 2017
    process: Intel 14nm family: 6 model-id: 0x8E (142) stepping: 0xA (10)
    microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 435 high: 681 min/max: 400/3400 base/boost: 2800/8300
    scaling: driver: intel_pstate governor: powersave volts: 0.9 V
    ext-clock: 100 MHz cores: 1: 400 2: 400 3: 400 4: 400 5: 681 6: 400 7: 400
    8: 400 bogomips: 28808
  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 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
    sgx 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: gather_data_sampling mitigation: Microcode
  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_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:5917 class-ID: 0300
  Device-2: Chicony Integrated Camera (1280x720@30) driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2
    chip-ID: 04f2:b604 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.10 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,left
    model: Idek Iiyama PL2730H serial: <filter> built: 2019 res: 1920x1080
    dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 pos: right model: BOE Display 0x06bb built: 2016
    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
    bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.6.10-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.0 status: n/a (root, process) tools: pw-cli
  Server-4: PulseAudio v: 16.1 status: active (root, process) with:
    1: pulseaudio-alsa type: plugin 2: pulseaudio-jack type: module
    tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel modules: r8168 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0
    chip-ID: 8086:3166 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:3 chip-ID: 8087:0a2a
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 7c010c
Logical:
  Message: No logical block device data found.
  Device-1: luks-aa016456-ecb8-4596-89b8-1ca0be5e009e maj-min: 254:0
    type: LUKS dm: dm-0 size: 229.37 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 229.37 GiB
  Device-2: luks-081b91bd-da78-4557-a556-59013f440aa1 maj-min: 254:1
    type: LUKS dm: dm-1 size: 8.8 GiB
  Components:
  p-1: nvme0n1p3 maj-min: 259:3 size: 8.8 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 238.47 GiB used: 173.96 GiB (72.9%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix
    model: HFS256GD9TNG-62A0A size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 80001E00 temp: 36.9 C scheme: GPT
  SMART: yes health: PASSED on: 46d 9h cycles: 2,192
    read-units: 17,814,714 [9.12 TB] written-units: 18,848,707 [9.65 TB]
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 229.37 GiB size: 224.71 GiB (97.97%)
    used: 173.96 GiB (77.4%) fs: ext4 block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-aa016456-ecb8-4596-89b8-1ca0be5e009e label: N/A
    uuid: 75b4a339-3527-4ddf-a52a-6c47b44e6130
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 408 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: 7F71-C007
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/dm-1 maj-min: 254:1
    mapped: luks-081b91bd-da78-4557-a556-59013f440aa1 size: 8.8 GiB fs: swap
    label: N/A uuid: 3dbf3f42-61fb-4fca-b8ba-bf0003df75c8
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-5:2 info: Chicony Integrated Camera (1280x720@30) type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 04f2:b604 class-ID: 0e02 serial: <filter>
  Device-2: 1-6:3 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0a2a class-ID: e001
  Device-3: 1-8:4 info: Synaptics type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 06cb:0081 class-ID: ff00 serial: <filter>
  Device-4: 1-9:5 info: Logitech Unifying Receiver type: keyboard,mouse
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c534 class-ID: 0301
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 40.0 C pch: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 270 Uptime: 4m wakeups: 0 Init: systemd v: 255 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: pm: dpkg
  pkgs: 0 pm: pacman pkgs: 2229 libs: 570 tools: pacaur,pamac,yay pm: flatpak
  pkgs: 0 Shell: Sudo (sudo) v: 1.9.15p5 default: Bash v: 5.2.21
  running-in: xfce4-terminal inxi: 3.3.31

And r8169 doesn’t work?

I unblacklisted it (r8169) but it looks like there is other problem I don’t understand

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: fast devsel, IRQ 16
	I/O ports at 4000 [size=256]
	Memory at a3104000 (64-bit, non-prefetchable) [size=4K]
	Memory at a3100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel modules: r8169, r8168

I certainly don’t understand what your problem is here. If you want help, then provide some information. Otherwise, good luck :wave:

Are you sure? How did you determine this?

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --admin --verbosity=7 --filter --no-host --width
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Have you already :mag: for your problem in the forum ? (Wisdom lies in asking → listening → reading :wink: )

1 Like

Updated original post for system info

I woke up this morning did system update and found out that one of my cores is always 100%. Checked top and saw kworker hitting it 100% all the time. At the same time I realised my ethernet connection is not working and I’m on wifi only. Quick boot to live from USB determined that eth is ok there so must be problem on my main system. So I did echo l > /proc/sysrq-trigger and then checked dmesg and found out that something from r8168 is there repeating on that one core and keeps it busy. So i disabled r8168 and problem went away after restart.

But now I have no eth only wifi and I would like to have working eth. And when I reenable it, the problem is back.