DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Richardson, Bruce" <bruce.richardson@intel.com>
To: Jun Han <junhanece@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] l2fwd/l3fwd performance drop of about 25% ?
Date: Thu, 27 Feb 2014 09:36:37 +0000	[thread overview]
Message-ID: <59AF69C657FD0841A61C55336867B5B01A9A0087@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <CAGeT4P+sumKdn-roauGBAaDf0p4NYxNRp=GOYxDsdKmcJwzVaQ@mail.gmail.com>

> Hi all,
> 
> I have a quick question regarding the performance of DPDK l2fwd (Same
> problem with l3fwd). I am seeing that when we start multiple ports (e.g.,
> 12 ports), for 64 byte packets, the RX rate is only at around 11 Mpps per
> port, instead of 14.88 Mpps which is the line rate (with preablem+start of
> delimeter + interframe gap). Do you know what could be the problem? I am
> describing my experiment setup below.

When using both ports on a dual-port 10G NIC, you cannot hit line rate on both ports with 64-byte packets due to a lack of PCI bandwidth (for PCI Gen2 x8). If you try with two ports on different NICs you should be getting better performance, as traffic for small packets for a single port at  10G can be handled by the PCI slot. With larger packet sizes, e.g. 128 byte packets, the issue also goes away and the NICs can manage full line rate.

      reply	other threads:[~2014-02-27  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 21:01 Jun Han
2014-02-27  9:36 ` Richardson, Bruce [this message]

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=59AF69C657FD0841A61C55336867B5B01A9A0087@IRSMSX103.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=junhanece@gmail.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).