iotop after 7.2 upgrde

Tobbe

Member
Oct 4, 2021
26
8
23
Hello

after upgrade to 7.2 iotop fields SWAPIN and IO is unavailable.
i suspect this is related to the new kernel.

suggestions how to fix?
 
i suspect this is related to the new kernel.
Hmm - sounds sensible - and I just checked - the values are not present here as well with the new kernel - however - this thread:
https://www.spinics.net/lists/kernel/msg4053632.html

pointed me to the new sysctl - and:
Code:
sysctl -w kernel.task_delayacct=1

fixed the issue for me - you can set it in /etc/sysctl.d/99-local.cf for example.

I hope this helps!
 
  • Like
Reactions: MrThiemann
Actually, iotop shows "CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and...."

Editing /etc/grub/default with
GRUB_CMDLINE_LINUX_DEFAULT="delayacct"
fixes this issue.

So, maybe have sense to enable it in kernel again? And post and update (or with new kernel)