[ovs-dev] [PATCH v3] Scanning only changed entries in the ovnsb

Hui Kang kangh at us.ibm.com
Tue Jul 26 18:30:09 UTC 2016



"dev" <dev-bounces at openvswitch.org> wrote on 07/26/2016 02:20:27 PM:

> From: Ben Pfaff <blp at ovn.org>
> To: Hui Kang <hkang.sunysb at gmail.com>
> Cc: dev at openvswitch.org
> Date: 07/26/2016 02:20 PM
> Subject: Re: [ovs-dev] [PATCH v3] Scanning only changed entries in the
ovnsb
> Sent by: "dev" <dev-bounces at openvswitch.org>
>
> On Sat, Jul 16, 2016 at 11:58:25PM -0400, Hui Kang wrote:
> > Improve performance by scanning only changed port binding entries
> > when determining whether to mark the logical switch port up or
> > down
> >
> > Signed-off-by: Hui Kang <kangh at us.ibm.com>
>
> Won't this skip an initial round of updates at ovn-northd startup time?
> (Certainly ovn-northd might get killed and restarted occasionally,
> especially if we're doing failover to a second host.)

Good call, you are right. Do you think an initialization of iterating
all entries in ovnsb before entering the main loop will correct this patch
on
northd restarting or failover? Thanks.

- Hui

> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list