DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alexandre Frigon <alexandre.frigon@ericsson.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Pktgen-DPDK rate and traffic inconsistency problem
Date: Tue, 27 Jan 2015 19:30:38 +0000	[thread overview]
Message-ID: <3C433001F624134981FFEE5BA9665CCC081157@eusaamb107.ericsson.se> (raw)

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.

             reply	other threads:[~2015-01-27 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27 19:30 Alexandre Frigon [this message]
2015-01-28 14:14 ` Wodkowski, PawelX
2015-01-28 16:20   ` Alexandre Frigon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C433001F624134981FFEE5BA9665CCC081157@eusaamb107.ericsson.se \
    --to=alexandre.frigon@ericsson.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).