On Thu, Aug 06, 2015 at 03:08:16PM -0700, Han Zhou wrote:
> Hello Folks,
> 
> I am facing a problem of internal port deletion.
> In neutron dhcp node, it use ovs internal ports for dhcp interfaces
> for virtual networks.
> During cleanup, it takes around 500ms to delete a port. It is
> producation environment, so I cannot do much testing.
> But in my testing environment it is 10 times faster.
> Is there a quick answer why deleting an internal port would take so
> long in that production env?
> 
> The command I used was:
> ovs-vsctl del-port br-int <port name>
> 
> Note:
> 
> - the ports are in namespaces.
> - there are hundreds of such ports (but in my testing env I created
> same number of ports and it was still 10 times faster than the
> production env)

You could try deleting a bunch of interfaces at once to avoid the
cost of reading all the configuration on every operation.

ovs-vsctl del-port <bridge> <port1> -- del-port <bridge> <port2> ...

fbl

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to