<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16476"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi:</DIV>
<DIV> </DIV>
<DIV>What is your burst size in rte_eth_rx_burst?</DIV>
<DIV>Can you provide the shell command you run, both test-pmd and your
code?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>
<DIV>
<DIV></DIV></DIV></SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:hwang.jinho@gmail.com">jinho
hwang</A></DIV>
<DIV><B>Date:</B> 2013-07-12 23:46</DIV>
<DIV><B>To:</B> <A href="mailto:dev@dpdk.org">dev</A></DIV>
<DIV><B>Subject:</B> [dpdk-dev] 1 core / 1 port receiving performance
discrepancy</DIV></DIV></DIV>
<DIV>
<DIV>Hi Guys,</DIV>
<DIV> </DIV>
<DIV>I am currently testing my code with two machines(X5650 @ 2.67GHz,</DIV>
<DIV>82599EB): one runs my code, and the other runs Pktgen. The first task</DIV>
<DIV>is to see how my code performs comparing to test-pmd. Both use only</DIV>
<DIV>one port with one core to receive packets. test-pmd uses rxonly mode.</DIV>
<DIV>My code only receives packets and discards them right away, and there</DIV>
<DIV>are no other processing at all. Different from what I expected,</DIV>
<DIV>test-pmd shows 33M packets (do not count on the second --- just total</DIV>
<DIV>number of packets sent from Pktgen), whereas mine shows 18M packets</DIV>
<DIV>with the same traffic.</DIV>
<DIV> </DIV>
<DIV>I have tried to configure many things such as increasing rx queue</DIV>
<DIV>size, increasing max packet receive buffer, but the number did not</DIV>
<DIV>make differences.</DIV>
<DIV> </DIV>
<DIV>Can I get some help?</DIV>
<DIV> </DIV>
<DIV>Thank you,</DIV>
<DIV> </DIV>
<DIV>Jinho</DIV></DIV></BODY></HTML>