From: "Сергей Львов" <log0div0@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Can't get line-rate with l3fwd
Date: Wed, 18 May 2016 00:48:50 +0300 [thread overview]
Message-ID: <CAORPgtCR09NAiz5NCO2rM_WQxQbw16VAtHcMdxkgtW-23Knmrg@mail.gmail.com> (raw)
Hi,
I have two traffic generators (pktgen) and a router (l3fwd) in between. The
traffic generators are connected with the router via 10Gb links.
generato #1 <--10Gb full duplex--> router <--10Gb full duplex--> generator
#2
Both generator send 64-bytes packets at full 10Gb rate.
The problem is that l3fwd recieves only 7.5Gb/s on each port. I'd run
pktgen instead of l3fwd and had the same result.
If there's only one generator sending packets (10 Gb/s) and another is
turned off, l3fwd can recieve all the packets (10 Gb/s)
I figured out that the rte_eth_rx_burst function returns 0 quite often.
This could mean that the problem is not in CPU.
Is it possible to increase performance up to 20Gb/s or is there a hardware
limit? I'd read the dpdk articles "How to get best performance with NICs on
Intel platforms" and "IXGBE Driver", but it didn't help.
The hardware is:
- Intel(R) 82599EB 10 Gigabit Ethernet Controller
- Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz
- PCI Express bandwidth of 32GT/s (Speed:5.0GT/s, Width: x8, Encoding
Loss:20%)
Memory: 8 hugepages x 1Gb
The command is:
./build/l3fwd -c 0xf0000 -n 4 — -p 0x3 —config="(0,0,19),(1,0,18)"
—parse-ptype
Any ideas how to resolve the perfomance issure will be appreciated.
Thanks
reply other threads:[~2016-05-17 21:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAORPgtCR09NAiz5NCO2rM_WQxQbw16VAtHcMdxkgtW-23Knmrg@mail.gmail.com \
--to=log0div0@gmail.com \
--cc=users@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).