查询网卡在哪个NUMA node上:
cat /sys/class/net/p4p2(eth_name)/device/numa_node
mst status -v (mellanox网卡独有,安装CX4驱动以及工具程序后获得)
CPU在哪个NUMA node上:
lscpu
查询NUMA node0 上的CPU:
cat /sys/devices/system/node/node0/cpulist
cat /sys/devices/system/node/node0/cpumap (位掩码)