DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Can't get line-rate with l3fwd
@ 2016-05-17 21:48 Сергей Львов
  0 siblings, 0 replies; only message in thread
From: Сергей Львов @ 2016-05-17 21:48 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-17 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-17 21:48 [dpdk-users] Can't get line-rate with l3fwd Сергей Львов

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).