[ovs-git] Open vSwitch: ofproto-dpif: Compute the subfacet add/del rate using coverage counters. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Oct 1 20:12:07 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  264ac358d952eef06a3d8d86ee856a478667ba68 (commit)
       via  98cf638b19c2a5deca603fd4ed90e3b0cbfc7b7e (commit)
      from  f2073881648f4a6abfe7d5d9561b030ce526b2a3 (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 264ac358d952eef06a3d8d86ee856a478667ba68
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=264ac358d952eef06a3d8d86ee856a478667ba68
Author: Alex Wang <alexw at nicira.com>
		
ofproto-dpif: Compute the subfacet add/del rate using coverage counters.
		
So far, the subfacet rates (e.g. add rate, del rate) are computed by
exponential moving averaging function in ofproto-dpif.c.  This commit
replaces that logic with coverage counters.  And the rates can be
checked by running "ovs-appctl coverage/show" command.

Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


commit 98cf638b19c2a5deca603fd4ed90e3b0cbfc7b7e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=98cf638b19c2a5deca603fd4ed90e3b0cbfc7b7e
Author: Alex Wang <alexw at nicira.com>
		
coverage: Reimplement the "ovs-appctl coverage/show" command.
		
This commit changes the "ovs-appctl coverage/show" command to show the
the averaged per-second rates for the last few seconds, the last minute
and the last hour, and the total counts of all of the coverage counters.

Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 lib/coverage-unixctl.man |    4 +-
 lib/coverage.c           |  113 ++++++++++++++++++++++++++++++++++++++++++++--
 lib/coverage.h           |   17 ++++++-
 lib/timeval.c            |    1 +
 ofproto/ofproto-dpif.c   |  101 ++++-------------------------------------
 tests/ofproto-dpif.at    |   38 ++++++++++++++--
 tests/tunnel.at          |   26 +++++------
 7 files changed, 183 insertions(+), 117 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list