DPDK patches and discussions
 help / color / mirror / Atom feed
From: Malveeka Tewari <malveeka@gmail.com>
To: "Zhang, Helin" <helin.zhang@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Maximum possible throughput with the KNI DPDK Application
Date: Wed, 17 Sep 2014 21:55:45 -0700	[thread overview]
Message-ID: <CAFpzwwODDvDhHwG1M8jG65zQ_vKBMwgx0gavCYbXXdaVmL_2iQ@mail.gmail.com> (raw)
In-Reply-To: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A793A23@SHSMSX104.ccr.corp.intel.com>

Thanks Helin!

I am actually working on a project to quantify the overhead of user-space
to kernel-space data copying in case of conventional socket based
applications.
My understanding is that the KNI application involves userspace -> kernel
space -> user-space data copy again to send to the igb_uio driver.
I wanted to find out if the 7Gb/s throughput is the maximum throughput
achievable by the KNI application or if someone has been able to achiever
higher rates by using more cores or some other configuration.

Regards,
Malveeka




On Wed, Sep 17, 2014 at 6:01 PM, Zhang, Helin <helin.zhang@intel.com> wrote:

> Hi Malveeka
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Malveeka Tewari
> > Sent: Thursday, September 18, 2014 6:51 AM
> > To: dev@dpdk.org
> > Subject: [dpdk-dev] Maximum possible throughput with the KNI DPDK
> > Application
> >
> > Hi all
> >
> > I've been playing the with DPDK API to send out packets using the l2fwd
> app
> > and the Kernel Network Interface app with a single Intel 82599 NIC on an
> Intel
> > Xeon E5-2630
> >
> > With the l2fwd application, I've been able to achieve 14.88 Mpps with
> minimum
> > sized packets.
> > However, running iperf with the KNI application only gives  me only
> ~7Gb/s
> > peak throughput.
>
> KNI is quite different from other DPDK applications, it is not for fast
> path forwarding. As it will pass the packets received in user space to
> kernel space, and possible the kernel stack. So don't expect too much
> higher performance. I think 7Gb/s might be a good enough data, what's your
> real use case of KNI?
>
> >
> > Has anyone achieved the 10Gb/s line rate with the KNI application?
> > Any help would be greatly appreciated!
> >
> > Thanks!
> > Malveeka
>
> Regards,
> Helin
>

  reply	other threads:[~2014-09-18  4:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17 22:50 Malveeka Tewari
2014-09-18  1:01 ` Zhang, Helin
2014-09-18  4:55   ` Malveeka Tewari [this message]
     [not found]     ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A793CEF@SHSMSX104.ccr.corp.intel.com>
     [not found]       ` <CAFpzwwOQFPuZ1h4pZeNGp=aEWFGayp14VYoa98qLM51HtQEeYA@mail.gmail.com>
2014-09-18 23:15         ` Malveeka Tewari
2014-09-19  2:59           ` Zhang, Helin

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=CAFpzwwODDvDhHwG1M8jG65zQ_vKBMwgx0gavCYbXXdaVmL_2iQ@mail.gmail.com \
    --to=malveeka@gmail.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.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).