Re: [PATCH 1/4] numa: introduce per-cgroup numa balancing locality, statistic

From: Peter Zijlstra
Date: Fri Jul 12 2019 - 05:42:31 EST


On Fri, Jul 12, 2019 at 05:11:25PM +0800, çè wrote:
>
>
> On 2019/7/12 äå3:58, Peter Zijlstra wrote:
> [snip]
> >>>
> >>> Then our task t1 should be accounted to B (as you do), but also to A and
> >>> R.
> >>
> >> I get the point but not quite sure about this...
> >>
> >> Not like pages there are no hierarchical limitation on locality, also tasks
> >
> > You can use cpusets to affect that.
>
> Could you please give more detail on this?

Documentation/cgroup-v1/cpusets.txt

Look for mems_allowed.