下载 dpdk-20.11.2,这个是LTS版本
[ root@localhost opt]
--2021-08-18 11 :47:08-- http://wget/
Resolving wget ( wget) .. . failed: Name or service not known.
wget: unable to resolve host address ‘wget’
--2021-08-18 11 :47:09-- http://fast.dpdk.org/rel/dpdk-20.11.2.tar.xz
Resolving fast.dpdk.org ( fast.dpdk.org) .. . 151.101 .78.49
Connecting to fast.dpdk.org ( fast.dpdk.org) | 151.101 .78.49| :80.. . connected.
HTTP request sent, awaiting response.. . 200 OK
Length: 13992772 ( 13M) [ application/octet-stream]
Saving to: ‘dpdk-20.11.2.tar.xz’
100 %[ == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == > ] 13,992 ,772 26 .2MB/s in 0 .5s
2021 -08-18 11 :47:09 ( 26.2 MB/s) - ‘dpdk-20.11.2.tar.xz’ saved [ 13992772 /13992772]
解压 dpdk-20.11.2.tar.xz
[ root@localhost opt]
进入目录
[ root@localhost opt]
[ root@localhost usertools]
cpu_layout.py dpdk-hugepages.py dpdk-telemetry-client.py meson.build
dpdk-devbind.py dpdk-pmdinfo.py dpdk-telemetry.py
查看NUMA信息
[ root@localhost usertools]
== == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
Core and Socket Information ( as reported by '/sys/devices/system/cpu' )
== == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
cores = [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 ]
sockets = [ 0 , 1 ]
Socket 0 Socket 1
-------- --------
Core 0 [ 0 , 32 ] [ 16 , 48 ]
Core 1 [ 1 , 33 ] [ 17 , 49 ]
Core 2 [ 2 , 34 ] [ 18 , 50 ]
Core 3 [ 3 , 35 ] [ 19 , 51 ]
Core 4 [ 4 , 36 ] [ 20 , 52 ]
Core 5 [ 5 , 37 ] [ 21 , 53 ]
Core 6 [ 6 , 38 ] [ 22 , 54 ]
Core 7 [ 7 , 39 ] [ 23 , 55 ]
Core 8 [ 8 , 40 ] [ 24 , 56 ]
Core 9 [ 9 , 41 ] [ 25 , 57 ]
Core 10 [ 10 , 42 ] [ 26 , 58 ]
Core 11 [ 11 , 43 ] [ 27 , 59 ]
Core 12 [ 12 , 44 ] [ 28 , 60 ]
Core 13 [ 13 , 45 ] [ 29 , 61 ]
Core 14 [ 14 , 46 ] [ 30 , 62 ]
Core 15 [ 15 , 47 ] [ 31 , 63 ]