From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UmemFyAD9zFBJRDvIU5zNOyozonI1x+8ZlvYjxjHnzs=; b=zEfZi1zOWRl3phxdr9vXP0vL7wzYHhTemc1sPnQiSBO9EO93ZcvlzqiTV35XYd6TcF t3cwCGKq5bc2aNRGvceieGenhrT5E3vSpB0JY/XvU+qMS6JRHFe2GyiUVQ9Q8LbGQHKX ONUxnnb+2IaK/XlaqXOa+d05YsdPsPlhHdCzmQYvL0zzLLFf1BwHiZSRSGTB6vZPWAGO ivKkSllXuJ3RCe/da6JBRjNwYikgjg/qWnCVMPR4jwI9j41dHOGWbDGPgBuNSP1CjHvI AmJPhEY95XNKueCRS5IMaQzWKiSN24LL+pJx5m0u6dRMnvxasDU0XNPBDAcs/xH6oDJq PgnA== X-Received: by 10.68.190.41 with SMTP id gn9mr35651591pbc.113.1437199754127; Fri, 17 Jul 2015 23:09:14 -0700 (PDT) Received: from ?IPv6:2602:304:b36d:9040:94a0:e58b:18a0:215b? ([2602:304:b36d:9040:94a0:e58b:18a0:215b]) by smtp.gmail.com with ESMTPSA id js8sm13217743pbb.9.2015.07.17.23.09.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jul 2015 23:09:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) From: Clearasu X-Mailer: iPhone Mail (12B440) In-Reply-To: <20150717142050.779a0378@urahara> Date: Fri, 17 Jul 2015 23:09:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3C8D5206-6D90-4442-A99B-FFF08420C7FF@gmail.com> References: <20150717142050.779a0378@urahara> To: Stephen Hemminger 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: Sat, 18 Jul 2015 06:09:15 -0000 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?