[ovs-git] Open vSwitch: ofproto-dpif: Push statistics in rule_get_stats(). (master)

dev at openvswitch.org dev at openvswitch.org
Sun Mar 24 20:37:37 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  bf1e8ff9835871eb4927d5a0dbc7af19901d37ce (commit)
      from  f4d90e0d040d8ee0bcb1ce44f680fa921f09f2b6 (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 bf1e8ff9835871eb4927d5a0dbc7af19901d37ce
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bf1e8ff9835871eb4927d5a0dbc7af19901d37ce
Author: Ethan Jackson <ethan at nicira.com>
ofproto-dpif: Push statistics in rule_get_stats().
As time goes on, and flow tables become more complicated, the
tradeoff between keeping up to date statistics, and the CPU
resources needed to maintain them, will become more important.
Commit 5c0243a (ofproto-dpif: xlate actions once with subfacets.)
delayed the reporting of some statistics in an effort to achieve
higher flow setup performance.  Future commits will continue in the
same direction.

This patch helps to alleviate the issue, by pushing statistics
rule_get_stats(), when users actually want them.  Presumably, this
happens rarely, and thus will not have a negative impact on
ovs-vswitchd performance.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


Summary of changes:
 ofproto/ofproto-dpif.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Open vSwitch

More information about the git mailing list