diff options
| author | Simon Horman <horms@verge.net.au> | 2011-07-28 16:38:50 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-07-28 16:39:29 -0700 |
| commit | 084f529087b7d3a3b3e0df470ad4ad39800cbab5 (patch) | |
| tree | 79170401dae9f4aadcd442c8c11b85c8ec969c3e /vswitchd/vswitch.xml | |
| parent | b85d8d61a6c3b9c2fa578fa62c795a93544764af (diff) | |
| download | openvswitch-084f529087b7d3a3b3e0df470ad4ad39800cbab5.tar.gz | |
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.
Diffstat (limited to 'vswitchd/vswitch.xml')
| -rw-r--r-- | vswitchd/vswitch.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index e72401fdc..b3029eb26 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -438,6 +438,21 @@ does not have QoS configured, or if the port does not have a queue with the specified ID, the default queue is used instead. </dd> + <dt><code>flow-eviction-threshold</code></dt> + <dd> + A number of flows as a nonnegative integer. This sets number + of flows at which eviction from the kernel flow table will + be triggered. + If there are a large number of flows then increasing this + value to around the number of flows present + can result in reduced CPU usage and packet loss. + </dd> + <dd> + The default is 1000. + </dd> + <dd> + Values below 100 will be rounded up to 100. + </dd> </dl> </column> </group> |
