Skip to main content
AI
  • Get started with AI

    • Red Hat AI

      Accelerate the development and deployment of enterprise AI solutions.

    • AI learning hub

      Explore learning materials and tools, organized by task.

    • AI interactive demos

      Click through scenarios with Red Hat AI, including training LLMs and more.

    • AI/ML learning paths

      Expand your Red Hat OpenShift AI knowledge using these learning resources.

    • AI quickstarts

      Focused AI use cases designed for fast deployment on Red Hat AI platforms.

    • No-cost AI training

      Foundational Red Hat AI training.

  • Featured resources

    • Red Hat OpenShift AI
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

Red Hat AI Factory with NVIDIA

Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.

Learn
  • Self-guided

    • Documentation

      Find answers, get step-by-step guidance, and learn how to use Red Hat products.

    • Learning paths

      Explore curated walkthroughs for common development tasks.

    • Guided learning

      Receive custom learning paths powered by our AI assistant.

    • See all learning
  • Hands-on

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

    • Interactive labs

      Learn by doing in these hands-on, browser-based experiences.

    • Interactive demos

      Click through product features in these guided tours.

  • Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics
  • Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
Build
  • Get started

    • Red Hat build of Podman Desktop

      A downloadable, local development hub to experiment with our products and builds.

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

  • Download products

    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products
  • Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset
  • References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
Community
  • Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions
  • Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github
  • Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

Join the Red Hat Developer program

Download Red Hat products and project builds, access support documentation, learning content, and more.

ConsoleDocsSupport Search
New For you

Resources to explore

Check out popular resources, tools, and information from Red Hat. We'll recommend more as you browse.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

OpenShift Virtualization Live Migration Performance at High Scale (10K VMs)

November 30, 2026
Abhishek Bose
Related topics:
Performance and Scale EngineeringVirtualization
Related products:
Red Hat OpenShift Virtualization

    Introduction

    As the OpenShift Virtualization Performance & Scale team, our primary focus is ensuring that hyperconverged infrastructure can handle massive workloads under realistic operational conditions. Live migration is a cornerstone feature for cluster maintenance, workload balancing, and seamless updates. However, executing live migrations at high scale, i.e, up to 10,000 Virtual Machines (VMs) presents unique control plane and storage synchronization challenges.

    In this technical blog, we walk through our recent high-scale live migration test suite. We systematically evaluated migration concurrency limits, control plane resource consumption, guest workload dirty memory impacts, multiIO thread optimizations, and node drain mechanics across density profiles reaching 10,000 VMs.

    Executive Summary

    At high scale, live migration performance is shaped primarily by control plane resources and migration concurrency limits. Control plane processing scales predictably and linearly up to 2,000 VMs under default and higher Openshift Virtualization live migration limits. Beyond 4,000–5,000 VMs within a single namespace, object reconciliation overhead and API server load hit an inflection point, causing non-linear throughput patterns and control plane resource spikes. Multi-namespace distribution successfully mitigates this contention, enabling smooth execution across 10,000 VMs.

    Dirty memory generation rates have a bounded impact on migration duration as long as dirtying rates remain below available network bandwidth. Raising concurrency limits from default settings (2 outbound per node / 5 cluster-wide) to highly parallelized (10 outbound per node / 50 cluster-wide) helps with migration component scale testing, and in this workload case with combined dirty rates remaining lower than the available network bandwidth, cuts total migration duration by up to two-thirds without destabilizing co-located OpenShift Data Foundation (ODF) storage daemons.

    Test Environment & Baseline Optimizations

    To evaluate performance without artificial bottlenecks, our testbed leverages hyperconverged worker nodes co-locating Ceph OpenShift Data Foundation (ODF) storage and virt-launcher guest workloads.

    Infrastructure Setup

    • Large Cluster: The cluster used for this testing included 240 node workers. This helped us to push the number of VMs without stressing the node / VM density.
    • Dedicated Migration Network: Configured on a dedicated 25 Gigabit interface with Jumbo Frames (MTU 9000) to isolate bulk memory transfers from standard pod network traffic.

    Tools used

    • github.com/gqlo/vstorm - to create VMs and generate dirty data.
    • Migration dashboard.

    Test Results

    Scaling from 500 to 10,000 VMs with no IO

    We evaluated migration workflows across progressive scale tiers (500, 1,000, 2,000, 5,000, and 10,000 VMs) under varying migration concurrency limits. Migration concurrency was tested across three tiers:

    1. Tier 1 (2/5): 2 parallel outbound migrations per node / 5 cluster-wide.
    2. Tier 2 (10/50): 10 parallel outbound migrations per node / 50 cluster-wide.
    3. Tier 3 (50/250): 50 parallel outbound migrations per node / 250 cluster-wide.

    Note: Migration limit increment can be beneficial as long as the cluster can support in terms of CPU load, memory and network bandwidth.

    Increasing live migration durations, scaling up to 5 thousand VMs

    No Issues Up to 2,000 VMs (Linear Scaling)

    From 5 VMs up to 2,000 VMs, the control plane  and the data plane performed exceptionally well. Total migration duration scaled predictably and linearly with the number of VMs.

    • At a concurrency limit of 2/5, migrating 500 VMs took ~1,053 seconds (~17.5 mins).
    • Scaling to 1,000 VMs took ~2,030 seconds (~33.8 mins), maintaining a linear 2x scaling ratio.
    • At 2,000 VMs, total migration time was ~4,022 seconds (~67 mins), again showing a clear linear progression with minimal API latency overhead.

    During these runs, virt-controller CPU usage remained well-contained below 3.5 cores, and memory utilization remained stable around 5.3 GB to 5.8 GB.

    The 5,000 VM Threshold & Resource Inflexion

    When scaling the workload to 5,000 VMs, we hit a critical resource inflection point:

    • Control Plane Load: At 5,000 VMs (under the 50/250 concurrency limit), virt-controller CPU usage spiked to ~6.71 cores, while memory consumption steadily climbed to ~13.2 GB.
    • Non-Linear Throughput: While overall migration completed, migration network throughput exhibited non-linear patterns. At high scale limits, control plane scheduling queues and Prometheus telemetry scraping experienced intermittent gaps.
    • Namespace Density Limit: Based on our test results, 4,000 to 5,000 VMs per namespace represents the practical maximum density limit before API object processing and namespace-level reconciliation overhead begin impacting migration efficiency.

    10,000 VMs Across 40 Namespaces

    To evaluate enterprise-scale multi-tenancy, we tested 10,000 VMs distributed across 40 namespaces. Distributing guest workloads across multiple namespaces reduced single-namespace API contention and allowed the control plane to process migration requests smoothly.

    Live Migration with Dirty Data 

    We live-migrated 200 VMs while varying the percentage of dirty memory data and measured the total migration duration.  vstorm was used to generate the dirty data:

    vstorm --cores=4 --memory=8Gi --cloudinit=workload/cloudinit-dirty-mem-pages.yaml --dv-url=<qcow URL of Data Volume> --env DIRTY_RATE_FRACTION=0.1 --vms=1

    The results indicated that migration duration stayed consistent across different dirty data percentages, provided the dirty memory generation rate did not exceed the dedicated migration network bandwidth. It was observed that migration timing hovered around 400-430 seconds for default migration limits while the migration timing reduced by one-third (~135-150 seconds) when the migration limit was increased to 10 per Node and 50 per cluster. 

    The chart below summarizes the data gathered across our test runs:

    Migration time in seconds for different dirty memory rates and migration limits.

    Feature Validations & Infrastructure Resiliency

    MultiIO Thread Support with Native CNV Migration

    We confirmed that configuring multiIO threads for VM storage disks operates cleanly with native OpenShift Virtualization (CNV) migration workflows. Under high concurrent write workloads, multiIO threading offloaded block I/O operations effectively, preventing guest vCPU stalls during live memory transfers.

    Node Drain Performance & ODF PodDisruptionBudgets

    In earlier testing on an experimental 240-node cluster, node drains frequently stalled due to strict Ceph PodDisruptionBudgets (PDBs) blocking OSD pod evictions when multiple nodes drained simultaneously. A bug was opened for further investigations into this issue.

    In 100 node cluster setup, node drain operations (oc adm drain <node> --force --ignore-daemonsets) completed smoothly. Workload VMs were live-migrated off target nodes without triggering storage locks or leaving nodes in an un-evictable state.

    # Executing forced node drain during active scale migration
    oc adm drain <node> --force --ignore-daemonsets --delete-emptydir-data

    Anomalies & Bugs Under Active Investigation

    While core migration infrastructure proved capable of moving thousands of VMs, testing at these scale boundaries exposed edge-case defects that are under investigation:

    • Post-Migration VM Anomalies: Investigating guest agent status reporting failures observed on a small fraction of VMs following migration completion.
    • Migration Controller Handoff Stalls: Investigating transient state reconciliation delays under extreme parallel queue limits.
    • High Scale Network Throughput Non-Linearity: Analyzing network driver and socket transfer bottlenecks that cause non-linear throughput drops during 5,000+ VM migration runs.

    Key Takeaways & Recommendations

    1. Linear Scalability to 2,000 VMs: Up to 2,000 VMs, OpenShift Virtualization live migration scales cleanly with predictable time-to-completion ratios.
    2. Namespace Density Guidance: Restrict density to 4,000–5,000 VMs per namespace. For higher cluster counts (e.g., 10,000 VMs), distribute VMs across multiple namespaces to avoid object reconciliation bottlenecks.
    3. Control Plane Sizing: When planning for 5,000+ VMs, ensure control plane nodes have sufficient CPU and RAM headroom to accommodate virt-controller spikes (budgeting at least 8 CPU cores and 16GB+ RAM dedicated to virtualization control plane pods).
    4. Tune Concurrency Limits: Raising migration limits from 2/5 to 10/50 significantly reduces total migration duration (e.g., cutting 5,000 VM migration time from ~2.8 hours down to ~1 hour) without overloading hyperconverged OSD storage daemons. Increased concurrency limits can be beneficial as long as the cluster can support VM migration in terms of CPU load, memory and network bandwidth.

    Thanks to the Red Hat Performance and Scale Team, with special thanks to Shekhar Berry, Jenifer Abrams and Robert Krawitz for guidance and reviewing this document.

    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Related Posts

  • High Scale Performance Testing of OpenShift Virtualization : An Introduction

  • Draining 10K VMs with Dirty Memory at 100-Node Scale

  • Recent Posts

    • OpenShift Virtualization Live Migration Performance at High Scale (10K VMs)

    • tongs: Unified code review for GitHub & GitLab in your terminal

    • Red Hat OpenShift AI and OpenShift on AWS for sovereign AI agents

    • Performance testing: Where benchmarks meet reality

    • Securing multimodal AI with NeMo Guardrails and vision models

    Red Hat Developers logo

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    Red Hat Developer

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility
    Ask AI