From my experience with OpenStack and busy networks, I know for sure what kills ovs-vswitchd here
The problem is that ovs-vswitchd listens to all kernel route events right in its main thread. When many routes change quickly (BGP updates, charms, or daemon-reload), thousands of netlink messages wake up the main thread at netlink-socket.c:1401. Because this same thread configures bridges, it burns 100% CPU and libvirt times out when adding tap devices to br-int. It seems to me the only reliable fix is moving route sync into a background thread with rate-limiting, so the main bridge loop never gets blocked -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2039768 Title: Massive stream of kernel routing table updates causes ovs-vswitchd process to burn CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/2039768/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
