From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <rolette@infinite.io>
Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com
 [209.85.167.67]) by dpdk.org (Postfix) with ESMTP id 904A25F22
 for <dev@dpdk.org>; Thu, 20 Sep 2018 23:39:36 +0200 (CEST)
Received: by mail-lf1-f67.google.com with SMTP id x20-v6so9700385lfg.2
 for <dev@dpdk.org>; Thu, 20 Sep 2018 14:39:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=infinite-io.20150623.gappssmtp.com; s=20150623;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=60GAMKiUYD9iprYxZsd5dLSYQf48oQPFvJCNjSFNRrI=;
 b=c2zKRR2vnTCTrAc6h4bKmU/9qE1dBD/iWm/AtpJUAzvjUNugqkcGWBCeM/6t9C5ob/
 EfAbJEsWzq6KEQd+/arIfpdivxBRf4buZxvAOumBtf3mg5yfADHpMAffn+7iAE49Eo30
 qp46PbBaqTPogbt0JlHnReMpiOi6xIWm+dUZRmM4Qg9SENpYPvDEBxUABocettn2YI4N
 TQmjlH67w9NY+/qTVruLZgoitLEW5gr7d45B5mhfUXfA5zPW5glfGfoF9lQ24OOM9Tmk
 wq+n7ARlTNym/KYbnWHIT19lI79LRB8YVWPoDTwsafsMBtevwZNrfdggN/liAyhfOLG6
 RXew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=60GAMKiUYD9iprYxZsd5dLSYQf48oQPFvJCNjSFNRrI=;
 b=W3/QkUpPC6znDSF1a5+CLEafbuKA27MdvkpGvgirhTRJGDD8l9wPaxckt/8wvxBzPs
 xQAUa1/ZStVTcK8Ht1l4YmLjLRfE3ZvX7po/VrAGW0Qs8ZmuvVfdwgq4ni8yNhsNoynm
 i8tU+p09nd2RJYhWVGHnY+r2kmPyCx2OieGkiLwaSqdri1qIBSoIaYITXa0VcK1gSiK9
 ZrFPVWxU7wtv2zOPYxWFExk3zggcZJK4Cid/PPCQ+lr/KDFAZBO4ZH9Lm7znr8zXpR55
 1d+/qNEg6Hv69lax8y/vyYmyUYHi4X1Daj6+iCtosquFAI63daqa5CZxvClpkHwYLZMN
 oKmA==
X-Gm-Message-State: APzg51DT4vcFfGOaEbiLcBOkxQywqz08kaMhDTNT0D5ro0ErWS9oAu/L
 zdvSlnfJag1+meTFDumvnFTtDz6DUYesC6OHunHgVXbL
X-Google-Smtp-Source: ANB0VdYnPNIcuBbG9AAHFTiGTh0ZcReE34HNDTxWX0WEdcyIBUpX5JcJnrUDfb7JtiiAmRSMGLLt19MdAwDnFQT9OJg=
X-Received: by 2002:a19:735d:: with SMTP id
 o90-v6mr10913208lfc.45.1537479575959; 
 Thu, 20 Sep 2018 14:39:35 -0700 (PDT)
MIME-Version: 1.0
References: <20180920111055.54d32242@xeon-e3>
 <CADNuJVpnzHsq9d9R7buU9Zq43pSAWSa6RPsJ2RczQwgv6nFARw@mail.gmail.com>
 <20180920131630.345c17d2@xeon-e3>
In-Reply-To: <20180920131630.345c17d2@xeon-e3>
From: Jay Rolette <rolette@infinite.io>
Date: Thu, 20 Sep 2018 16:39:24 -0500
Message-ID: <CADNuJVq47xJPKiLvWo3Xbu68WJ=0LpojB9=4aaDQ-+fcky9E2w@mail.gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: DPDK <dev@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] KNI performance is not what is claimed
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Sep 2018 21:39:36 -0000

On Thu, Sep 20, 2018 at 3:16 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:

> 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.
> >
> > Hopefully the answer is "yes", in which case I'll happily port over to
> > using one of the faster mechanisms.
> >
> > Thanks,
> > Jay
>
> See:
>
> https://doc.dpdk.org/guides-17.11/howto/virtio_user_as_exceptional_path.html


Thanks. Looks like it's time to run some experiments again.

Jay