[PATCH] usertools: enhance logic to display NUMA

Thomas Monjalon thomas at monjalon.net
Sat Mar 26 10:46:46 CET 2022


26/03/2022 08:32, Vipin Varghese:
> enhance python logic to accomadate NUMA information. Current logic
> considers physical socket with CPU threads to core map. With new
> AMD SKU vairant NUMA is no longer same as SOCKET. Single physical
> socket can be partitioned to variant of 1,2 and 4.
> 
> The changes address the new mapping with Socket-NUMA to CPU cores.
> 
> Signed-off-by: Vipin Varghese <vipin.varghese at amd.com>
> ---
>  usertools/cpu_layout.py | 76 +++++++++++++++++++++++++----------------
>  1 file changed, 47 insertions(+), 29 deletions(-)

Honestly, I'm not sure it is a good idea to keep this script in the DPDK repo.
Can it be replaced with hwloc usage?
What is the output on the new AMD SKU for this command?
	lstopo-no-graphics --merge





More information about the dev mailing list