[ovs-dev] [PATCH 4/4] ofproto: Increase default flow-eviction-threshold.

Ethan Jackson ethan at nicira.com
Mon Apr 1 01:22:59 UTC 2013


The flow-eviction-threshold presents a trade off between the
expense of maintaining large numbers of datapath flows, and the
benefit of avoid unnecessary flow misses.  In some large Open
vSwitch deployments, we've seen the previous default flow eviction
threshold negatively impact performance with reasonably typical
traffic patterns.  This patch increases the default to a level
which should represent a better trade off: still relatively safe,
but much more amenable to large numbers of long lived flows.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
 ofproto/ofproto.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index cdd5bae..b3a55a4 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -197,7 +197,7 @@ int ofproto_port_dump_done(struct ofproto_port_dump *);
           : (ofproto_port_dump_done(DUMP), false));         \
         )
 
-#define OFPROTO_FLOW_EVICTION_THRESHOLD_DEFAULT  1000
+#define OFPROTO_FLOW_EVICTION_THRESHOLD_DEFAULT  2500
 #define OFPROTO_FLOW_EVICTION_THRESHOLD_MIN 100
 
 const char *ofproto_port_open_type(const char *datapath_type,
-- 
1.7.9.5




More information about the dev mailing list