[ovs-dev] [PATCH] mac-learning: Increase default mac table size to 8K from 2K
echaudro at redhat.com
Thu Jun 28 14:19:26 UTC 2018
On 27 Jun 2018, at 17:11, Ben Pfaff wrote:
> On Wed, Jun 27, 2018 at 05:02:31PM +0200, Eelco Chaudron wrote:
>> On 27 Jun 2018, at 16:09, Ben Pfaff wrote:
>>> On Wed, Jun 27, 2018 at 01:24:25PM +0200, Eelco Chaudron wrote:
>>>> In field deployments of OVS (mostly in combination with OpenStack)
>>>> see that the 2K default MAC forwarding table is too small.
>>>> On average this tables is around 5k entries, hence this patch to
>>>> increase the default value to the next power of 2, i.e. 8K.
>>>> This increase in size does not automatically increase the memory
>>>> footprint, as the memory for the MAC entries, are allocated only
>>>> Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
>>> Applied, thanks!
>> Ben thanks for applying so quickly, however, I seem to have messed up
>> number :(
>> 5K, was 50K (I counted zero’s wrong), which leads to 64K entries by
>> This might make other people more opposed to the change, as it could
>> in a lot of memory being eaten when someone does a MAC sweep
>> around 4Mbyte per bridge.
>> Any input here?
> 64k does seem like a lot.
> Maybe OpenStack deployments should just set the configuration value in
> the database to whatever they really need?
Yes now seeing the 50K requirement it would be better to do it at the
OSP level. Sorry for the work, I guess you can rollback the patch.
More information about the dev