Re: [ovs-discuss] [dpdk-users] OvS-DPDK vs XDP-eBPF performance numbers - for linux container

2018-02-14 Thread O Mahony, Billy
Hi Avi, Some links to figures below. BTW Dropping the dpdk list - I'm not sure how ovs community feels about cross posting. Please feel free to re-instate. Regards, /Billy > -Original Message- > From: users [mailto:users-boun...@dpdk.org] On Behalf Of Avi Cohen (A) > Sent: Tuesday,

Re: [ovs-discuss] [ovs-dev] DPDK: How to send packets from one OVS bridge to another OVS bridge while running in the same user space ?

2018-02-14 Thread Jan Scheurich
Hi Kapil, I am afraid there is no really efficient way today to connect a user-space (netdev-dpdk) datapath in OVS to kernel interfaces (such as internal/tap ports or veth pairs) today. Communication works but packet I/O is very slow compared to DPDK interfaces (both ethernet and vhostuser).

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Daniel Alvarez Sanchez
Hi Ben, Thanks for your inputs. I need to look more carefully into the patch you submitted but it looks like, at least, we'll be reducing the number of calls to Datum.__cmp__ which should be good. For the rest of the things, let me answer inline. On Tue, Feb 13, 2018 at 8:32 PM, Ben Pfaff

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Daniel Alvarez Sanchez
Thanks a lot Han and Ben for looking into this! On Wed, Feb 14, 2018 at 9:34 PM, Han Zhou wrote: > > > On Wed, Feb 14, 2018 at 9:45 AM, Ben Pfaff wrote: > > > > On Wed, Feb 14, 2018 at 11:27:11AM +0100, Daniel Alvarez Sanchez wrote: > > > Thanks for your

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff wrote: > > > > On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > > > I remember there was a patch for ACL group in OVN, so that instead of > R*P > > > rows we will have

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff wrote: > > On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > > On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff wrote: > > > > > > On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > > > > I remember there was a

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Daniel Alvarez Sanchez
Ok let me paste some example but feel free to ask for any further details. 1 Logical Switch with 5 ports and 8 ACLs per port: # ovn-nbctl show switch c1fac5d4-b682-4078-9282-61cfa6383893 (neutron-d35e99a5-d9e9-4bc5-9ad4-08e0941f1820) (aka test_net) port 8a8be79b-7a24-4a19-b952-c68d839e0164

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 03:29:34PM -0800, Han Zhou wrote: > On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff wrote: > > > > On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > > > On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff wrote: > > > > > > > > On Wed, Feb 14, 2018

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 3:39 PM, Ben Pfaff wrote: > > On Wed, Feb 14, 2018 at 03:29:34PM -0800, Han Zhou wrote: > > On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff wrote: > > > > > > On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > > > > On Wed, Feb 14, 2018 at

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 11:27:11AM +0100, Daniel Alvarez Sanchez wrote: > Thanks for your inputs. I need to look more carefully into the patch you > submitted but it looks like, at least, we'll be reducing the number of > calls to Datum.__cmp__ which should be good. Thanks. Please do take a

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 9:45 AM, Ben Pfaff wrote: > > On Wed, Feb 14, 2018 at 11:27:11AM +0100, Daniel Alvarez Sanchez wrote: > > Thanks for your inputs. I need to look more carefully into the patch you > > submitted but it looks like, at least, we'll be reducing the number of > >

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > I remember there was a patch for ACL group in OVN, so that instead of R*P > rows we will have only R + P rows, but didn't see it went through. I don't remember that. Any chance you could point me to it? > Is this also a good use case

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff wrote: > > On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > > I remember there was a patch for ACL group in OVN, so that instead of R*P > > rows we will have only R + P rows, but didn't see it went through. > > I don't remember

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 03:45:21PM -0800, Han Zhou wrote: > On Wed, Feb 14, 2018 at 3:39 PM, Ben Pfaff wrote: > > > > On Wed, Feb 14, 2018 at 03:29:34PM -0800, Han Zhou wrote: > > > On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff wrote: > > > > > > > > On Wed, Feb 14, 2018

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Thu, Feb 15, 2018 at 12:36:35AM +0100, Daniel Alvarez Sanchez wrote: > If we would have the Port_Set we could simply write the match part as > "outport == $security_group1 && ip4 && ip4.src == 0.0.0.0/0 && tcp && > tcp.dst == 22" > and reduce the number of ACLs to 1 per security group rule

Re: [ovs-discuss] ovs route refresh problem

2018-02-14 Thread Ben Pfaff
On Sun, Feb 11, 2018 at 07:27:34AM +, Yinpeijun wrote: > Hi all > Recently , I run a test two VM commulication with vxlan and > ovs+dpdk networking(ovs2.7.2). when I add 200 virtual device on the physical > service of > the commulicate vm then check the ping result, there