Re: [ovs-dev] [PATCH] ovn: Avoid nb_cfg update notification flooding

2018-03-17 Thread Han Zhou
On Fri, Mar 16, 2018 at 4:24 PM, Han Zhou wrote: > > > > On Fri, Mar 16, 2018 at 3:36 PM, Ben Pfaff wrote: > > > > On Fri, Mar 16, 2018 at 02:31:49PM -0700, Han Zhou wrote: > > > nb_cfg as a mechanism to "ping" OVN control plane is very useful > > > in many ways. However, the current implementati

Re: [ovs-dev] [PATCH] ovn: Avoid nb_cfg update notification flooding

2018-03-16 Thread Han Zhou
On Fri, Mar 16, 2018 at 3:36 PM, Ben Pfaff wrote: > > On Fri, Mar 16, 2018 at 02:31:49PM -0700, Han Zhou wrote: > > nb_cfg as a mechanism to "ping" OVN control plane is very useful > > in many ways. However, the current implementation will trigger > > update notifications flooding in the whole con

Re: [ovs-dev] [PATCH] ovn: Avoid nb_cfg update notification flooding

2018-03-16 Thread Ben Pfaff
On Fri, Mar 16, 2018 at 02:31:49PM -0700, Han Zhou wrote: > nb_cfg as a mechanism to "ping" OVN control plane is very useful > in many ways. However, the current implementation will trigger > update notifications flooding in the whole control plane. Each > HV updates to SB the nb_cfg number and all

[ovs-dev] [PATCH] ovn: Avoid nb_cfg update notification flooding

2018-03-16 Thread Han Zhou
nb_cfg as a mechanism to "ping" OVN control plane is very useful in many ways. However, the current implementation will trigger update notifications flooding in the whole control plane. Each HV updates to SB the nb_cfg number and all these updates are notified to all the other HVs, which is O(n^2).