Re: [PATCH] spapr: Add a new level of NUMA for GPUs

2020-05-13 Thread Reza Arbab
Hi David, Thanks for your quick response! On Mon, May 11, 2020 at 04:17:45PM +1000, David Gibson wrote: 1) This would all be much simpler, if PAPR's representation of NUMA distances weren't so awful. Somehow it manages to be both so complex that it's very hard to understand, and yet very limi

Re: [PATCH] spapr: Add a new level of NUMA for GPUs

2020-05-10 Thread David Gibson
On Fri, May 08, 2020 at 12:59:27PM -0500, Reza Arbab wrote: > NUMA nodes corresponding to GPU memory currently have the same > affinity/distance as normal memory nodes. Add a third NUMA associativity > reference point enabling us to give GPU nodes more distance. > > Before, `numactl -H` output in

[PATCH] spapr: Add a new level of NUMA for GPUs

2020-05-08 Thread Reza Arbab
NUMA nodes corresponding to GPU memory currently have the same affinity/distance as normal memory nodes. Add a third NUMA associativity reference point enabling us to give GPU nodes more distance. Before, `numactl -H` output in a guest with 4 GPUs (nodes 2-5): node distances: node 0 1 2 3