DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  1 core / 1 port receiving performance discrepancy
@ 2013-07-12 15:46 jinho hwang
  2013-07-13  5:51 ` zengxg14
  0 siblings, 1 reply; 2+ messages in thread
From: jinho hwang @ 2013-07-12 15:46 UTC (permalink / raw)
  To: dev

Hi Guys,

I am currently testing my code with two machines(X5650 @ 2.67GHz,
82599EB): one runs my code, and the other runs Pktgen. The first task
is to see how my code performs comparing to test-pmd. Both use only
one port with one core to receive packets. test-pmd uses rxonly mode.
My code only receives packets and discards them right away, and there
are no other processing at all. Different from what I expected,
test-pmd shows 33M packets (do not count on the second --- just total
number of packets sent from Pktgen), whereas mine shows 18M packets
with the same traffic.

I have tried to configure many things such as increasing rx queue
size, increasing max packet receive buffer, but the number did not
make differences.

Can I get some help?

Thank you,

Jinho

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] 1 core / 1 port receiving performance discrepancy
  2013-07-12 15:46 [dpdk-dev] 1 core / 1 port receiving performance discrepancy jinho hwang
@ 2013-07-13  5:51 ` zengxg14
  0 siblings, 0 replies; 2+ messages in thread
From: zengxg14 @ 2013-07-13  5:51 UTC (permalink / raw)
  To: jinho hwang, dev

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

Hi:

What is your burst size in rte_eth_rx_burst?
Can you provide the shell command you run, both test-pmd and your code?






From: jinho hwang
Date: 2013-07-12 23:46
To: dev
Subject: [dpdk-dev] 1 core / 1 port receiving performance discrepancy
Hi Guys,

I am currently testing my code with two machines(X5650 @ 2.67GHz,
82599EB): one runs my code, and the other runs Pktgen. The first task
is to see how my code performs comparing to test-pmd. Both use only
one port with one core to receive packets. test-pmd uses rxonly mode.
My code only receives packets and discards them right away, and there
are no other processing at all. Different from what I expected,
test-pmd shows 33M packets (do not count on the second --- just total
number of packets sent from Pktgen), whereas mine shows 18M packets
with the same traffic.

I have tried to configure many things such as increasing rx queue
size, increasing max packet receive buffer, but the number did not
make differences.

Can I get some help?

Thank you,

Jinho

[-- Attachment #2: Type: text/html, Size: 3275 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-13  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12 15:46 [dpdk-dev] 1 core / 1 port receiving performance discrepancy jinho hwang
2013-07-13  5:51 ` zengxg14

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