Re: [RFC 2/3] sched/topology: fix sched groups on NUMA machines with mesh topology

From: Rik van Riel
Date: Thu Apr 13 2017 - 19:38:19 EST


On Thu, 2017-04-13 at 18:06 -0300, Lauro Venancio wrote:

> Just for clarification, I am sending the nodes distance table for the
> two most common typologies affected by this issue.

What do the sched groups look like for these topologies,
before and after your patch series?

> 4 nodes, ring topology
> node distances:
> nodeÂÂÂ0ÂÂÂ1ÂÂÂ2ÂÂÂ3
> Â 0:ÂÂ10ÂÂ20ÂÂ30ÂÂ20
> Â 1:ÂÂ20ÂÂ10ÂÂ20ÂÂ30
> Â 2:ÂÂ30ÂÂ20ÂÂ10ÂÂ20
> Â 3:ÂÂ20ÂÂ30ÂÂ20ÂÂ10
>
> 8 node, mesh topology
> node distances:
> nodeÂÂÂ0ÂÂÂ1ÂÂÂ2ÂÂÂ3ÂÂÂ4ÂÂÂ5ÂÂÂ6ÂÂÂ7
> Â 0:ÂÂ10ÂÂ16ÂÂ16ÂÂ22ÂÂ16ÂÂ22ÂÂ16ÂÂ22
> Â 1:ÂÂ16ÂÂ10ÂÂ16ÂÂ22ÂÂ22ÂÂ16ÂÂ22ÂÂ16
> Â 2:ÂÂ16ÂÂ16ÂÂ10ÂÂ16ÂÂ16ÂÂ16ÂÂ16ÂÂ22
> Â 3:ÂÂ22ÂÂ22ÂÂ16ÂÂ10ÂÂ16ÂÂ16ÂÂ22ÂÂ16
> Â 4:ÂÂ16ÂÂ22ÂÂ16ÂÂ16ÂÂ10ÂÂ16ÂÂ16ÂÂ16
> Â 5:ÂÂ22ÂÂ16ÂÂ16ÂÂ16ÂÂ16ÂÂ10ÂÂ22ÂÂ22
> Â 6:ÂÂ16ÂÂ22ÂÂ16ÂÂ22ÂÂ16ÂÂ22ÂÂ10ÂÂ16
> Â 7:ÂÂ22ÂÂ16ÂÂ22ÂÂ16ÂÂ16ÂÂ22ÂÂ16ÂÂ10