[RFC PATCH 4/4] arm64:numa: adding numa support for arm64 platforms.

Steve Capper steve.capper at linaro.org
Mon Oct 20 07:30:46 PDT 2014


On Mon, Oct 20, 2014 at 03:25:56PM +0100, Steve Capper wrote:
> On Fri, Oct 17, 2014 at 10:49:56PM +0530, Ganapatrao Kulkarni wrote:

[...]

>          /*Proximity Distance matrix for 4Node system
> >                        <from-node to-node distance>
> >         */
> >          node-matrix=    <0 0 10>,
> >                                <0 1 20>,
> >                                <0 2 30>,
> >                                <0 3 10>,
> >                                <1 0 20>,
> >                                 <1 1 10>,
> >                                <1 2 30>,
> >                               <1 3 10>,
> >                               <2 0 30>,
> >                               <2 1 20>,
> >                               <2 2 10>,
> >                              <2 3 10>,
> >                             <3 0 10>,
> >                             <3 1 20>,
> >                             <3 2 30>,
> >                             <3 3 10>,
> >  }
> 
> Hi Ganapat,
> The above caught my attention.
> 
> For a 4-node system do we not need 16 distances; the implication of that
> would be that the distance between node A-B could be different from the
> distance between B-A? Also the distance from a node to itself could be
> safely assumed to be zero?
> 
> I think we should have a symmetric matrix with zero-diagonals so strictly
> only seven values would need specifying for a 4-node system.

s/seven/six/

I really need to learn how to count.... :-/

> 
> Cheers,
> -- 
> Steve



More information about the linux-arm-kernel mailing list