From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 35A869E3 for ; Mon, 26 Jun 2017 13:58:21 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2017 04:58:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,395,1493708400"; d="scan'208";a="1187018182" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 26 Jun 2017 04:58:20 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 26 Jun 2017 04:58:20 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 26 Jun 2017 04:58:19 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0319.002; Mon, 26 Jun 2017 19:58:18 +0800 From: "Tan, Jianfeng" To: "Avi Cohen (A)" , "dpdk-ovs@lists.01.org" , "users@dpdk.org" Thread-Topic: VIRTIO for containers Thread-Index: AdLtxRmmOlpUk2OnQW+mTRMij+wCRQAZP+zgAAX4DJAAA/1+sA== Date: Mon, 26 Jun 2017 11:58:17 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] VIRTIO for containers 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: Mon, 26 Jun 2017 11:58:21 -0000 Avi, > -----Original Message----- > From: Avi Cohen (A) [mailto:avi.cohen@huawei.com] > Sent: Monday, June 26, 2017 2:17 PM > To: Tan, Jianfeng; dpdk-ovs@lists.01.org; users@dpdk.org > Subject: RE: VIRTIO for containers >=20 > Thanks Jianfeng, > For containers that are *not running* DPDK - are there any thoughts to > develop a 'virtio like' device? , for example to connect the container to= OVS- > DPDK ? We have developed virtio-user + vhost-kernel as the backend. In that scenar= io, you can add the tap interface into a container network namespace. And t= here's a vhost kthread to push the data out to user space. And I cannot guarantee the performance as it has diametric model in VM (vir= tio) - OVS-DPDK (vhost). > I've tested the performance of a container connected to OVS-DPDK via > vdev-af_packet and processed by virtual PMD, and its performance is good > [uses mmap'ed to userspace - zero copy RX/TX ring buffer] > but not good as the performance of a VM connected to OVS-DPDK (@host) > via vhost-user virtio. > Best Regards > avi >=20 > > -----Original Message----- > > From: Tan, Jianfeng [mailto:jianfeng.tan@intel.com] > > Sent: Monday, 26 June, 2017 6:15 AM > > To: Avi Cohen (A); dpdk-ovs@lists.01.org; users@dpdk.org > > Subject: RE: VIRTIO for containers > > > > Hi Avi, > > > > > -----Original Message----- > > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Avi Cohen (A= ) > > > Sent: Sunday, June 25, 2017 11:13 PM > > > To: dpdk-ovs@lists.01.org; users@dpdk.org > > > Subject: [dpdk-users] VIRTIO for containers > > > > > > Hello, > > > Does anyone know the status of this project > > > http://dpdk.org/ml/archives/dev/2015-November/027732.html - > > > Implementing a virtio device for containers ? > > > > It has been upstreamed since v16.07. Here is a howto doc: > > > http://dpdk.org/doc/guides/howto/virtio_user_for_container_networking. > h > > tml > > > > > > Thanks, > > Jianfeng > > > > > > > > Best Regards > > > avi