From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=+qtXJ4EWwuN8UAqKPa5STrTq+PFQqnM7qO2pWU3LKyk=; b=FDq6kczeM2eB5hEWf5xoqMJfHI92VwuF6SMvEsNayViWQf+VyyjEFo4mBZPzwJ7fWC ipTPSfk9LIVVTSmqt3+nmzOfKSYy5u5fg4nUnzeog7jqWDXi6qOdj+ebt1tYaZuekJPj +ep2KolAuxHvN/6zGgyW1CWIUHhDKco/84nEGkZA5NcxJmLd1pnd7wTCs4lwFNPus6p9 vt72dZ53LwZhNa74oC0jNcl5iEoHGB/ZLE8CXUGjFl0CnKOm0Xww6gsXcUtNZIGw9ptj ofHzuv9ietOupY6/C6v/tR2LdvHbGZaIYcpzZESbWwxCXxrdtFov2INDyCE/zLdGgf0r tUiA== X-Gm-Message-State: ALoCoQkAskdTtDPvbF2tk026CAXcMO+3AoQu6E6g6C2oMJIp/JNeDXuduVgmsnH2GNHOApWBEtoJ X-Received: by 10.68.142.232 with SMTP id rz8mr32851033pbb.117.1437168041191; Fri, 17 Jul 2015 14:20:41 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id cz1sm12196729pbc.84.2015.07.17.14.20.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jul 2015 14:20:40 -0700 (PDT) Date: Fri, 17 Jul 2015 14:20:50 -0700 From: Stephen Hemminger To: Clarylin L Message-ID: <20150717142050.779a0378@urahara> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [dpdk-virtio] Performance tuning for dpdk with virtio? 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: Fri, 17 Jul 2015 21:20:42 -0000 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?