With 1000 tunnels all configured with CFM monitoring with a 300 ms rate, this series reduces the CPU usage that I see from about 36% to about 20%. I measured CPU usage with "top" over 60-second intervals after watching for a few seconds for startup to finish and CPU usage to level off.
Ben Pfaff (4): ovsdb-idlc: Make no-op writes to write-only columns cheaper. timeval: Enable caching the current time even on x86-64. timeval: Increase accuracy of cached time 4X, from 100 ms to 25 ms. ofproto: Merge all the CFM query functions into one. lib/ovsdb-idl.c | 46 +++++++++++++++++++++++++-------- lib/ovsdb-idl.h | 5 +++- lib/timeval.h | 20 +++++--------- ofproto/ofproto-dpif.c | 44 +++++++------------------------- ofproto/ofproto-provider.h | 42 ++---------------------------- ofproto/ofproto.c | 60 ++++--------------------------------------- ofproto/ofproto.h | 22 +++++++++++----- ovsdb/ovsdb-idlc.in | 40 ++++++++++++++++++++++------ python/ovs/db/types.py | 11 +++++++- vswitchd/bridge.c | 59 ++++++++++++++---------------------------- 10 files changed, 141 insertions(+), 208 deletions(-) -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev