From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) by dpdk.org (Postfix) with ESMTP id 5348B58D2 for ; Fri, 24 Jan 2014 00:21:39 +0100 (CET) Received: by mail-pa0-f47.google.com with SMTP id kp14so2475736pab.6 for ; Thu, 23 Jan 2014 15:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NOYJyMewqxjneZcIDc/9HzwPPbZvi4jYWrMzx3fC0Rc=; b=DmyUb1qctGsWsRc3WFM1SXOv5lfjk76hK2Flda25bcClDGnHNZaUEIgiW64mzQBpjn jNPUZce6Mv3+UViICELAcJuq8KJ4pPqGLGQlu7gyUF2iP3fVep7cyZ7Rc34k1mae0R6d ehBbrNQTYGyftcS1NOwJXSRJG7moH80Jg9Y/0Qcb943G9ZZvZ52BKbXTcYl7bRe45U7e Qt2rHNLeMBofroTZ/3H11P2SmDiFfd0xOTtTRtT70Dw1j+dasPmnceio4Aq7XkqKlh1h zcftJSKDatVeje902QohRDpnXgiCGCF90lJvZGjR5NAX7z/N6Vjt+4T9CQuCACBppvfM 96cQ== X-Received: by 10.67.4.169 with SMTP id cf9mr10773142pad.45.1390519375862; Thu, 23 Jan 2014 15:22:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.131.229 with HTTP; Thu, 23 Jan 2014 15:22:34 -0800 (PST) In-Reply-To: References: From: Michael Quicquaro Date: Thu, 23 Jan 2014 18:22:34 -0500 Message-ID: To: Robert Sanford Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" , 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, 23 Jan 2014 23:21:39 -0000 Thank you, everyone, for all of your suggestions, but unfortunately I'm still having the problem. I have reduced the test down to using 2 cores (one is the master core) both of which are on the socket in which the NIC's PCI slot is connected. I am running in rxonly mode, so I am basically just counting the packets. I've tried all different burst sizes. Nothing seems to make any difference. Since my original post, I have acquired an IXIA tester so I have better control over my testing. I send 250,000,000 packets to the interface. I am getting roughly 25,000,000 Rx-errors with every run. I have verified that the number of Rx-errors is consistent in the value in the RXMPC of the NIC. Just for sanity's sake, I tried switching the cores to the other socket and run the same test. As expected I got more packet loss. Roughly 87,000,000 I am running Red Hat 6.4 which uses kernel 2.6.32-358 This is a numa supported system, but whether or not I use --numa doesn't seem to make a difference. Looking at the Intel documentation it appears that I should be able to easily do what I am trying to do. Actually, the documentation infers that I should be able to do roughly 40 Gbps with a single 2.x GHz processor core with other configuration (memory, os, etc.) similar to my system. It appears to me that much of the details of these benchmarks are missing. Can someone on this list actually verify for me that what I am trying to do is possible and that they have done it with success? Much appreciation for all the help. - Michael On Wed, Jan 22, 2014 at 3:38 PM, Robert Sanford wrote: > Hi Michael, > > > What can I do to trace down this problem? > > May I suggest that you try to be more selective in the core masks on the > command line. The test app may choose some cores from "other" CPU sockets. > Only enable cores of the one socket to which the NIC is attached. > > > > 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. > > After re-reading *that* thread, it appears that their problem may have > been trying to achieve ~40 Gbits/s of bandwidth (2 ports x 10 Gb Rx + 2 > ports x 10 Gb Tx), plus overhead, over a typical dual-port NIC whose total > bus bandwidth is a maximum of 32 Gbits/s (PCI express 2.1 x8). > > -- > Regards, > Robert > >