Path computation in multi-layer networks: Complexity and algorithms

Mohamed Lamine Lamali, Nasreddine Fergani, Johanne Cohen, Hélia Pouyllau

Introduction

In modern telecommunications, a "path" from point A to point B is rarely a straight line. It is more akin to a series of Russian nesting dolls: an Ethernet frame might be tucked inside an IP packet, which is then wrapped in an MPLS label, and finally sent over an optical wavelength. This multi-layer architecture, while flexible, introduces significant algorithmic challenges for path computation.

Multi-layer network architecture showing nested protocol encapsulations across different domains.

The Multi-Layer Routing Problem

Traditional routing algorithms like Dijkstra’s assume a "flat" network where links are homogeneous. However, carrier-grade networks are inherently heterogeneous. A router might encapsulate IPv4 into IPv6 (tunneling) or decapsulate an Ethernet frame from an MPLS stack. This creates two major challenges:

  1. Path Feasibility: A path is only valid if every "wrapper" put on a packet is eventually removed in the correct order, similar to a well-parenthesized mathematical expression.
  2. The Loop Paradox: In multi-layer networks, a "shortest" feasible path might involve crossing the same physical link multiple times using different protocol stacks. This breaks standard routing logic, which typically prunes loops to optimize search time.

Methodology

The researchers address the problem across three scenarios:

1. Unconstrained Path Computation

Without bandwidth constraints, the network is modeled as a Push-Down Automaton (PDA). By converting this PDA into a Context-Free Grammar (CFG), the authors adapt Knuth’s algorithm to find the "shortest word," representing the optimal sequence of protocol changes. This approach reduced the complexity from $O(|A|^8 \times |V|^7)$ in previous literature to a more manageable $O(|A|^5 \times |V|^2 \times |E|)$.

2. Bandwidth-Constrained Paths

The authors prove that adding a simple bandwidth constraint makes the problem NP-complete via a reduction from the Hamiltonian Path problem. To address this, they propose a DAG Heuristic, which temporarily converts the network into a Directed Acyclic Graph (DAG) to eliminate complex loops, making the problem solvable in polynomial time at the cost of potentially missing some feasible paths.

3. Multiple QoS Constraints

For constraints like delay and jitter, the authors adapted the SAMCRA (Self-Adaptive Multiple Constraints Routing Algorithm). The innovation lies in redefining "dominance" to account for the specific protocol stack at each node when discarding suboptimal paths.

Key Results and Insights

The algorithms were evaluated on two real-world topologies: Time Warner (T1) and Exodus (T2). Protocol heterogeneity was simulated by randomly assigning adaptation functions to nodes with a varying probability $p$.

Performance and Scalability

The PDA-based algorithm demonstrated significant performance gains. In simulations on the T2 topology, it found paths in approximately 10 seconds, whereas a standard Breadth-First Search (BFS) took over 14 minutes.

Processing time comparison between the proposed PDA-based algorithm and standard BFS on different topologies.

The Phase Transition

A key discovery was a "phase transition" phenomenon. As the density of protocol-changing nodes increases, the probability of a feasible path existing jumps suddenly (around $p=0.22$). This insight is critical for network designers determining the optimal deployment of multi-protocol routers.

Heuristic Trade-offs

The DAG Heuristic for bandwidth-constrained paths is fast but has a "feasibility gap." It fails to find a path about 50% of the time when $p > 0.34$ because it ignores the loops that multi-layer paths sometimes require.

Conclusion

This research provides a robust framework for navigating the complexities of multi-layer networks. By treating protocol stacks as a formal language, the authors unlocked powerful computational tools to solve networking problems. While QoS routing remains computationally intensive, the optimized PDA algorithms and heuristics offer a path forward for modern, heterogeneous carrier networks.

Summary updated

BibTeX
@inproceedings{lamali2016path,
  author = {Mohamed Lamine Lamali and Nasreddine Fergani and Johanne Cohen and Hélia Pouyllau},
  title = {{Path computation in multi-layer networks: Complexity and algorithms}},
  booktitle = {INFOCOM},
  year = {2016},
  doi = {10.1109/infocom.2016.7524550},
}
Figure