Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 39
Byte Order:
Little Endian
CPU(s):
4
On-line CPU(s) list:
0-3
Thread(s) per core:
1
Core(s) per socket:
4
Socket(s):
1
NUMA node(s):
1
Vendor ID:
GenuineIntel
CPU family:
6
Model:
92
Model name:
Intel(R) Pentium(R) CPU N4200 @ 1.10GHz
Stepping:
9
CPU MHz:
795.934
CPU max MHz:
1100.0000
CPU min MHz:
800.0000
BogoMIPS:
2188.80
Virtualization:
VT-x
L1d cache:
24K
L1i cache:
32K
L2 cache:
1024K
NUMA node0 CPU(s): 0-3
……< only parts of the messages are shown >…..
Our example has 1 CPU sockets, 4 cores per socket and 1 threads per core. As such, there
are total 4 (socket*cores*threads) logical CPUs to the operating system (OS). 4 logical CPU
(core ID 0 to 3) are as 1 NUMA node (node0).
*Please use the same method above to analysis your Advantech platform first before using
DPDK .
3.9.2
Intel DPDK Pktgen
The Pktget application is a software based traffic generator powered by the DPDK fast
packet processing framework and is used for sourcing and sinking network traffic.
3.9.2.1
Command Usage of Pktgen
Pktgen splits its command line arguments into arguments for the EAL and arguments for the
application itself. The first group is a list of EAL options that are common to all DPDK based
applications. The second group of options are application specific. The two sets of
arguments are separated using the standard convent ion of -- as shown below.
#pktgen-dpdk-wr-atom-latest [EAL options] --[Application options]
Here is the usage of EAL and application arguments which are used in our examples:
EAL options:
--master-lcore <ID>: Core ID that is used as master. Note that the master core
should not be used for handing Tx or Rx packets transmission.
-c <COREMASK>: a hexadecimal bitmask of the cores to run on
-n <CHANNELS>: number of memory channels
-w, --pci-whitelist: Add a PCI device in white list. Only use the specified PCI
devices. The argument format is <[domain:]bus:devid.func>. This option can be