Re: [PATCH 2/2] nohz: Synchronize sleep time stats with memory barriers
From: Peter Zijlstra
Date: Tue Apr 15 2014 - 07:14:40 EST
On Tue, Apr 15, 2014 at 12:51:38PM +0200, Peter Zijlstra wrote:
> That said; I thing the fundamental flaw in the entire thing is
> accounting the entire nohz idle period as one type, since the period is
> basically unbounded.
So basically anything with the current per-cpu nr_iowait is bound to
yield crack induced results.
Like you said in your other email, we need to somehow intersect actual
idle time with the presence of iowait tasks. Now that's a global problem
and is unlikely to scale well. Which is of course why we have this
problem to begin with, if it were easy it'd be done right to begin with
(optimistic world view here).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/