Hi,

 

I’m trying to use dpdk-testpmd TX-ONLY mode as traffic generator for performance test.

With command like below, the testpmd is sending traffic in quit high rate.

Is there some way to configure the generated packet rate?

I tried to set txtimes (set txtimes 1000,1000), but it seems no effect on packet rate.

Also do we have some way to show current packet rate in testpmd?

Thank you.

 

I’m using dpdk 21.11, and using Mellanox CX-6 SRIOV VF for testing.

 

Testpmd command used:

dpdk-testpmd -l "32,33" --legacy-mem --socket-mem "1000,4000" -a 0000:b1:04.7 -- -i --nb-cores=1 --portmask=0x1 --rxd=2048 --txd=2048

testpmd> port stop 0

testpmd> vlan set filter on 0

testpmd> rx_vlan add 1111 0

testpmd> port start 0

testpmd> set fwd txonly

testpmd> set txpkts 64

testpmd> set eth-peer 0 4A:8F:F1:22:C8:F3

testpmd> start