Hi Trent, I actually ran into this quite a while ago while dealing with compute node stalls on Focal under LXC/charm churn, but only recently had some spare time and curiosity to set up a testbed and dig into the actual root cause.
For the synthetic reproducer, yeah - a simple `while true; do ip route add 10.200.0.0/24 dev eth0; ip route del 10.200.0.0/24 dev eth0; done` will do it. Your intuition about other netlink messages was actually spot on :) The thing is, it doesn't need big BGP routing tables at all. In customer setups with only a few static routes, the trigger is interface churn. Every time a container or charm creates a veth or tap interface, the kernel auto-assigns an IPv6 link-local address (`fe80::/64`) and pushes `RTM_NEWROUTE` / `RTM_DELROUTE` into `RTNLGRP_IPV6_ROUTE`. So an innocent temporary veth link-local route basically DOSes ovs- vswitchd from the inside :)) I checked this on my testbed - creating and deleting a single veth pair bumped `nln_changed` by 18 and triggered 8 full `route_table_dump` runs in ovs-vswitchd. In OVS 2.13, `route-table.c` catches those route events and runs a synchronous `nl_dump_start()` right inside the main event loop thread. When multiple containers or ports spin up at once, the main thread gets completely stuck churning through kernel dumps, hits 100% CPU, and starves everything else. That's why os-vif and libvirt time out trying to plug tap ports into br-int. Upstream finally decoupled this in 3.3 (Ilya Maximets in ovs-issues #185), but 2.13 and 2.17 still do the full dump synchronously in the main loop. -- 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
