Skip to main content
Redhat Developers  Logo
  • 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 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

    • OpenShift AI learning
    • 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.
    • Explore the solution
  • 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

    • Access product downloads to start building and testing right away.
    • 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.
    • Explore the benefits

Scaling localnet user-defined networks (CUDNs) in Red Hat OpenShift to 3,500 networks

Scale and performance testing for localnet user-defined networks in Red Hat OpenShift

September 21, 2026
Joe Talerico
Related topics:
Network automation
Related products:
Red Hat OpenShift

    When migrating from legacy virtualization platforms to Red Hat OpenShift, networking architecture is often one of the biggest hurdles. Most legacy virtualization platform environments rely on flat VLAN-based tenant networks rather than overlay networks. Asking customers to re-architect their network topology to adopt Red Hat OpenShift Virtualization creates unnecessary friction.

    To bridge this gap, Red Hat OpenShift supports localnet user-defined networks (CUDN). Localnet CUDNs enables you to migrate directly from VLAN tenant networks to Localnet CUDNs, so your organization can preserve its existing infrastructure layout while modernizing their platform.

    We put localnet CUDNs through rigorous scale and performance testing. The core question: Can localnet CUDNs scale to thousands of networks while maintaining low resource overhead and high data-path performance?

    The short answer is yes. We successfully tested up to 3,500 Localnet CUDNs hosting over 3,500 active virtual machines, observing excellent network performance and steady-state control plane stability. This blog post shares our results as well a receipt so you can recreate our testing environment.

    Key takeaways from our testing

    • High scale stability: OVN-Kubernetes (OVNK) demonstrated strong stability at scale, successfully managing 3,500 Localnet CUDNs.
    • Reduced control plane overhead: Because Localnet CUDNs offload overlay management, encapsulation (Geneve tunnels), and complex routing to the physical network, OVN-Kubernetes has significantly less work to do.
    • Near-line-speed data-path: Without Geneve tunneling overhead between nodes, data-path throughput is excellent, enabling near maximum link utilization over 100GbE interfaces.
    • Predictable resource footprint:
      • Worker nodes: During resource creation (spinning up thousands of CUDNs and VMs), OVNK CPU usage peaked around 5 to 5.5 cores per worker node, with RAM hovering around 10 GiB RSS. At idle, CPU drops to an acceptable baseline and memory usage drops slightly.
      • Control plane: During the creation phase where we used a queries per second (QPS) and burst of 20, ovnkube-control-plane consumed ~10 CPU cores, and ovnkube-controller used ~2.5 GiB RSS. After creation completed, utilization dropped back to low baseline levels.

    System under test (SUT)

    These tests were executed in the performance and scale lab using enterprise-grade hardware running Red Hat OpenShift 4.20.16:

    Control plane

    • Count: 3
    • Hardware model: Dell PowerEdge R760
    • CPU cores: 128 (Intel Xeon Gold 6548Y+)
    • Memory: 512 GiB
    • Network Interfaces: 25GbE / 100GbE

    Worker nodes

    • Count: 20
    • Hardware model: Dell PowerEdge R760
    • CPU cores: 128 (Intel Xeon Gold 6548Y+)
    • Memory: 512 GiB
    • Network Interfaces: 25GbE / 100GbE

    Bastion

    • Count: 1
    • Hardware model: Dell PowerEdge R760
    • CPU cores: 128 (Intel Xeon Gold 6548Y+)
    • Memory: 512 GiB
    • Network Interfaces: 25GbE / 100GbE

    Other details

    • Platform: OpenShift 4.20.16
    • OS interface: Mellanox ConnectX-6 / 100GbE Direct Attach Copper

    Post-install and network setup

    Before running density and performance tests, Node Network Maintenance (NMState) was configured to map physical worker interfaces to an Open vSwitch (OVS) bridge.

    1. NMState Operator Deployment

    Create a namespace and apply the OperatorGroup:

    # Create namespace
    oc create namespace openshift-nmstate
    
    # Apply OperatorGroup
    cat <<EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
    metadata:
      name: openshift-nmstate-group
      namespace: openshift-nmstate
    spec:
      targetNamespaces:
      - openshift-nmstate
    EOF
    
    # Subscribe to the Operator
    cat <<EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1alpha1
    kind: Subscription
    metadata:
      name: kubernetes-nmstate-operator
      namespace: openshift-nmstate
    spec:
      channel: stable
      installPlanApproval: Automatic
      name: kubernetes-nmstate-operator
      source: redhat-operators
      sourceNamespace: openshift-marketplace
    EOF

    2. Node network configuration policy (NNCP)

    This policy binds physical interface ens6f0np0 to OVS bridge br-ens6 and creates the OVN bridge mapping for physnet-ens6.

    apiVersion: nmstate.io/v1
    kind: NodeNetworkConfigurationPolicy
    metadata:
      name: ens6f0np0-ovs-underlay
    spec:
      nodeSelector:
        node-role.kubernetes.io/worker: ""
      desiredState:
        interfaces:
          - name: br-ens6
            description: "OVS Bridge dedicated to ens6f0np0 for CUDN Localnets"
            type: ovs-bridge
            state: up
            bridge:
              allow-extra-patch-ports: true
              port:
                - name: ens6f0np0         
        ovn:
          bridge-mappings:
            - localnet: physnet-ens6       
              bridge: br-ens6             
              state: present

    Testing methodology

    The assessment was split into 2 phases: Control plane testing and data-path testing.

    Control plane testing

    To generate thousands of CUDNs and VMs, we utilized kube-burner-ocp configured for localnet density tests (virt-cudn-density). See figure 1 for a visualization.

    • Interface creation: A custom script on the bastion node provisioned VLAN sub-interfaces (access ports) corresponding to the targeted CUDNs.
    ./bin/amd64/kube-burner-ocp virt-cudn-density \ # Workload name
      --localnet \                                  # Enabling the localnet test
      --enable-ipam \                               # (Optional) enable IPAM
      --physical-network physnet-ens6 \             # Bridge created in the SUT Post-Install section.
      --iterations <ITERATIONS> \                   # Number of CUDN Localnet's and namespaces to create
      --gc=false \                                  # Leave everything in place (no cleanup)
      --vms-per-udn 2 \                             # Number of VMs to deploy in each CUDN
      --vlan-start 100 \                            # Starting VLAN ID, if we start at 100 CUDN-0 is vlan 100.
      --profile-type=both \                         # (Optional) Metric collection
      --pprof=true                                  # (Optional) PProf collection
    • Validation: To verify network path integrity without relying on virtctl, an automated SSH connectivity loop probed every launched VM guest directly across the CUDN localnet interface. We need gc to be false to check on SSH connectivity after all the resources are created.
    Diagram showing the networking for the density test.
    Figure 1: Diagram showing the networking for the density test.

    2. Data-path testing

    Using a CUDN-localnet branch of k8s-netperf, East-West data-plane tests were executed across worker nodes using dedicated 100GbE interfaces (mlx5_core). See figure 2 for a visualization.

    ./bin/amd64/k8s-netperf \
      --cudn-localnet cudn-localnet-999 \ # Using an existing CUDN we built from the control-plane testing
      --cudn-localnet-namespace netperf \ # Namespace we will run the test from "netperf"
      --vm=true \                         # We tested in VMs 
      --clean=false                       # (Optional) Leave the resources around for further testing if needed.
    Diagram showing the networking for the network performance test.
    Figure 2: Diagram showing the networking for the network performance test.

    Control-plane test results

    Across all scaling increments—from 100 CUDNs up to 3,500 CUDNs—the network layer demonstrated a 100% success rate once guest OS initialization completed. We only deployed 3,500 VMs because we had limited hardware to test on.

    +----------------+------------+------------------+-----------------------+
    | Localnet CUDNs | Total VMs  | SSH Success Rate | Result UUID           |
    +----------------+------------+------------------+-----------------------+
    | 100            | 500        | 100%             | 25bf402c-7632-4cfc... |
    | 500            | 2,500      | 100%             | 82449b27-f00c-4764... |
    | 1,000          | 3,000      | 100%             | 2cfd3423-578e-4884... |
    | 1,500          | 3,000      | 100%*            | dc18b131-151b-4c9d... |
    | 2,000          | 4,000      | 100%*            | 2dd87b47-6159-4cf5... |
    | 3,500          | 3,500      | 100%*            | 5e1385b7-d117-48c3... |
    +----------------+------------+------------------+-----------------------+

    A note on guest boot behavior: During rapid scale-up runs (1,500+ CUDNs), a fractional percentage (<0.1%) of virtual machines experienced a hung guest OS boot state (getting stuck at systemd-vconsole-setup or dracut-pre-mount prior to reaching sshd). This was verified as an OS/boot timing anomaly unrelated to network plumbing. Issuing a VM reboot resolved the hang and restored 100% connectivity. The issue is unrelated to CUDN localnets.

    3,500 CUDNs with 3,500 VMs

    The results from the control-plane metric collection only show the creation phase. The creation phase is where we expect to see heavy CPU utilization, since we are creating all the CUDN localnets and virtual machines attached to both the default network and the CUDN. After all the CUDNs and VMs are created the utilization of the OVN and OVS components returns back to an acceptable baseline. Localnet CUDNs remove the typical footprint of CUDNs, since the majority of the network features are managed by the infrastructure.

    ovnkubernetes CPU utilization during the workload.
    Figure 3: ovnkubernetes CPU utilization during the workload.

    The CPU utilization is high during the creation phase as shown in figure 3. OVNKubernetes uses all available resources to quickly process the requests, however after all the requests are processed, we see CPU utilization drop to normal and acceptable levels (figure 4).

    ovnkubernetes memory utilization during the workload.
    Figure 4: ovnkubernetes memory utilization during the workload.

    OVNKubernetes growth is minimal (figure 5) throughout the creation phase of the workload.

    Visual showing the aggregated system performance during the CUDN Scale test.
    Visual showing the aggregated system performance during the CUDN Scale test.
    Figure 5: Visual showing the aggregated system performance during the CUDN Scale test.

    SSH connectivity at 3,500 localnet CUDNs

    The results are clear:

    ===== Round 3 -- Thu Jul 10 09:21:19 PM UTC 2026 =====
    Testing 3500 VMs...         
                                                                    
    --- Round 3 Summary ---     
    Total: 3500 | OK: 3500 (100%) | FAIL: 0 | Time: 53s
                                                                    
    Cumulative: 0 unique VMs failed | 0 with repeated failures

    The data-path test results are summarized in figure 6:

    Graph of the CUDN localnet performance.
    Figure 6: Graph of the CUDN localnet performance.

    Recommendations

    1. Ideal for VMware migrations: Localnet CUDNs provide a seamless pathway for migrating existing VLAN-reliant workloads to Red Hat OpenShift Virtualization without forcing physical network re-architecture.
    2. Superior throughput: Removing overlay tunnel encapsulation (Geneve) drastically cuts CPU overhead on traffic processing, allowing workloads to tap into full 100GbE link speeds.
    3. Monitor rapid VM spawns: When orchestrating large-scale VM deployments in tight timeframes, ensure guest images are optimized for fast initialization to avoid occasional OS boot hangs during hypervisor resource contention.
    4. Capacity planning: Allocate ~5.5 CPU cores per worker node and ~10 CPU cores on control plane nodes to handle peak churn during mass deployment phases.

    For detailed metric breakdowns, performance dashboards, or follow-up queries regarding this scale test, feel free to reach out to Joe Talerico.

    Related Posts

    • Troubleshoot Red Hat OpenShift Virtualization localnet with the netobserv command

    • Extend Layer 2 networks into Red Hat OpenShift Virtualization with BGP and EVPN

    • Introduction to Linux interfaces for virtual networking

    Recent Posts

    • Comparison of Cluster Autoscaler and KEDA MachineSet Autoscaling on Red Hat OpenShift

    • Scaling localnet user-defined networks (CUDNs) in Red Hat OpenShift to 3,500 networks

    • AI threat modeling shouldn't be a bottleneck, so we open sourced ours

    • Red Hat OpenShift networking: Default OVN-Kubernetes vs. Cilium operator

    • Matching OpenShift edge topologies to your physical footprint

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    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