[ovs-discuss] ovswitchd : maximum MAC addresses, possibility to increase it ?

Benoit ML ben42ml at gmail.com
Wed Oct 17 08:18:58 UTC 2012


Hello,


We actually using openvswitch in a large virtualised environnement (~
1000 VMs).  It's working verry nicely ! :) We use a centralised
physical openvswitch server.

By the way, we have some questions and performances issues about the
mac-adresses : an ARP request take some times (about 2 ms), and well
it's not a big deal, but it's not very clean too. We have increase the
'mac learning age' to 3600 secondes, and it's better.

Futher more, I've seen in the documentation (ovswitchd) that the
maximum mac addresses per bridge is 2048. I found that pretty low. In
the last version is steel the case ?  Can we modify this behaviure,
like something to 10 000 ?
Because if it's really 2048 we ve reached this limit ...

In the source I see a hard coded parameter in "lib/mac-learning.h" :
#define MAC_MAX 2048
Can we change this parameter without any side effect ?


Another question, what's the algorithm to add a new adresse mac when
the table is full ? replace the first (by age) ?


Thank you in advance.


Regards,

-- 
--
Benoit



More information about the discuss mailing list