Reputation: 739
I'm trying to understand DPDK and I'm new to these performance tools. Any help help would be greatly appreciated.
I've setup DPDK and Pktgen on my Virtual Box Ubuntu VM with two host-only adapters. Those two NICs are managed by DPDK.
When I run the command
pktgen -c -x01 -n 3 -- -P -m "[1:3].0, [2:4].1"
I see the below screen
But, I do not see any values getting changed. It seems to be the same regardless of changes to the command. How do I interpret this values in the picture? How do I pump up traffic on one of the adapters and measure its performance?
Upvotes: 0
Views: 889
Reputation: 672
pktgen is waiting for commands, hence the Pktgen>
prompt.
For instance, to start sending packet on port 0 with the default settings you can use start 0
.
You can also use help
for help. The list of available command is also explained here: https://pktgen.readthedocs.org/en/latest/commands.html
EDIT: (see comments)
The core mask should be at least -c 0x1f
, to have 5 cores availables
Upvotes: 2