Linux-Fsdevel Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Tom Hromatka <tom.hromatka@oracle.com>
To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
fweisbec@gmail.com, tglx@linutronix.de, mingo@kernel.org,
adobriyan@gmail.com
Subject: Re: [RESEND PATCH 0/2] iowait and idle fixes in /proc/stat
Date: Mon, 14 Sep 2020 10:31:51 -0600 [thread overview]
Message-ID: <11c8b2ee-7d87-ae0b-c11b-71a052865000@oracle.com> (raw)
In-Reply-To: <20200909144122.77210-1-tom.hromatka@oracle.com>
Thanks for your time and feedback, Thomas and Alexey. I'll
address the comments and send out a v2 in the next couple
days.
Thanks!
Tom
On 9/9/20 8:41 AM, 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(-)
>
prev parent reply other threads:[~2020-09-14 16:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 14:41 Tom Hromatka
2020-09-09 14:41 ` [RESEND PATCH 1/2] tick-sched: Do not clear the iowait and idle times Tom Hromatka
2020-09-13 21:27 ` Thomas Gleixner
2020-09-09 14:41 ` [RESEND PATCH 2/2] /proc/stat: Simplify iowait and idle calculations when cpu is offline Tom Hromatka
2020-09-10 12:14 ` Alexey Dobriyan
2020-09-13 21:35 ` Thomas Gleixner
2020-09-14 16:31 ` Tom Hromatka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11c8b2ee-7d87-ae0b-c11b-71a052865000@oracle.com \
--to=tom.hromatka@oracle.com \
--cc=adobriyan@gmail.com \
--cc=fweisbec@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
--subject='Re: [RESEND PATCH 0/2] iowait and idle fixes in /proc/stat' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).