Multiple Constrained Routing Algorithms in Large-Scaled Software Defined Networks

Chenyang Xu, Liangde Tao, Huajingling Wu, Deshi Ye, Guochuan ZhangarXiv 2019

Introduction

In modern Software Defined Networks (SDNs), a centralized controller manages the routing of data demands across the infrastructure. While this centralized view allows for more intelligent traffic engineering, it introduces a significant computational challenge: the multi-commodity flow problem. Specifically, the controller must route thousands of simultaneous demands while satisfying three distinct constraints: bandwidth (link capacity), delay (latency requirements), and hops (path length limits).

This problem is mathematically NP-complete, meaning that finding an optimal solution for large-scale networks is computationally expensive. Existing algorithms often struggle to scale to networks with tens of thousands of nodes, either taking too long to compute or failing to achieve high throughput. This paper presents a high-performance heuristic algorithm designed to bridge this gap, delivering high-throughput solutions for large-scale networks in seconds.

The Three-Phase Heuristic Algorithm

The proposed approach decouples the complex routing problem into three manageable phases: path generation, demand prioritization, and path selection.

Phase 1: Path Computing

Instead of searching the entire solution space, the algorithm utilizes a bi-directed Breadth-First Search (BFS). By searching simultaneously from both the source and the destination and merging the paths at a midpoint, the algorithm efficiently identifies feasible candidates. Crucially, this phase only considers "local" constraints—delay and hops—ignoring global bandwidth at this stage. Because each demand's path search is independent, this phase is "embarrassingly parallel," allowing it to leverage multi-core CPU architectures for massive speedups.

Phase 2: Demand Sorting

To maximize total throughput, the order in which demands are processed is critical. The authors evaluated several priority rules, finding that the most effective strategy involves prioritizing demands with high bandwidth requirements and low hop counts. This ensures that the most "expensive" or resource-intensive demands are satisfied before the network becomes congested.

Phase 3: Path Selection

Once candidate paths are identified and demands are sorted, the algorithm selects the final path for each demand using a specialized weight function:

$$w(p) = \sum \frac{1}{\text{residual bandwidth}}$$

This function effectively "prices" the edges based on their remaining capacity. By selecting paths that minimize this weight, the algorithm naturally balances the load across the network, avoiding bottlenecks and leaving more capacity available for subsequent demands. This approach mimics mathematical primal-dual techniques without the heavy computational overhead of a formal solver.

Experimental Evaluation

The algorithm was tested using synthetic datasets provided by Huawei Technologies Company, designed to simulate real-world backbone networks. Two primary scales were tested:

  • Instances A (Medium Scale): 500 nodes, 2,000 edges, and 10,000 demands.
  • Instances B (Large Scale): 10,000 nodes, 40,000 edges, and 10,000 demands.

Key Results

The experiments demonstrated that the proposed heuristic significantly outperforms traditional methods like the $k$-shortest path algorithm ($k$SPA), the Minimum Delay Algorithm (MDA), and the Widest Shortest Path (WSP) approach.

  • Efficiency: On the 10,000-node networks (Instances B), the algorithm completed its execution in an average of 5.82 seconds. In contrast, the $k$SPA approach required over 150 seconds.
  • Throughput: The algorithm achieved an average throughput of 97.71% for medium-scale networks and 92.55% for large-scale networks. This represents a roughly 5% improvement in throughput over $k$SPA while being 20 times faster.

Discussion and Future Work

The success of this algorithm lies in its ability to separate path finding from path assignment and its exploitation of parallel processing. By using a weight function to manage "greediness," the algorithm achieves near-optimal load balancing with very low latency.

However, as a heuristic, the algorithm does not currently offer a theoretical approximation guarantee. Furthermore, the current model assumes a "batch" of demands known in advance. Future research will focus on adapting the algorithm for dynamic environments where demands arrive and depart in real-time. Additionally, the authors plan to extend the framework to include fault-tolerance (backup paths) and node-specific constraints, such as requiring traffic to pass through specific security middleboxes.

Summary updated

BibTeX
@misc{xu2019multiple,
  author = {Chenyang Xu and Liangde Tao and Huajingling Wu and Deshi Ye and Guochuan Zhang},
  title = {{Multiple Constrained Routing Algorithms in Large-Scaled Software Defined Networks}},
  year = {2019},
  eprint = {1902.10312},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.10312},
}
Figure