From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by dpdk.org (Postfix) with ESMTP id E25AEB396 for ; Thu, 18 Sep 2014 06:50:01 +0200 (CEST) Received: by mail-vc0-f172.google.com with SMTP id hy10so283604vcb.3 for ; Wed, 17 Sep 2014 21:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CZfGrsM7MBs4JZfR+OXzrA3B5yZbF+ypavkY/HcqfmQ=; b=CS/Aqa4bA1UxNZ8CAZthHW7RZ+MTmm/biWMYyVk85t/516ZYhuJoESnAP66vd2iTkz PrB+Ow6xjijVWXAkLpdtAfexJCPMaX4FzAvk37oLDvRaJev6JgWhPjl6UgkOHHIWjejd 2r/rf7OHmze8O4hTnmiqmP57e1Kfj8C5j34JzamvCI2yN4Mjy9VPm6M8qRBvW4fyt/Qg Dc+LGDGEyFLS++E7ctNbMtEGlc2ylA2Fs7xMRrq5V0apMvHE+fF2LJR3VaK7o/IRUHJj qw6lCoGbLbkXDWWYpJj7dnoTQDlIUfBlR/Vrz0b8v6IQWZ6deoCyUzKfcNLipgihxxeE BfRA== MIME-Version: 1.0 X-Received: by 10.52.61.99 with SMTP id o3mr42284vdr.46.1411016145187; Wed, 17 Sep 2014 21:55:45 -0700 (PDT) Received: by 10.52.175.35 with HTTP; Wed, 17 Sep 2014 21:55:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Sep 2014 21:55:45 -0700 Message-ID: From: Malveeka Tewari To: "Zhang, Helin" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Maximum possible throughput with the KNI DPDK Application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 04:50:02 -0000 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 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 >