Kernel 6.8.0-79-generic in this case.. I think rsync may trigger this
(probably mass update of atimes on the files?), I had been running an
rsync backup on it when I logged in and saw like 600% CPU usage from
these workers just churning through CPU time for several minutes.  I do
have a script that will display Dirty and Writeback from /proc/meminfo
and it had like less than 2MB dirty, the "wbs" in this case did not have
some huge amount of writebacks going on.

[40673.756842] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 4 
times, conside
r switching to WQ_UNBOUND
[40673.827870] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 8 
times, conside
r switching to WQ_UNBOUND
[40673.881887] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 16 
times, consid
er switching to WQ_UNBOUND
[40674.034833] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 32 
times, consid
er switching to WQ_UNBOUND
[40674.694056] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 64 
times, consider switching to WQ_UNBOUND
[40678.956775] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 128 
times, consider switching to WQ_UNBOUND
[40684.067714] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 256 
times, consider switching to WQ_UNBOUND
[40694.227596] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 512 
times, consider switching to WQ_UNBOUND
[40763.993648] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 1024 
times, consider switching to WQ_UNBOUND
[41021.791329] kauditd_printk_skb: 125 callbacks suppressed

This does seem intermittent, and this thing's a 6 core/12 thread, so I
doubt it's noticeably slowing down the system.  But definitely odd.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2038492

Title:
  workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 16 times,
  consider switching to WQ_UNBOUND

Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-6.5 package in Ubuntu:
  Confirmed

Bug description:
  dmesg has multiple messages:
  [  852.580542] evict_inodes inode 00000000be24a21a, i_count = 1, was skipped!
  [  852.580543] evict_inodes inode 000000002aea522e, i_count = 1, was skipped!
  [  852.580544] evict_inodes inode 0000000048d75a5c, i_count = 1, was skipped!
  [  852.580545] evict_inodes inode 00000000d8a9e4c2, i_count = 1, was skipped!
  [  852.580546] evict_inodes inode 000000003d2c905c, i_count = 1, was skipped!
  [  852.580547] evict_inodes inode 00000000e5b1b232, i_count = 1, was skipped!
  [  852.580548] evict_inodes inode 0000000097383a6b, i_count = 1, was skipped!
  [  852.580549] evict_inodes inode 00000000ca8e2b44, i_count = 1, was skipped!
  [ 1751.869281] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 4 
times, consider switching to WQ_UNBOUND
  [ 1781.467278] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 8 
times, consider switching to WQ_UNBOUND
  [ 1806.065364] workqueue: inode_switch_wbs_work_fn hogged CPU for >10000us 16 
times, consider switching to WQ_UNBOUND
  [ 1901.993975] evict_inodes inode 00000000abaa740e, i_count = 1, was skipped!
  [ 1901.993981] evict_inodes inode 00000000515b9bf8, i_count = 1, was skipped!
  [ 1901.993983] evict_inodes inode 000000001a69d536, i_count = 1, was skipped!
  [ 1901.993984] evict_inodes inode 000000001403f675, i_count = 1, was skipped!
  [ 1901.993985] evict_inodes inode 00000000757de21a, i_count = 1, was skipped!
  [ 1901.993986] evict_inodes inode 000000000cee9028, i_count = 1, was skipped!
  [ 1901.993987] evict_inodes inode 00000000d2827e77, i_count = 1, was skipped!

  Description:    Ubuntu 22.04.3 LTS
  Release:        22.04

  linux-oem-22.04d:
    Installed: 6.5.0.1004.4
    Candidate: 6.5.0.1004.4


  Seems related to #2037214

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038492/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to