[ovs-git] Open vSwitch: ofproto-dpif: Allow setting of flow eviction threshold (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 28 23:42:46 UTC 2011


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  084f529087b7d3a3b3e0df470ad4ad39800cbab5 (commit)
      from  b85d8d61a6c3b9c2fa578fa62c795a93544764af (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 084f529087b7d3a3b3e0df470ad4ad39800cbab5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=084f529087b7d3a3b3e0df470ad4ad39800cbab5
Author: Simon Horman <horms at verge.net.au>
		
ofproto-dpif: Allow setting of flow eviction threshold
		
Allow setting the number of flows present in the flow hash
at which point eviction of entries from the kernel flow hash
will begin to occur.

The value may be set using a bridge's other-config column.

e.g.

ovs-vsctl set bridge br3 other-config:flow-eviction-threshold=10000

default is 1000, reflecting constant value previously used.

Increasing this value can result in reduced CPU usage and
packet loss in situations where the number of active flows
is significantly larger than 1000.


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

Summary of changes:
 ofproto/ofproto-dpif.c     |   16 +++++++++-------
 ofproto/ofproto-provider.h |    3 +++
 ofproto/ofproto.c          |   14 ++++++++++++++
 ofproto/ofproto.h          |    4 ++++
 vswitchd/bridge.c          |   18 ++++++++++++++++++
 vswitchd/vswitch.xml       |   15 +++++++++++++++
 6 files changed, 63 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list