Red Hat tests OpenShift live migration across 10,000 VMs in 40 namespaces
Single-namespace runs hit a control-plane bottleneck around 4,000–5,000 VMs; a separate test found that raising concurrency helped when the migration network had spare capacity.
Red Hat’s Performance and Scale Engineering team tested OpenShift Virtualization live migration with up to 10,000 virtual machines. The largest run spread the VMs across 40 namespaces. That layout reduced the contention the team saw when it packed thousands of VMs into one namespace. For operators planning maintenance, how the fleet is split can matter as much as how many migrations the cluster runs in parallel.
Where scaling stopped being predictable
At the default limits of two outbound migrations per node and five cluster-wide, the no-I/O tests took about 17.5 minutes for 500 VMs, 34 minutes for 1,000 and 67 minutes for 2,000. The team saw roughly linear growth in elapsed time through that range. Around 4,000–5,000 VMs in one namespace, API and reconciliation overhead started to affect throughput. In a 5,000-VM run at the highest tested concurrency (50 outbound per node and 250 cluster-wide), virt-controller reached about 6.7 CPU cores and 13.2 GB of memory, and the team observed intermittent gaps in Prometheus scraping. The 10,000-VM run spread across 40 namespaces reduced single-namespace contention. The report describes a testbed result, not a supported VM limit per namespace.
What to test before raising concurrency
In a separate 200-VM test with guests actively changing memory, moving from the default limits to 10 outbound migrations per node and 50 cluster-wide brought elapsed time from about 400–430 seconds to 135–150 seconds. The team used a dedicated 25 Gb/s migration network, and the combined rate at which guests changed memory stayed below available bandwidth. Those conditions matter: the timings are not a forecast for clusters where migrations share a link with other traffic.
For a maintenance rehearsal, measure controller CPU and memory, API latency and migration network headroom before increasing concurrency. Test node drains separately if storage runs on the same workers: the report also describes drains stalling in earlier experiments when Ceph disruption budgets blocked storage pod evictions during simultaneous drains. A faster VM migration run does not, by itself, establish a shorter maintenance window.
sources
comments · 0