DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Jay Rolette <rolette@infinite.io>
Cc: DPDK <dev@dpdk.org>
Subject: Re: [dpdk-dev] KNI performance is not what is claimed
Date: Thu, 20 Sep 2018 13:15:49 -0700	[thread overview]
Message-ID: <20180920131549.6bc82f36@xeon-e3> (raw)
In-Reply-To: <CADNuJVpnzHsq9d9R7buU9Zq43pSAWSa6RPsJ2RczQwgv6nFARw@mail.gmail.com>

On Thu, 20 Sep 2018 15:02:53 -0500
Jay Rolette <rolette@infinite.io> wrote:

> On Thu, Sep 20, 2018 at 1:11 PM Stephen Hemminger <
> stephen@networkplumber.org> wrote:  
> 
> > I wonder if KNI is claiming performance that was never measured on current
> > CPU, OS, DPDK.
> >
> > With single stream and TCP testing on IXGBE (DPDK), I see lowest
> > performance with KNI.
> >
> >                 Rx              Tx
> >         KNI     3.2 Gbit/sec    1.3 Gbit/sec
> >         TAP     4.9             4.7
> >         Virtio  5.6             8.6
> >
> > Perhaps for 18.11 we should change documentation to remove language
> > claiming
> > better performance with KNI, and then plan for future deprecation?
> >  
> 
> Do TAP and Virtio provide equivalent function to KNI? I can't speak for any
> other products, but ours is dependent on KNI. The ability for control plane
> applications to use normal Linux sockets with DPDK is key even if it isn't
> performant.

Yes, all are equivalent. KNI was just invented as "faster version of TAP"
but it isn't

> Hopefully the answer is "yes", in which case I'll happily port over to
> using one of the faster mechanisms.
> 
> Thanks,
> Jay

  reply	other threads:[~2018-09-20 20:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20 18:10 Stephen Hemminger
2018-09-20 20:02 ` Jay Rolette
2018-09-20 20:15   ` Stephen Hemminger [this message]
2018-09-20 20:16   ` Stephen Hemminger
2018-09-20 21:39     ` Jay Rolette
2018-09-21  8:30       ` Wang, Zhihong
2018-10-01 14:22         ` Honnappa Nagarahalli

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=20180920131549.6bc82f36@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=rolette@infinite.io \
    /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).