On Mon, May 19, 2014 at 8:56 AM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, May 16, 2014 at 06:59:02AM -0700, Ryan Wilson wrote: >> Before, a global read-write lock protected the ofproto-dpif / >> ofproto-dpif-xlate >> interface. Handler and revalidator threads had to wait while configuration >> was >> being changed. This patch implements RCU locking which allows handlers and >> revalidators to operate while configuration is being updated. >> >> Signed-off-by: Ryan Wilson <wr...@nicira.com> >> Acked-by: Alex Wang <al...@nicira.com> > > One side effect of this change that I am a bit concerned about is > performance of configuration changes. In particular, it looks like > removing a port requires copying the entire configuration and that > removing N ports requires copying the entire configuration N times. Can > you try a few experiments with configurations that have many ports, > maybe 500 or 1000, and see how long it takes to remove several of them?
While doing this experiment, can you also do a "/etc/init.d/openvswitch[-switch] force-reload-kmod" and see if it takes additional time? We use the above during upgrade. > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev