Re: [RFC PATCH 2/5] numa: append per-node execution info in memory.numa_stat

From: Peter Zijlstra
Date: Tue Apr 23 2019 - 04:52:55 EST


On Mon, Apr 22, 2019 at 10:12:20AM +0800, çè wrote:
> This patch introduced numa execution information, to imply the numa
> efficiency.
>
> By doing 'cat /sys/fs/cgroup/memory/CGROUP_PATH/memory.numa_stat', we
> see new output line heading with 'exectime', like:
>
> exectime 24399843 27865444
>
> which means the tasks of this cgroup executed 24399843 ticks on node 0,
> and 27865444 ticks on node 1.

I think we stopped reporting time in HZ to userspace a long long time
ago. Please don't do that.