Re: [PATCH 0/2] iowait and idle fixes in /proc/stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ping.

Thanks.

Tom


On 6/10/20 3:05 PM, Tom Hromatka wrote:
A customer is using /proc/stat to track cpu usage in a VM and noted
that the iowait and idle times behave strangely when a cpu goes
offline and comes back online.

This patchset addresses two issues that can cause iowait and idle
to fluctuate up and down.  With these changes, cpu iowait and idle
now only monotonically increase.

Tom Hromatka (2):
   tick-sched: Do not clear the iowait and idle times
   /proc/stat: Simplify iowait and idle calculations when cpu is offline

  fs/proc/stat.c           | 24 ++++++------------------
  kernel/time/tick-sched.c |  9 +++++++++
  2 files changed, 15 insertions(+), 18 deletions(-)





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux