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 6E7432C8 for ; Tue, 27 Jun 2017 16:22:30 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP; 27 Jun 2017 07:22:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,399,1493708400"; d="scan'208";a="279153250" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.255.27.207]) ([10.255.27.207]) by fmsmga004.fm.intel.com with ESMTP; 27 Jun 2017 07:22:28 -0700 To: "Avi Cohen (A)" , "dpdk-ovs@lists.01.org" , "users@dpdk.org" References: From: "Tan, Jianfeng" Message-ID: Date: Tue, 27 Jun 2017 22:22:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 27 Jun 2017 14:22:32 -0000 On 6/26/2017 8:06 PM, Avi Cohen (A) wrote: > Thank You Jianfeng > >> We have developed virtio-user + vhost-kernel as the backend. In that >> scenario, you can add the tap interface into a container network namespace. >> And there'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 >> (virtio) - OVS-DPDK (vhost). >> > [Avi Cohen (A)] > Can you refer to a document how to run this setup? Please refer to http://dpdk.org/doc/guides/howto/virtio_user_as_exceptional_path.html Thanks, Jianfeng > Best Regards > avi >>> 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 >>> >>>> -----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