From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo6.mail-out.ovh.net (5.mo6.mail-out.ovh.net [46.105.54.31]) by dpdk.org (Postfix) with ESMTP id D7832DE0 for ; Thu, 9 Jan 2014 22:22:39 +0100 (CET) Received: from mail435.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo6.mail-out.ovh.net (Postfix) with SMTP id 02928FF8F88 for ; Thu, 9 Jan 2014 22:27:41 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 9 Jan 2014 23:26:06 +0200 Received: from lneuilly-152-23-9-75.w193-252.abo.wanadoo.fr (HELO pcdeff) (ff@ozog.com@193.252.40.75) by ns0.ovh.net with SMTP; 9 Jan 2014 23:26:05 +0200 From: =?iso-8859-1?Q?Fran=E7ois-Fr=E9d=E9ric_Ozog?= To: "'Michael Quicquaro'" , References: In-Reply-To: Date: Thu, 9 Jan 2014 22:21:27 +0100 Message-ID: <013e01cf0d80$c26d9450$4748bcf0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac8NcPcWV9ASNba1QPaPyS9Lo3FM7gADyfvA Content-Language: fr X-Ovh-Tracer-Id: 1435803858294528217 X-Ovh-Remote: 193.252.40.75 (lneuilly-152-23-9-75.w193-252.abo.wanadoo.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfeduucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfeduucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Cc: mayhan@mayhan.org Subject: Re: [dpdk-dev] Rx-errors with testpmd (only 75% line rate) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 21:22:40 -0000 Hi, Can you check that the threads you use for handling the queues are on = the same socket as the card ? cat /sys/class/net//device/numa_node will give you the node. Fran=E7ois-Fr=E9d=E9ric > -----Message d'origine----- > De=A0: dev [mailto:dev-bounces@dpdk.org] De la part de Michael = Quicquaro > Envoy=E9=A0: jeudi 9 janvier 2014 20:28 > =C0=A0: dev@dpdk.org > Cc=A0: mayhan@mayhan.org > Objet=A0: [dpdk-dev] Rx-errors with testpmd (only 75% line rate) >=20 > Hello, > My hardware is a Dell PowerEdge R820: > 4x Intel Xeon E5-4620 2.20GHz 8 core > 16GB RDIMM 1333 MHz Dual Rank, x4 - Quantity 16 Intel X520 DP 10Gb = DA/SFP+ >=20 > So in summary 32 cores @ 2.20GHz and 256GB RAM >=20 > ... plenty of horsepower. >=20 > I've reserved 16 1GB Hugepages >=20 > I am configuring only one interface and using testpmd in rx_only mode = to > first see if I can receive at line rate. >=20 > I am generating traffic on a different system which is running the = netmap > pkt-gen program - generating 64 byte packets at close to line rate. >=20 > I am only able to receive approx. 75% of line rate and I see the = Rx-errors > in the port stats going up proportionally. > I have verified that all receive queues are being used, but strangely > enough, it doesn't matter how many queues more than 2 that I use, the > throughput is the same. I have verified with 'mpstat -P ALL' that all > specified cores are used. The utilization of each core is only = roughly > 25%. >=20 > Here is my command line: > testpmd -c 0xffffffff -n 4 -- --nb-ports=3D1 --coremask=3D0xfffffffe > --nb-cores=3D8 --rxd=3D2048 --txd=3D2048 --mbcache=3D512 --burst=3D512 = --rxq=3D8 > --txq=3D8 --interactive >=20 > What can I do to trace down this problem? It seems very similar to a > thread on this list back in May titled "Best example for showing > throughput?" where no resolution was ever mentioned in the thread. >=20 > Thanks for any help. > - Michael