Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-03-06 Thread Oleg Bondarev
On Wed, Mar 6, 2019 at 7:01 PM Oleg Bondarev wrote: > > I'm thinking if this can be malloc() not returning memory to the system > after peak loads: > *"Occasionally, free can actually return memory to the operating system > and make the process smaller. Usually, all it can do is allow a later cal

Re: [ovs-discuss] OVN: availability zones concept

2019-03-06 Thread Han Zhou
On Wed, Mar 6, 2019 at 9:06 AM Ben Pfaff wrote: > > On Tue, Mar 05, 2019 at 09:39:37PM -0800, Han Zhou wrote: > > On Tue, Mar 5, 2019 at 7:24 PM Ben Pfaff wrote: > > > What's the effective difference between an OVN deployment with 3 zones, > > > and a collection of 3 OVN deployments? Is it simpl

Re: [ovs-discuss] ipam allows address conflicts?

2019-03-06 Thread Ben Pfaff
Thanks, I applied this. I see a lot more test failures with a modified hash function. James, I'm surprised that you only see one failure on big-endian. On Wed, Mar 06, 2019 at 09:35:03AM -0500, Mark Michelson wrote: > https://patchwork.ozlabs.org/patch/1052369/ > > On 3/6/19 8:59 AM, Mark Miche

[ovs-discuss] Unable to add VM with tap interface to OVS using libvrt

2019-03-06 Thread Harsh Gondaliya
I want to attach two VMs to OVS using libvrt. I am following these steps: http://docs.openvswitch.org/en/latest/howto/libvirt/ I have OVS with DPDK configuration running. I have created br0 bridge without mentioned datapath_type=netdev, i.e. I do not want to use DPDJ=K datapath for this testing th

Re: [ovs-discuss] OVN: availability zones concept

2019-03-06 Thread Ben Pfaff
On Tue, Mar 05, 2019 at 09:39:37PM -0800, Han Zhou wrote: > On Tue, Mar 5, 2019 at 7:24 PM Ben Pfaff wrote: > > What's the effective difference between an OVN deployment with 3 zones, > > and a collection of 3 OVN deployments? Is it simply that the 3-zone > > deployment shares databases? Is that

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-03-06 Thread Oleg Bondarev
I'm thinking if this can be malloc() not returning memory to the system after peak loads: *"Occasionally, free can actually return memory to the operating system and make the process smaller. Usually, all it can do is allow a later call to malloc to reuse the space. In the meantime, the space remai

Re: [ovs-discuss] ipam allows address conflicts?

2019-03-06 Thread Mark Michelson
https://patchwork.ozlabs.org/patch/1052369/ On 3/6/19 8:59 AM, Mark Michelson wrote: OK, I think I see what the problem is now. The issue is with the order that ovn_ports are visited in join_logical_ports. If a logical switch port is connected to a logical router port, then if the logical swi

Re: [ovs-discuss] ipam allows address conflicts?

2019-03-06 Thread Mark Michelson
OK, I think I see what the problem is now. The issue is with the order that ovn_ports are visited in join_logical_ports. If a logical switch port is connected to a logical router port, then if the logical switch port is visited first, everything works fine. If the logical router port is visite

Re: [ovs-discuss] ipam allows address conflicts?

2019-03-06 Thread Mark Michelson
Hi Ben, Thanks for reaching out. Right now it's not obvious why big endian architecture would cause duplicate IPs to be assigned. My initial thought was that the wrong byte ordering was being used when adding IP addresses to IPAM, but it appears that host byte ordering is being used consisten

Re: [ovs-discuss] OVN: availability zones concept

2019-03-06 Thread Daniel Alvarez Sanchez
Thanks Dan for chiming in and others as well for your feedback! I also thought of having separate OVN deployments but that introduces the drawbacks that Han pointed out adding - maybe a lot of - burden to the CMS. Separate zones in the same OVN deployment will add minimal changes (at deployment si

Re: [ovs-discuss] OVN: availability zones concept

2019-03-06 Thread Dan Sneddon
On Tue, Mar 5, 2019 at 9:40 PM Han Zhou wrote: > On Tue, Mar 5, 2019 at 7:24 PM Ben Pfaff wrote: > > What's the effective difference between an OVN deployment with 3 zones, > > and a collection of 3 OVN deployments? Is it simply that the 3-zone > > deployment shares databases? Is that a signif

Re: [ovs-discuss] MUSL netpacket/packet.h

2019-03-06 Thread developer
Hello, The musl-if_packet.patch will always be needed by Alpine due to musl libc / glibc incompatibilities. See: https://wiki.musl-libc.org/faq.html#Q:-Why-am-I-getting- Kind Regards, Stuart Cardall. On 2019-03-06 02:01, Ben Pfaff wrote: Hmm, with the patch I suspect that compilation fai