[dpdk-users] VIRTIO for containers

Avi Cohen (A) avi.cohen at huawei.com
Wed Jun 28 08:45:28 CEST 2017


Thank you Jianfeng

> -----Original Message-----
> From: Tan, Jianfeng [mailto:jianfeng.tan at intel.com]
> Sent: Tuesday, 27 June, 2017 5:22 PM
> To: Avi Cohen (A); dpdk-ovs at lists.01.org; users at dpdk.org
> Subject: Re: VIRTIO for containers
> 
> 
> 
> 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
> 
[Avi Cohen (A)] 
My setup includes a container and ovs-dpdk , i still not sure about:
 - How to set the virtio backend port in the ovs-dpdk ?
 - How to set the container with the virtio frontend ?
Best Regards
avi

> 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 at intel.com]
> >>>> Sent: Monday, 26 June, 2017 6:15 AM
> >>>> To: Avi Cohen (A); dpdk-ovs at lists.01.org; users at dpdk.org
> >>>> Subject: RE: VIRTIO for containers
> >>>>
> >>>> Hi Avi,
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Avi Cohen
> >>>>> (A)
> >>>>> Sent: Sunday, June 25, 2017 11:13 PM
> >>>>> To: dpdk-ovs at lists.01.org; users at 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



More information about the users mailing list