From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id BEE1F7CCC for ; Wed, 24 May 2017 15:23:24 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 24 May 2017 06:23:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,386,1491289200"; d="scan'208";a="860821643" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 24 May 2017 06:23:23 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 24 May 2017 06:23:22 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.235]) by fmsmsx121.amr.corp.intel.com ([169.254.6.54]) with mapi id 14.03.0319.002; Wed, 24 May 2017 06:23:23 -0700 From: "Wiles, Keith" To: "Avi Cohen (A)" CC: "users@dpdk.org" Thread-Topic: [dpdk-users] OVS vs OVS-DPDK Thread-Index: AdLUZ97jZUqJvxB6SCGIH0ZJhQMn0wAY7dGA Date: Wed, 24 May 2017 13:23:22 +0000 Message-ID: <365623D9-223D-4A37-ACB7-73599B4E163C@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.138.3] Content-Type: text/plain; charset="us-ascii" Content-ID: <83A1293331209E4FB3777D4E3D9BA7AB@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] OVS vs OVS-DPDK X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2017 13:23:25 -0000 > On May 24, 2017, at 3:29 AM, Avi Cohen (A) wrote: >=20 > Hello > Let me ask it in a different way: > I want to understand the reasons for the differences in performance betw= een OVS-DPDK and standard OVS My setup is: ovs/ovs-dpdk is running @ host = communicating with a VM >=20 > OVS-DPDK > 1. packet is received via physical port to the device.=20 >=20 > 2.DMA transfer to mempools on huge-pages allocated by dpdk-ovs - in = user-space. >=20 > 3. OVS-DPDK copies this packet to the shared-vring of the associated gu= est (shared between ovs-dpdk userspace process and guest)=20 >=20 > 4. guest OS copies the packet to userspace application on VM . >=20 > Standard OVS >=20 > 1. packet is received via physical port to the device.=20 >=20 > 2.packet is processed by the OVS and transferred to a virtio device conne= cted to the VM - whar are the additional overhead here ? QEMU processing = - translation , VM exit ?? other ? >=20 > 3. guest OS copies the packet to userspace application on VM . >=20 >=20 > Question: what are the additional overhead in the standard OVS that ca= use to poor performance related to the OVS-DPDK setup ? > I'm not talking about the PMD improvements (OVS-DPDK) running on the ho= st - but on overhead in the VM context in the standard OVS setup The primary reasons are OVS is not using DPDK and OVS is using the Linux ke= rnel as well :-) >=20 > Best Regards > avi Regards, Keith