Decentralized Consistent Network Updates in SDN with ez-Segway

Thanh Dang Nguyen, Marco Chiesa, Marco Canini

Introduction

Software-Defined Networking (SDN) centralizes network control, allowing for sophisticated management and optimization. However, this centralization introduces a significant bottleneck during network updates. When a controller needs to reroute traffic—due to link failures or traffic engineering requirements—it must coordinate updates across multiple switches. Traditional centralized approaches rely on multiple rounds of communication between the controller and switches to ensure consistency, avoiding loops and congestion. This process is often slow, limited by propagation delays and controller overhead, particularly in wide-area networks (WANs).

The ez-Segway Approach

To address these delays, ez-Segway proposes a decentralized update mechanism. Instead of the controller micro-managing every step of the update, it pre-computes the final state and delegates the execution to the switches themselves.

Transition between network configurations during an update.

The process is divided into two distinct phases:

  1. Centralized Pre-computation: The controller determines the target configuration and identifies "flow segments"—independent parts of the update. It then broadcasts an InstallUpdate command to all relevant switches.
  2. Decentralized Execution: Switches coordinate directly using in-band messaging. A switch only activates a new forwarding rule once it receives confirmation (e.g., a GoodToMove signal) from its downstream neighbors that they are ready to handle the new traffic.

Key Innovations

ez-Segway introduces several techniques to optimize this decentralized process:

  • Flow Segmentation: By breaking long network paths into smaller, independent segments, ez-Segway allows different parts of the network to update in parallel. This significantly reduces the time spent waiting for long dependency chains to resolve.
  • ez-Schedule: This priority-based heuristic identifies critical updates that, when completed, release capacity for other pending updates. This helps avoid "splittable deadlocks" where updates are mutually dependent on shared link capacity.
  • Volume Splitting: In scenarios where a deadlock is unavoidable due to capacity constraints, ez-Segway can temporarily split a flow's traffic between the old and new paths. This allows the network to transition through a bottleneck without violating congestion constraints.

Evaluation and Results

The system was evaluated using real-world WAN topologies (Google’s B4 and Internet2) and ISP topologies from RocketFuel. Traffic was simulated using a gravity model to reflect realistic network conditions.

The results demonstrate substantial performance gains:

  • Update Speed: ez-Segway achieved a 45% improvement in median update times and a 57% improvement at the 99th percentile compared to state-of-the-art centralized methods like Dionysus.
  • Control Overhead: The decentralized nature of the protocol reduced the number of control messages by 65%, easing the load on the network management plane.
  • Hardware Feasibility: Tests on physical hardware (Centec V580 switches) showed a mean processing time of only 3.4 ms, confirming that the decentralized logic is lightweight enough for existing switch CPUs. Furthermore, a P4 implementation proved that these mechanisms can be integrated into next-generation programmable data planes.

Discussion and Future Work

While ez-Segway excels at planned updates, its current design halts during unexpected link or switch failures, reverting to the central controller for a new plan. Future iterations could incorporate autonomous failure recovery directly into the decentralized protocol. Additionally, while execution is decentralized, the initial computation remains centralized; exploring distributed pre-computation across a controller cluster is a promising avenue for further scaling.

Summary updated

BibTeX
@misc{nguyen2017decentralized,
  author = {Thanh Dang Nguyen and Marco Chiesa and Marco Canini},
  title = {{Decentralized Consistent Network Updates in SDN with ez-Segway}},
  year = {2017},
  eprint = {1703.02149},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.02149},
}
Figure