[dpdk-dev] [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script

Thomas Monjalon thomas at monjalon.net
Tue Apr 25 10:48:37 CEST 2017


31/03/2017 14:21, Andriy Berestovskyy:
> Some platforms do not have core/socket info in /proc/cpuinfo.
> Signed-off-by: Andriy Berestovskyy <Andriy.Berestovskyy at caviumnetworks.com>
> ---
>  usertools/cpu_layout.py | 53 +++++++++++++++++++++----------------------------
>  1 file changed, 23 insertions(+), 30 deletions(-)

Applied, thanks for improving this script.

Do you think it is really a good idea to keep and maintain this script
in DPDK? It was intentionnally not exported in "make install".
I think it is a bit out of scope, and I wonder which alternatives
do we have? I know hwloc/lstopo, but there are probably others.

More information about the dev mailing list