By default number of MAC addresses which ovs stores in memory
is quite low - 2048.
Any eviction of a MAC learning table entry triggers revalidation.
Such revalidation is very costly so it cause high CPU usage by
ovs-vswitchd process.
To workaround this problem, higher value of mac-table-size
option can be set for bridge. Then this revalidation will happen
less often and CPU usage will be lower.
This patch adds config option for neutron-openvswitch-agent to allow
users tune this setting in bridges managed by agent.
By default this value is set to 50000 which should be enough for most
systems.
Change-Id: If628f52d75c2b5fec87ad61e0219b3286423468c
Closes-Bug: #1775797
(cherry picked from commit 1f8378e0ac
)
changes/73/575773/4
parent
8dc15cc053
commit
44b159aa9f
@ -0,0 +1,14 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
A new config option ``bridge_mac_table_size`` has been added for
|
||||
Neutron OVS agent.
|
||||
This value will be set on every Open vSwitch bridge managed by the
|
||||
openvswitch-neutron-agent in ``other_config:mac-table-size`` column
|
||||
in ovsdb.
|
||||
Default value for this new option is set to 50000 and it should be enough
|
||||
for most systems.
|
||||
More details about this option can be found in `Open vSwitch documentation
|
||||
<http://www.openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html>`_
|
||||
For more information see bug
|
||||
`1775797 <https://bugs.launchpad.net/neutron/+bug/1775797>`_.
|
Loading…
Reference in new issue