[ovs-discuss] Deleting internal ports takes too long

Han Zhou zhouhan at gmail.com
Thu Aug 13 19:16:53 UTC 2015


On Thu, Aug 13, 2015 at 9:52 AM, Flavio Leitner <fbl at sysclose.org> wrote:
>
> 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
>

Hi Flavio,

Good suggestion!
Yes, the time spent are mostly caused by the ovsdb transaction
including the change notification to the controller.
So combining multiple ports deletion in one transaction reduces the
time significantly.

Thanks,
Han



More information about the discuss mailing list