Skip to contentSkip to conversation

DPDK cpu layout script won't work on non x86

DISCUSSION Stephen Hemminger 2 participants 2 messages May 6, 2016

lore
Share & tools
lore
#0 lore raw

The format and layout of /proc/cpuinfo changes on different architectures, therefore the DPDK cpu_layout.py tool doesn't work.

Could you please change the tool to use sysfs /sys/devices/system/cpu/cpuN/topology/ instead? Then the script would be portable and use the same files as the DPDK use internally when mapping out cores.

#1 lore raw
Quoted 6 lines

The format and layout of /proc/cpuinfo changes on different architectures, therefore the DPDK cpu_layout.py tool doesn't work.

Could you please change the tool to use sysfs /sys/devices/system/cpu/cpuN/topology/ instead? Then the script would be portable and use the same files as the DPDK use internally when mapping out cores.

I will look into it and see what I can do. If someone else wants to try please let me know.

Quoted 2 lines

Regards,
Keith