Global Adaptive Routing Algorithm Without Additional Congestion Propagation Network

Shaoli Liu, Yunji Chen, Tianshi Chen, Ling Li, Chao LuarXiv 2012

Introduction

Researchers have developed a novel approach to provide Network-on-Chip (NoC) routers with "global vision" without the typical hardware overhead. The proposed NoCPN (No Congestion Propagation Network) algorithm piggybacks congestion data onto unused bits in standard packet headers. This method achieves superior load balancing and higher throughput compared to previous techniques that required dedicated, power-hungry side-networks.

The Problem: Shortsighted Routing

In multi-chip interconnection networks, adaptive routing is essential for steering data packets around traffic congestion. However, most conventional routers are "shortsighted," making decisions based only on the status of immediate neighbors. This local perspective often leads to global imbalances, where specific network regions become gridlocked while others remain underutilized.

To address this, "Global Adaptive Routing" was proposed, using dedicated secondary networks (such as RCA or DBAR) to broadcast congestion levels across the chip. Unfortunately, these secondary networks are costly in terms of power consumption and silicon area. Furthermore, they can introduce "noisy" or redundant data that may actually degrade routing quality. The authors of this study aimed to achieve global awareness without these hardware penalties.

The NoCPN Approach: Global Awareness for "Free"

The NoCPN algorithm leverages two key innovations to provide efficient global awareness:

  1. The "Free Bits" Hack: Modern 128-bit "wormhole" flow control uses a "head flit" (packet header) to carry routing information. Due to the fixed width, there are typically unused bits available. NoCPN utilizes 9 of these "free bits" to carry congestion information as packets traverse the network.
  2. Look-ahead Tables: Each router maintains a compact table storing the congestion status of nodes in its row and column, up to three hops away. As a router receives a packet, it extracts the embedded congestion info to update its internal table. Conversely, when sending a packet, it embeds its own local congestion status into the header.
Figure 3: Illustration of the 3-hop look-ahead mechanism where a router 'O' tracks congestion information from nodes in its row and column.

When making routing decisions, the algorithm compares the congestion levels of potential paths. If immediate neighbors show similar congestion, the router "looks ahead" using its table to find a clearer path further downstream.

Experimental Setup

The performance of NoCPN was evaluated using the Booksim interconnection network simulator. The study focused on standard hardware benchmarks to stress-test the logic:

  • Topologies: 4x4 and 8x8 mesh networks.
  • Traffic Patterns: Transpose, Bit reverse, Shuffle, and Bit complement.
  • Configuration: 8 Virtual Channels (VCs) per port, 128-bit wire width, and 5-flit buffers per VC.

Design Insights

  • 1-bit Quantization: Interestingly, representing congestion with just a single bit (e.g., a simple threshold check on buffer occupancy) performed better than using higher precision (3 bits). This coarse data effectively filtered out transient "noise," preventing the algorithm from overreacting to minor traffic fluctuations.
  • The Three-Hop Sweet Spot: The researchers found that congestion information from nodes beyond three hops is often stale by the time it reaches a router. Limiting the look-ahead to three hops ensures data relevance while keeping the implementation lean.
  • Zero-Overhead Propagation: By piggybacking on existing header bits, NoCPN provides global awareness without increasing flit counts or requiring additional on-chip wiring.

Performance Evaluation

NoCPN was compared against Deterministic Routing (DOR), Local Adaptive Routing (LOCAL), and the state-of-the-art global method, DBAR.

Figure 5: Performance comparison of NoCPN against DOR, LOCAL, and DBAR across various traffic patterns, showing lower latency and higher saturation throughput for NoCPN.
  • Saturation Throughput: NoCPN significantly outperformed both LOCAL and DOR across all tested traffic patterns.
  • Superiority over DBAR: Despite not having a dedicated propagation network, NoCPN achieved better performance than DBAR. In patterns like "Bit reverse" and "Shuffle," NoCPN maintained lower latency at higher injection rates.
  • Efficiency: By avoiding the redundant information issues common in earlier global algorithms like RCA, NoCPN makes higher-quality routing decisions using less data.

Conclusion and Future Work

NoCPN demonstrates that global routing awareness can be achieved with zero hardware overhead by intelligently reusing existing packet header space. While highly effective in synthetic benchmarks, future work will involve testing the algorithm against real-world application traces. Additionally, extending this piggybacking logic to more complex topologies like Torus or Dragonfly remains an area for further exploration.

Summary updated

BibTeX
@misc{liu2012global,
  author = {Shaoli Liu and Yunji Chen and Tianshi Chen and Ling Li and Chao Lu},
  title = {{Global Adaptive Routing Algorithm Without Additional Congestion Propagation Network}},
  year = {2012},
  eprint = {1208.0384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1208.0384},
}
Figure