DPDK patches and discussions
 help / color / mirror / Atom feed
From: Michael Quicquaro <michael.quicquaro@gmail.com>
To: Robert Sanford <rsanford@prolexic.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, mayhan@mayhan.org
Subject: Re: [dpdk-dev] Rx-errors with testpmd (only 75% line rate)
Date: Thu, 23 Jan 2014 18:22:34 -0500	[thread overview]
Message-ID: <CAAD-K9777Tp7tptsfXm6RbAEWJMdd6juGrthAe_MHB1U1JHfDw@mail.gmail.com> (raw)
In-Reply-To: <CAFmpvUNHqpp0DhsFXtYQOxDObV_K5Qs2B=w7miynMADpP21C5A@mail.gmail.com>

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 <rsanford@prolexic.com>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
>
>

  reply	other threads:[~2014-01-23 23:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09 19:28 Michael Quicquaro
2014-01-09 21:21 ` François-Frédéric Ozog
2014-01-22 14:52 ` Dmitry Vyal
2014-01-22 17:46   ` Wang, Shawn
2014-01-27 20:00   ` Michael Quicquaro
2014-01-28  8:31     ` Dmitry Vyal
2014-02-10 17:34       ` Jun Han
2014-01-22 20:38 ` Robert Sanford
2014-01-23 23:22   ` Michael Quicquaro [this message]
2014-01-24  9:18     ` François-Frédéric Ozog

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAD-K9777Tp7tptsfXm6RbAEWJMdd6juGrthAe_MHB1U1JHfDw@mail.gmail.com \
    --to=michael.quicquaro@gmail.com \
    --cc=dev@dpdk.org \
    --cc=mayhan@mayhan.org \
    --cc=rsanford@prolexic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).