Ceph zone crossings slowed node drains in Red Hat’s 10,000-VM OpenShift test
Most workers drained in roughly 7–15 minutes, but some took 30–45 minutes as the rollout entered a new OpenShift Data Foundation zone.
The longest worker drains in Red Hat’s Nov. 23 OpenShift Virtualization test occurred when the rollout entered a new OpenShift Data Foundation (ODF) zone. Increasing the rate at which guests rewrote memory made a small share of VM migrations and queue waits much longer, but Ceph balancing at zone boundaries remained the main source of slow individual worker drains in these runs.
What Red Hat measured
The test used 100 bare-metal workers running OpenShift, OpenShift Virtualization and ODF 4.22, with 10,000 running VMs sized at one vCPU and 1 GiB of RAM each. The workers shared a 25 Gbps network for pod traffic, storage replication and VM migration. The Machine Config Operator could drain up to five workers at a time. Live migration concurrency was set to 50 cluster-wide and 10 outbound per node, above the reported defaults of five and two, respectively.
With the 10% guest memory rewrite workload, most workers drained in roughly 7–15 minutes, including eviction and reboot. Several early workers in the second ODF zone took roughly 30–45 minutes. The Ceph operator logs recorded the storage disruption controller moving into that zone as the previous zone’s placement groups returned to a clean state. At 25%, most workers stayed in the same 7–15 minute band. The full fleet took about four hours at 10% and five hours at 25%.
What to measure before scheduling maintenance
Track worker drain time by storage zone, not just fleet-wide averages. Red Hat reports that about 99% of individual migrations finished within 40 seconds across all three tested workloads, but at 25% a small share took as long as roughly 320 seconds and some VMs waited about 800 seconds for a migration slot. Measure queue time separately from migration duration to see whether slow moves are holding up other guests.
Use the four-to-five-hour window as a result from this test, not a production estimate. The test used small guests, raised concurrency limits and kept traffic below link saturation. Before applying those settings to a different fleet, measure representative guest memory rewrite rates and the shared link’s headroom, and check whether the longest drains line up with Ceph balancing at zone changes.
sources
- Red Hat Developer: Draining 10K VMs with Dirty Memory at 100-Node Scaledevelopers.redhat.com
comments · 0