[dpdk-dev] Pktgen-DPDK rate and traffic inconsistency problem

Alexandre Frigon alexandre.frigon at ericsson.com
Tue Jan 27 20:30:38 CET 2015


Hi all, 

 I'm using dpdk 1.8 and pktgen-dpdk 2.8 to generate traffic on a back-to-back setup both equipped with 82599EB 10-Gigabit NIC. 
The problem is when I start it, pktgen indicates 10000Mbits/s Tx with 64B packet size,  but I'm receiving  about 15% of it on the other end. 
This percentage seems to be proportional with the packet size.

e.g. 
Using nload to read Rx traffic
Pktgen:	Tx: 10000Mbits/s	==>	Other end: 	Rx 1660 Mbits/s
		Rate: 100%		
		Pkt size: 64B		


e.g 2
Pktgen:	Tx: 10000Mbits/s	==>	Other end: 	Rx 9385 Mbits/s
		Rate: 100%
		Pkt size: 1518B


Pktgen is started with this command on a Xeon(R) CPU E31270 @ 3.40GHz
./app/pktgen -c 1f -n 3 --proc-type auto --socket-mem 1024 --file-prefix pg -- -p 0x3 -P  -N -m "[1:3].0, [2:4].1"

Is there something I'm not configuring correctly or something I have miss?

Also, the % rate is  acting strangely since anything above 50% doesn't change the Tx rate and anything below is modifying it
e.g  	Tx:	 10000Mbits/s		5000Mbits/s
	%Rate: 	>=50%			25%
 			

Thanks
Alexandre F.




More information about the dev mailing list