diff options
author | Ethan Jackson <ethan@nicira.com> | 2013-03-29 14:19:04 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2013-04-01 15:59:32 -0700 |
commit | 27a88d1373cbfcceac6d901bbf1c17051aa7845f (patch) | |
tree | bf97973c0370b5ef63d3945e1f4415a795907817 /ofproto/ofproto.h | |
parent | e20b5746021eadbb1b0a7694ef46982e1088cf2f (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/ofproto.h')
-rw-r--r-- | ofproto/ofproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index cdd5baea..b3a55a43 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, |