From: "Wodkowski, PawelX" <pawelx.wodkowski@intel.com>
To: Alexandre Frigon <alexandre.frigon@ericsson.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 14:14:38 +0000 [thread overview]
Message-ID: <F6F2A6264E145F47A18AB6DF8E87425D12B8D2CF@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <3C433001F624134981FFEE5BA9665CCC081157@eusaamb107.ericsson.se>
> -----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
next prev parent reply other threads:[~2015-01-28 14:14 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 [this message]
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=F6F2A6264E145F47A18AB6DF8E87425D12B8D2CF@IRSMSX102.ger.corp.intel.com \
--to=pawelx.wodkowski@intel.com \
--cc=alexandre.frigon@ericsson.com \
--cc=dev@dpdk.org \
--cc=keith.wiles@windriver.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).