From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clearasu Subject: Re: [dpdk-virtio] Performance tuning for dpdk with virtio? Date: Fri, 17 Jul 2015 23:09:10 -0700 Message-ID: <3C8D5206-6D90-4442-A99B-FFF08420C7FF@gmail.com> References: <20150717142050.779a0378@urahara> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Stephen Hemminger Return-path: Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id 098415A3E for ; Sat, 18 Jul 2015 08:09:15 +0200 (CEST) Received: by pdrg1 with SMTP id g1so71979495pdr.2 for ; Fri, 17 Jul 2015 23:09:14 -0700 (PDT) In-Reply-To: <20150717142050.779a0378@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Forgot to mention, I am running dpdk within the VM and used virtio-net-pmd. > On Jul 17, 2015, at 2:20 PM, Stephen Hemminger wrote: >=20 > On Fri, 17 Jul 2015 11:03:15 -0700 > Clarylin L wrote: >=20 >> I am running dpdk with a virtual guest as a L2 forwarder. >>=20 >> If the virtual guest is on passthrough, dpdk can achieve around 10G >> throughput. However if the virtual guest is on virtio, dpdk achieves just= >> 150M throughput, which is a huge degrade. Any idea what could be the caus= e >> of such poor performance on virtio? and any performance tuning techniques= I >> could try? Thanks a lot! >=20 > The default Linux bridge (and OVS) switch are your bottleneck. > It is not DPDK virtio issue in general. There are some small performance > gains still possible with virtio enhancements (like offloading). >=20 > Did you try running OVS-DPDK on the host?