arXiv:2609.35585cs.NISep 2026

Manuscript Offprint

arXiv:2609.35585

Resource versus Responsiveness: Benchmarking SDN Controller Runtimes for a Moving-Target-Defense Control Plane at Scale

Souhail Chakkour, Umesh Biswas, Charan Gudla

Abstract

Network Moving Target Defense (MTD) built on Software-Defined Networking (SDN) continuously rotates host-facing addresses to invalidate an attacker's reconnaissance. Such a defense is only as good as the control plane that drives it: every rotation is a burst of flow mutations, and every new connection is a reactive flow install that must complete before the address moves again. Yet the choice of SDN controller runtime—the framework that schedules these mutations—is treated as an implementation detail in the MTD literature. We show it is not. We port a single, identical MTD controller (CPAM) to three widely used runtimes—Ryu (single-threaded cooperative Python), OpenDaylight, and ONOS (both multi-threaded JVM)—and benchmark them under an identical 500-host campus fabric using an RFC 8456-aligned methodology with ten runs per controller. All three runtimes deliver the same data-plane correctness (near-zero loss, sub-millisecond jitter) but diverge sharply on the control plane: the two JVM controllers keep reactive round-trip time low and flat and preserve all sessions across rotations, whereas Ryu's cooperative scheduler serializes reactive flow installs behind the periodic rotation burst, inflating reactive RTT by roughly 100×100\times and dropping a small fraction of connections at setup time. Ryu, in turn, is markedly lighter, with roughly an order-of-magnitude smaller memory footprint. Crucially, the two JVM runtimes are not interchangeable: ONOS attains OpenDaylight-class reactive latency at the lowest CPU utilization of the three and a smaller live heap than OpenDaylight, showing that low reactive latency need not carry OpenDaylight's full resource cost. The controller runtime thus imposes a concrete resource-versus-responsiveness trade-off on the MTD control plane. We root-cause each difference to the runtime's concurrency and flow-programming model and argue that controller selection should be a first-class, measured decision in MTD system design.

Keywords: Moving Target Defense, Software-Defined Networking, address mutation, SDN controller benchmarking, control-plane performance, session continuity, Ryu, OpenDaylight, ONOS

1 Introduction

Moving Target Defense (MTD) reduces the value of adversarial reconnaissance by repeatedly changing the system attributes on which attackers depend [1–3]. In network-based MTD, a prominent approach is to periodically change the virtual IP addresses exposed by protected hosts. Consequently, information obtained through host discovery, port scanning, and topology inference becomes stale before it can be reliably used in an attack [4–8].

Software-Defined Networking (SDN) provides a natural platform for implementing address mutation. A logically centralized controller can maintain virtual-to-real address mappings, translate packets, and reprogram the forwarding fabric without modifying end hosts [9, 10]. However, the security benefit of address mutation depends partly on how frequently addresses change. More frequent mutation shortens the useful lifetime of reconnaissance information, but also places greater pressure on the SDN control plane.

Each mutation interval—the fixed period between two consecutive address rotations—ends with a burst of control-plane operations. During this burst, the controller updates virtual-to-real address mappings and modifies the corresponding forwarding rules in the switches. Meanwhile, a newly arriving connection may trigger reactive flow installation, in which the controller processes a PacketIn event and installs the rules needed to forward the connection's packets. Established connections may also require retained session state, meaning per-session bindings and forwarding rules associated with the virtual address under which the session was created, so that the session remains valid after that address rotates. The controller must therefore handle address mutation, new-flow setup, and session-state maintenance concurrently. If these operations are delayed or improperly ordered, a new connection may use an address or rule that is being replaced, creating a rotation race that increases connection-establishment latency or causes the connection attempt to fail.

Although SDN-based address mutation has been studied extensively, existing work generally treats the controller framework as an implementation choice rather than as an experimental variable [11–13]. This assumption can be misleading because controller runtimes differ substantially in their concurrency, event-dispatch, state-management, and flow-programming architectures. A single-threaded cooperative runtime may serialize reactive processing behind a mutation burst, whereas a multi-threaded runtime may execute these activities concurrently at the cost of greater CPU and memory consumption. General SDN controller benchmarks measure latency, throughput, and scalability [14], but do not reproduce the bursty and session-stateful workload created by address mutation. This raises the central question of this paper: How does the SDN controller runtime affect the responsiveness, continuity, and resource cost of an address-shuffling MTD when the underlying MTD logic is held constant?

To answer this question, we implement Continuity-Preserving Address Mutation (CPAM) [15] on Ryu [16], a cooperative single-threaded Python controller, and on two multi-threaded JVM platforms—OpenDaylight (ODL) [17], which programs flows through its MD-SAL datastore, and ONOS [18], which uses a lighter in-memory flow subsystem. All three implementations use the same VIP lifecycle, session bindings, translation placement, rotation parameters, and reclamation rules; the controller runtime is the principal independent variable.

We evaluate all three controllers over ten runs on an identical three-tier fabric with 500 hosts and 19 OpenFlow switches using RFC 8456-aligned metrics. All three provide near-zero UDP loss, sub-millisecond jitter, and preserve established sessions. The JVM controllers achieve low, flat reactive latency ( 0.131±0.0140.131 \pm 0.014 ms RTT and a 1.4 ms p99 processing time for OpenDaylight; 0.159±0.0140.159 \pm 0.014 ms and 1.2 ms for ONOS), compared with 15.98±8.4115.98 \pm 8.41 ms and 15.4 ms for Ryu. Ryu instead uses substantially less memory and achieves a higher aggregate flow-setup rate. The two JVM runtimes are themselves distinct: ONOS matches OpenDaylight's reactive latency at the lowest CPU of the three and a smaller heap, so the low-latency operating point does not carry a single fixed resource cost.

Our Contributions. This paper makes the following contributions:

● We present, to our knowledge, the first controlled comparison of SDN controller runtimes for address-shuffling MTD in which the MTD logic, topology, workloads, and configuration are held constant.

• We develop an RFC 8456-aligned benchmarking methodology tailored to address mutation, including rotation-aware reactive latency, session continuity, and fair Python-versus-JVM resource measurements.

• We quantify the resource-versus-responsiveness trade-off across Ryu, OpenDaylight, and ONOS on a 500-host campus fabric over ten runs per controller, showing that the two JVM runtimes occupy distinct operating points rather than a single one.

• We provide a root-cause analysis connecting the observed latency, continuity, throughput, and resource differences to the controllers’ cooperative and thread-pooled concurrency models.

References (26)