aboutsummaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2013-03-29 14:19:04 -0700
committerEthan Jackson <ethan@nicira.com>2013-04-01 16:01:31 -0700
commitbe87803d64dc0c29472d4702db43e6b6ed0fefdd (patch)
tree03016cadade10ac6a359192894c672c5a950f34a /ofproto
parent8ed3c277e0990157652ce5557ccc8e0396deb694 (diff)
ofproto: Increase default flow-eviction-threshold.
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@nicira.com>
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index 413472af..c3f59b25 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -198,7 +198,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,