DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alexandre Frigon <alexandre.frigon@ericsson.com>
To: "Wodkowski, PawelX" <pawelx.wodkowski@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"keith.wiles@windriver.com" <keith.wiles@windriver.com>
Subject: Re: [dpdk-dev] Pktgen-DPDK rate and traffic inconsistency problem
Date: Wed, 28 Jan 2015 16:20:06 +0000	[thread overview]
Message-ID: <3C433001F624134981FFEE5BA9665CCC081783@eusaamb107.ericsson.se> (raw)
In-Reply-To: <F6F2A6264E145F47A18AB6DF8E87425D12B8D2CF@IRSMSX102.ger.corp.intel.com>

Hi Pawel,
Thanks for your reply.

Sadly, assigning 1 core per port didn't change anything.

As for the NUMA nodes, If I understand correctly there is a node for each socket and I'm only using 1 socket with 4 cores and lscpu is showing me only 1 node. I don't think I can do anything about that. Correct me if I'm wrong on this one.

I'm definitely going to try a older version and see if it works properly.

Thanks for your help
Alexandre F.

> -----Original Message-----
> From: Wodkowski, PawelX [mailto:pawelx.wodkowski@intel.com]
> Sent: Wednesday, January 28, 2015 9:15 AM
> To: Alexandre Frigon; dev@dpdk.org; keith.wiles@windriver.com
> Subject: RE: Pktgen-DPDK rate and traffic inconsistency problem
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Alexandre Frigon
> > Sent: Tuesday, January 27, 2015 8:31 PM
> > To: dev@dpdk.org
> > Subject: [dpdk-dev] Pktgen-DPDK rate and traffic inconsistency problem
> >
> > 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"
> 
> From past experience I don't assign more than 1 core per port. It had some
> race conditions issues and one core I capable to RX or TX full 10G.
> Also check if you assign proper cores/memory for your NICs (the same
> NUMA node).
> 
> >
> > 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%
> >
> >
> 
> Actually I am getting exactly opposite results :) If I set rate to 50% I get
> MBits/s Rx/Tx   :             0/9942             9942/0          9942/9942
> 
> For 10%:
> MBits/s Rx/Tx   :             0/1997             1997/0          1997/1997
> 
> Which is about 2x  set :D
> 
> Additionaly I am getting message when "start 0" -> "stop 0" -> "start 0" is
> issued
> PMD: ixgbe_dev_rx_init(): forcing scatter mode
> 
> So there is definitely something wrong there but don't know where.
> Another issue I encountered is build system that fail when building out-of-
> tree.
> 
> Till this is fixed you can try version 2.7.1 that is working for me.
> 
> Pawel

      reply	other threads:[~2015-01-28 16:20 UTC|newest]

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

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=3C433001F624134981FFEE5BA9665CCC081783@eusaamb107.ericsson.se \
    --to=alexandre.frigon@ericsson.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@windriver.com \
    --cc=pawelx.wodkowski@intel.com \
    /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).