[ovs-discuss] ovs add-port takes long time

ychen ychen103103 at 163.com
Thu Aug 7 06:41:00 UTC 2014


hi:
   i have encountered a problem that ovs add-port takes long time, can you help me?
   testing enviroment:
   CentOS release 6.5 (Final),
   Linux l3vpn2 3.16.0-rc1 #1 SMP Mon Jun 16 15:45:19 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    ovs-vswitchd (Open vSwitch) 1.11.0
   Compiled Jul 30 2013 18:14:54
    OpenFlow versions 0x1:0x1 
 
testing step:
 1. add br0
 2. use cmd ovs-vsctl add-port, to add 16K internal ports, each 4 ports are in the same namespace
 
problem:
for the first 100~200 ports, system responds quickly; and then it become slower and slower;
after the total port numbers reached to 8000, it takes about 3 minutes to add one vport
 
analysis:
i have read the kernel code, and i don't think it is the reason why ovs add-port  so slowly
i doubt whether the ovsdb is the main reason? and how can i fix the problem?
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140807/dfbd260e/attachment-0002.html>


More information about the discuss mailing list