[ovs-dev] OVS DPDK support technical direction

Traynor, Kevin kevin.traynor at intel.com
Sun Dec 21 17:51:51 UTC 2014


> -----Original Message-----
> From: John Xiao [mailto:johnxiao.cloud at gmail.com]
> Sent: Saturday, December 20, 2014 2:19 AM
> To: Traynor, Kevin
> Cc: dev at openvswitch.org
> Subject: Re: [ovs-dev] OVS DPDK support technical direction
> 
> Thanks Kevin,
> 
> There is a librte_vhost dir in upstream DPDK repo, would that be the
> base of DPDK vhost library you are talking about? 

Yes, currently it supports vhost-cuse. It will be changed to support vhost-user, there is an RFC patch available at present
http://dpdk.org/ml/archives/dev/2014-December/009798.html


BTW, could you help
> to elaborate what would be exactly included in the library?

I don't have any docs on it other than the RFC. You can ask on the DPDK mailing list

> 
> John
> 
> On Fri, Dec 19, 2014 at 11:53 PM, Traynor, Kevin
> <kevin.traynor at intel.com> wrote:
> >
> >> -----Original Message-----
> >> From: John Xiao [mailto:johnxiao.cloud at gmail.com]
> >> Sent: Thursday, December 18, 2014 2:46 PM
> >> To: Traynor, Kevin
> >> Subject: Re: [ovs-dev] OVS DPDK support technical direction
> >>
> >> Hi Kevin,
> >>
> >> The performance number looks great!
> >> - For DPDK OVS, the number only shows NIC - OVS - NIC as vhost-user is
> >> not supported yet, do you know what's the schedule for vhost-user
> >> support?
> >
> > Assuming you do mean vhost-user (and not userspace-vhost aka vhost-cuse), it is planned to be
> integrated into the DPDK vhost library in DPDK 2.0, which is targeted for the end of March. At that
> point we can look at upgrading OVS to support DPDK 2.0 and being able to use the DPDK vhost library
> for vhost-user.
> >
> >> - On slide #8, it's interesting to see TCP_STREAM degrade quite a lot
> >> in offload case.
> >>
> >> Thanks,
> >> Jun
> >>
> >> On Thu, Dec 18, 2014 at 9:32 PM, Traynor, Kevin <kevin.traynor at intel.com> wrote:
> >> > Hi John,
> >> >
> >> > The path using DPDK through the netdev can use the exact match cache in dpif-netdev.c to enable
> very
> >> fast switching. You could think of this as an equivalent to the fast path in OVDK. Have a look at
> the
> >> rates that Madhu Challa presented at the OVS Fall Conference on Slide 3
> >> http://openvswitch.org/support/ovscon2014/18/1600-ovs_perf.pptx
> >> >
> >> > Thanks,
> >> > Kevin.
> >> >
> >> >> -----Original Message-----
> >> >> From: dev [mailto:dev-bounces at openvswitch.org] On Behalf Of John Xiao
> >> >> Sent: Wednesday, December 17, 2014 4:10 AM
> >> >> To: dev at openvswitch.org
> >> >> Subject: [ovs-dev] OVS DPDK support technical direction
> >> >>
> >> >> Hi,
> >> >>
> >> >> As we know that Intel stopped its effort on OVDK and OVS DPDK support
> >> >> will all be in OVS upstream, and I have one question after digging
> >> >> OVDK and OVS DPDK architecture:
> >> >>
> >> >> - IMHO, OVS DPDK support can follow the existing "fast/slow path"
> >> >> model as being done in OVS linux kernel, i.e. just another fast path
> >> >> happening in DPDK threads, and this is pretty much the mechanism used
> >> >> by OVDK by extending a new kind of dpif provider. But for upstream OVS
> >> >> DPDK support, I can only see netdev extension, I don't know what's the
> >> >> reason behind, can anybody post any discussion relevant on this if
> >> >> any? Do we see huge benefit when every packet going through "netdev"
> >> >> type of data path instead of a fast/slow path fashion? or I missed
> >> >> anything obvious?
> >> >>
> >> >> Thanks,
> >> >> John
> >> >> _______________________________________________
> >> >> dev mailing list
> >> >> dev at openvswitch.org
> >> >> http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list