Network Coding in a Multicast Switch

Jay Kumar Sundararajan, Muriel Médard, Minji Kim, Atilla Eryilmaz, Devavrat Shah, Ralf Koetter · DOI

TL;DR

This paper demonstrates that integrating linear network coding into a multicast crossbar switch significantly expands its achievable throughput (rate region) and can completely eliminate the need for hardware speedup. By mapping traffic patterns to an "enhanced conflict graph," the authors provide a clean graph-theoretic characterization of the rate region and introduce optimal offline and online scheduling algorithms.

What Problem Does This Paper Address?

In data networking, an input-queued crossbar switch moves packets from a set of inputs to a set of outputs. While scheduling unicast traffic (one-to-one) is well-understood and can achieve 100% throughput using bipartite matching algorithms, multicast traffic (one-to-many) is fundamentally more challenging.

Even when switches use fanout splitting—the ability to deliver a multicast packet to a subset of its destinations in one time-slot and the rest later—100% throughput cannot always be guaranteed. For certain traffic patterns, structural bottlenecks force the switch fabric to run faster than the external lines (a requirement known as speedup) to avoid unbounded queue growth. The authors address this limitation by exploring whether allowing inputs to perform linear network coding (mixing packets from the same flow) can overcome these throughput boundaries and simplify scheduling.

Methods

The authors introduce a framework that combines graph theory with network coding:

  1. The Enhanced Conflict Graph: To model the constraints of fanout splitting, the authors construct a graph where each vertex represents a "sub-flow" (a specific input-output pair within a multicast flow). Edges connect sub-flows that cannot be served simultaneously due to switch constraints (e.g., an input cannot send different data to different outputs at the same time, and an output can only receive from one input at a time).
  2. Rate Region Characterization: The paper proves that the achievable rate region under intra-flow linear network coding is exactly the stable set polytope of this enhanced conflict graph.
  3. Coding for Innovation: To ensure no transmission is wasted, inputs use Maximum Distance Separable (MDS) codes or linear codes over a finite field proportional to the multicast fanout size. This guarantees that every received packet is "innovative" (provides new information) to all destination outputs simultaneously.
  4. Scheduling Algorithms:
  5. Offline: If arrival rates are known, scheduling reduces to a fractional weighted coloring problem on the graph.
  6. Online: When rates are unknown, the authors propose a Maximum Weighted Stable Set (MWSS) algorithm based on queue backlogs, alongside a practical Finite Horizon MWSS batching algorithm to ensure full queue stability.

Datasets

No real-world datasets were used. The authors evaluated their approach using synthetic traffic patterns simulated in MATLAB, specifically focusing on a generalized $2 \times N$ switch topology designed to highlight the performance gap between coded and uncoded scheduling.

Key Insights and Ideas

  • Coding Simplifies the Math: Without network coding, characterizing the multicast rate region requires complex convex hulls of modified departure vectors. Introducing network coding simplifies this into a standard graph-theoretic stable set problem.
  • Perfect Graphs Yield Perfect Throughput: If a traffic pattern's enhanced conflict graph is a perfect graph (a well-studied class in graph theory), the entire admissible load region can be achieved without any throughput loss or speedup.
  • XORing Away the Bottleneck: Network coding allows a single transmission to satisfy different missing packet requirements across multiple outputs simultaneously. This property directly eliminates the structural blocking that typically necessitates switch speedup.

Key Results

  • Eliminating Speedup: For a specialized $2 \times N$ traffic pattern (one broadcast flow and $N$ unicast flows), an uncoded switch requires a hardware speedup factor of $1.5 - 1/N$ to stabilize the queues. With network coding, the required speedup drops to exactly 1—meaning no speedup is needed.
  • Rate Region Expansion: In a $2 \times 3$ switch, numerical analysis of the rate region's volume demonstrated that network coding ($P_{intra}$) provides a larger capacity region than fanout splitting alone ($P_{fs}$), as shown in the paper's comparative analysis:
A comparison of the four scheduling schemes
  • Throughput and Delay Benefits: Simulation results show that while the batching mechanism of the coded online algorithm introduces minor delays at low loads, it successfully stabilizes the switch at high load factors where uncoded scheduling queues grow infinitely.
Delay vs. load plots with and without network coding

Limitations and Future Work

The primary limitation of the proposed online algorithm is computational complexity: finding the Maximum Weighted Stable Set is an NP-hard problem. To make this practical for high-speed hardware, the authors utilized a randomized heuristic in their simulations.

Future research directions include:

  • Developing low-complexity approximation algorithms and heuristics that retain the throughput gains of the MWSS framework.
  • Analyzing online streaming policies for buffer clearance to replace the frame-based batching approach, which would reduce the latency observed at lower traffic loads.

Summary updated

BibTeX
@misc{sundararajan2006network,
  author = {Jay Kumar Sundararajan and Muriel Médard and Minji Kim and Atilla Eryilmaz and Devavrat Shah and Ralf Koetter},
  title = {{Network Coding in a Multicast Switch}},
  year = {2006},
  eprint = {cs/0608044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cs/0608044},
}
Figure