Pre-Allocation Based Flow Control Scheme for Networks-On-Chip

Shijun Lin, Li Su, Haibo Su, Depeng Jin, Lieguang ZengIEICE Trans. Information and Systems 2009

Abstract

Based on the traffic predictability characteristic of Networks-on-Chip (NoC), we propose a pre-allocation based flow control scheme to improve the performance of NoC. In this scheme, routes are pre-allocated and the injection rates of all routes are regulated at the traffic sources according to the average available bandwidths in the links. Then, the number of packets in the network is decreased and thus, the congestion probability is reduced and the communication performance is improved. Simulation results show that this scheme greatly increases the throughput and cuts down the average latency with little area and energy overhead, compared with the switch-to-switch flow control scheme.

Introduction

As System-on-Chip (SoC) designs scale to integrate hundreds of Intellectual Property (IP) blocks, traditional bus-based communication architectures have become a significant bottleneck. Network-on-Chip (NoC) has emerged as the standard solution for scalable on-chip communication. However, NoCs face a major challenge: network congestion.

Standard flow control methods, such as credit-based or ack/nack schemes, are primarily reactive. They only throttle traffic once buffers are already saturated, leading to "head-of-line blocking" where delayed packets stall unrelated traffic across the network. While predictive flow control has been explored to mitigate this, existing methods often require complex controllers within every router, increasing hardware area by as much as 18%. This paper proposes a proactive middle ground: a pre-allocation scheme that prevents congestion at the source without a massive hardware overhead.

The Pre-Allocation Flow Control Scheme

The proposed scheme shifts the intelligence from the routers to the Network Interface (NI) at the traffic source. It leverages the fact that NoC traffic in application-specific SoCs is often highly predictable. The scheme operates in two primary steps:

  1. Path Pre-allocation: The system analyzes communication traces offline. Best-Effort (BE) traffic traces are ordered by length and load, then mapped to shortest paths to balance the load across all links. If multiple shortest paths exist, the algorithm selects the one that minimizes the "load-balance factor"—the ratio of traffic to available bandwidth—on the most congested link.
  2. Injection Rate Regulation: If any link remains overloaded (load-balance factor > 1), the injection rates of all traffic traces passing through that link are reduced proportionally. This ensures that the total traffic injected into any link does not exceed its capacity.

Hardware Implementation

To implement this regulation, a simple "injection controller" is added to the sending module of the NI. This controller uses a time slot table, generated from the calculated rates, to determine exactly when an IP is permitted to send a packet to a specific destination.

Architecture of the NI sending module featuring the injection controller

Experimental Evaluation

The researchers evaluated the scheme using a cycle-accurate simulation of a 4x4 mesh NoC. The setup included localized self-similar traffic for Best-Effort data and Poisson-distributed "Guaranteed Service" (GS) traffic to simulate real-world background load (occupying ~10% bandwidth). Hardware overhead was estimated using an Altera Stratix II FPGA model.

Key Results

The proactive scheme demonstrated substantial improvements over traditional switch-to-switch flow control:

  • Latency and Throughput: As shown in the performance data, average network latency was reduced by up to 73% in high-traffic scenarios. Throughput gains reached up to 34% depending on the load.
  • Minimal Overhead: The hardware tax was remarkably low. The area of a router and NI increased by only 1.9%, and total energy consumption rose by a mere 0.8%.
Performance comparison between the proposed scheme and traditional switch-to-switch flow control

Conclusion

By treating predictability as a feature, the pre-allocation scheme effectively clears the network "pipes" by regulating traffic at the source. This prevents the ripple effects of congestion that plague reactive systems. While currently optimized for static application-specific SoCs, future work could adapt this strategy for semi-static environments where chips switch between predefined operational modes.

Summary updated

BibTeX
@article{lin2009pre,
  author = {Shijun Lin and Li Su and Haibo Su and Depeng Jin and Lieguang Zeng},
  title = {{Pre-Allocation Based Flow Control Scheme for Networks-On-Chip}},
  journal = {IEICE Trans. Information and Systems},
  year = {2009},
  doi = {10.1587/transinf.e92.d.538},
}
Figure