Re: numastats updates

Christoph Lameter <[email protected]> Tue, 8 Apr 2014 11:57:58 -0500 (CDT)
Newsgroups org.kernel.vger.linux-numa,it.linux.lists.ltp,org.kvack.linux-mm
Message-ID <alpine.DEB.2.10.1404081153460.12735@nuc>
On Tue, 8 Apr 2014, Stanislav Kholmanskikh wrote:

> On a two-node system it prints:
> 1: 294
..

> 20: 294
>
> i.e. everything is ok.
>
> But on an eight-node system:
> 1: 173
> 2: 0
> 3: 0
> 4: 173
> 5: 173


> So in general we can't rely on stat_interval value. Correct?

Owww... This could have something to do with the tick being disabled on
idle without regard for pending vmstat updates. The processor goes to
sleep and never updates the global counters. Once in awhile the processor
wakes up to deal with the statistics.

The idle logic needs to check that all differentials are folded before
going to slee. Frederic: Can we add such a check?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>