From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [dpdk-virtio] Performance tuning for dpdk with virtio? Date: Fri, 17 Jul 2015 14:20:50 -0700 Message-ID: <20150717142050.779a0378@urahara> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Clarylin L Return-path: Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id F40475921 for ; Fri, 17 Jul 2015 23:20:41 +0200 (CEST) Received: by pdbqm3 with SMTP id qm3so67500260pdb.0 for ; Fri, 17 Jul 2015 14:20:41 -0700 (PDT) In-Reply-To: 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" On Fri, 17 Jul 2015 11:03:15 -0700 Clarylin L wrote: > I am running dpdk with a virtual guest as a L2 forwarder. > > 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 cause > of such poor performance on virtio? and any performance tuning techniques I > could try? Thanks a lot! 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). Did you try running OVS-DPDK on the host?