From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 507267D52 for ; Thu, 20 Sep 2018 22:15:57 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id b11-v6so4893144pfo.3 for ; Thu, 20 Sep 2018 13:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NubweelajMdjDkZ5txF8LLdQ23blZjheI1kgFqIZjgg=; b=bAnINthqe9vFEQG9N25JLFJInEMuPq4N9e8nely5/cYxqjxiH9/Lo6IaAV9OFia/Vr 97T0Br307qSNY82zheclnkDAbOS87HxqEMp9UiXjqWFjKQp8JrHl3Z4S7+XM4vSnPnjL xw/q0sEPy2pMgJe6MN7hws+wPho4HpyJ0NdsnFAXRS7b0XjiSsbQ5H1I++vPjo6zPkS6 myk2GPOuN/pNLJta1GYCihYcxMdvD7XNpldDeHlCvzH06rs8zLF6oUyDfx4cPpj7vY59 q9ffvOrXfv85eHPluUqMzubr0OwPMa72xZQ/0g3I19xF/hqHgdYC37lqQ/LPgXTCZ9J1 BAtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NubweelajMdjDkZ5txF8LLdQ23blZjheI1kgFqIZjgg=; b=f4ayjpPI82Y1aWKZWzVVEIfTRt4IuEknhtKf6RDxGdCyMcZnlVzgKI+TJpGiOAKrao CW/FNmDKK4Nj1ccWV+mBBQWP+maRnsFOoVjmfjuq/+dTzkWtxQb++C81URLiyLplmtui 9bxh6am6viIdW3m6tTRr2RCelNwRxPwZkzHo9wPg+IZBb+AdG61o0QqnCOU8vmhmBu7W CrsF1i/uIsCV/uAxXc1d74n5ZYs+V575hiMxKK402552/ec/xZ1O6Xentl7xeRpwHe7m eTphnHiM5n4YiGZsM/nYXKw+pOWR0cPR/tlWzoTHCd8GhPiclhGOBix8Ch63jh8pVIu0 /Qlw== X-Gm-Message-State: APzg51CKpG/h2YrdFygYuwwsaqs1KFOEl+yTeF/VqdSOxIxkUysphJNK nuZpgF4UlYrgjEhdiild6p6Osg== X-Google-Smtp-Source: ANB0VdYYbG7tUjaZW9nMz+BHb08UbHS+LW5a+ZFglIN12IDzWrM+xh4IfjyDVH2eqOxgcbG1Gu42sg== X-Received: by 2002:a63:da04:: with SMTP id c4-v6mr38930895pgh.398.1537474556021; Thu, 20 Sep 2018 13:15:56 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z63-v6sm28699514pgd.69.2018.09.20.13.15.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 13:15:55 -0700 (PDT) Date: Thu, 20 Sep 2018 13:15:49 -0700 From: Stephen Hemminger To: Jay Rolette Cc: DPDK Message-ID: <20180920131549.6bc82f36@xeon-e3> In-Reply-To: References: <20180920111055.54d32242@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 20:15:57 -0000 On Thu, 20 Sep 2018 15:02:53 -0500 Jay Rolette 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