On Thu, Nov 14, 2013 at 03:28:28PM -0800, Joe Stringer wrote: > Previously, we iterated through all interfaces in instant_stats_run(), > grabbing up-to-date information about device status. After assembling > all of this information for all interfaces, we would determine whether > anything changed and only send an update to ovsdb-server if something > changed. > > This patch uses the new global netdev_seq to determine whether there > have been any changes before polling all interfaces, which provides > further CPU usage savings. In a test environment of 5000 internal ports > and 50 tunnel ports with bfd, this reduces CPU usage to around 5%. When > ports change status more often than every 100ms, CPU usage will increase > to previous rates. > > Signed-off-by: Joe Stringer <joestrin...@nicira.com>
Acked-by: Ben Pfaff <b...@nicira.com> _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev