[ovs-git] Open vSwitch: timeval: Increase accuracy of cached time 4X, from 100 ms to 25 ms. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Mar 6 05:40:12 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  67a2f47310dce03f49fa4dbd9daf5b1ae93ccc20 (commit)
       via  3d6702a2e6253f0561d56e7af6ede84d3b0e9150 (commit)
       via  fe19569ac50a7d398e0e44a00fd22b323748de06 (commit)
      from  c9e5dfbd18dc6ba826a6e5751507040284ed45da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 67a2f47310dce03f49fa4dbd9daf5b1ae93ccc20
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=67a2f47310dce03f49fa4dbd9daf5b1ae93ccc20
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Increase accuracy of cached time 4X, from 100 ms to 25 ms.
		
With CFM and other tunnel monitoring protocols, having a fairly precise
time is good.  My measurements don't show this change increasing CPU use.
(In fact it appears to repeatably reduce CPU use slightly, from about
22% to about 20% with 1000 CFM instances, although it's not obvious why.)

Bug #15171.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


commit 3d6702a2e6253f0561d56e7af6ede84d3b0e9150
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3d6702a2e6253f0561d56e7af6ede84d3b0e9150
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Enable caching the current time even on x86-64.
		
With CFM enabled on 1000 tunnels, this reduced CPU use from about 30% to
about 22%.

Bug #15171.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


commit fe19569ac50a7d398e0e44a00fd22b323748de06
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fe19569ac50a7d398e0e44a00fd22b323748de06
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb-idlc: Make no-op writes to write-only columns cheaper.
		
For 1000 tunnels with CFM enabled, this reduces CPU use from
about 36% to about 30%.

Bug #15171.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/ovsdb-idl.c        |   46 +++++++++++++++++++++++++++++++++++-----------
 lib/ovsdb-idl.h        |    5 ++++-
 lib/timeval.h          |   20 +++++++-------------
 ovsdb/ovsdb-idlc.in    |   40 +++++++++++++++++++++++++++++++---------
 python/ovs/db/types.py |   11 ++++++++++-
 5 files changed, 87 insertions(+), 35 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list