Design of a Stochastic Traffic Regulator for End-to-End Network Delay Guarantees

Massieh Kordi Boroujeny, Brian L. Mark

Introduction

In modern packet-switched networks, providing deterministic end-to-end delay guarantees is a significant challenge. Traditional approaches rely on deterministic network calculus, specifically the $(\sigma, \rho)$ model, where $\sigma$ represents the maximum burst size and $\rho$ the constant service rate. While this model ensures hard delay bounds, it is often overly conservative, leading to resource underutilization because it assumes worst-case traffic scenarios.

Stochastic network calculus emerged as a solution, offering tighter, probabilistic delay guarantees (e.g., ensuring 99.9% of packets meet a specific deadline). However, a critical gap remained: the lack of a practical mechanism to enforce these stochastic bounds at the network edge. This paper addresses this gap by designing a novel stochastic traffic regulator that dynamically shapes traffic to adhere to probabilistic burstiness limits.

The Stochastic Regulator Model

The authors propose a stochastic $(\sigma^*, \rho)$ regulator. Unlike traditional regulators that use a fixed burst parameter, this system dynamically selects a variable burstiness parameter, $\sigma^*$, for each individual packet based on the current state of the network traffic.

The proposed stochastic $(\sigma^*, \rho)$ regulator model and its optimization objective.

The primary goal of the regulator is to enforce a "generalized Stochastically Bounded Burstiness" (gSBB) limit. Mathematically, this means ensuring that the probability of the virtual workload $W_\rho(t; R_o)$ exceeding a threshold $\gamma$ remains below a predefined bounding function $f(\gamma)$ for all time $t \ge 0$.

Implementation and Approximation

Calculating exact probabilities in real-time is computationally prohibitive for high-speed routers. To make the regulator practical, the authors introduce two key simplifications:

  1. Overshoot Ratio as a Proxy: Assuming traffic is stationary and ergodic, the regulator uses the time-averaged "overshoot ratio"—the fraction of time the workload exceeds a threshold—as a proxy for the overshoot probability.
  2. Piecewise Approximation: The continuous bounding function $f(\gamma)$ is approximated using a piecewise-linear function $\bar{f}(\gamma)$ defined by a finite set of $M$ discrete burstiness levels.
Piecewise-linear approximation of the stochastic bounding function $f(\gamma)$ using $M$ discrete levels.

For every arriving packet, the regulator's algorithm evaluates the current overshoot ratio and selects the largest possible burstiness parameter $\sigma^*$ from the $M$ available options that does not violate the bounding function. This dynamic selection allows the regulator to be less restrictive when traffic is light and more conservative during bursts.

Key Results and Insights

The authors evaluated their algorithms using simulated traffic modeled as a G/G/1 queueing system. Their findings highlight several critical insights:

  • Granularity Reduces Delay: Increasing the number of discrete burstiness levels ($M$) actually decreases the average shaping delay. For instance, increasing $M$ from 10 to 56 reduced the average packet delay from 89 to 71 time units. More choices allow the regulator to apply the "minimum necessary" delay to satisfy the bound.
  • Computational Efficiency: The baseline algorithm operates at $O(M)$ complexity per packet. However, because the checks for each level are independent, they can be parallelized in hardware to achieve $O(1)$ complexity, making the design suitable for line-rate processing in high-speed network interfaces.
  • Robust Enforcement: The most advanced implementation (Algorithm 3) successfully guarantees zero violations of the stochastic bound for all time $t \ge 0$, effectively bridging the gap between theoretical stochastic calculus and practical traffic shaping.

Conclusion

This research provides a foundational tool for implementing stochastic network calculus in real-world systems. By converting complex probabilistic constraints into a manageable time-averaged metric and using dynamic parameter selection, the proposed stochastic regulator enables tighter delay guarantees without the massive over-provisioning required by deterministic models. Future work may explore deploying these regulators within internal network nodes to further optimize end-to-end performance.

Summary updated

BibTeX
@article{boroujeny2022design,
  author = {Massieh Kordi Boroujeny and Brian L. Mark},
  title = {{Design of a Stochastic Traffic Regulator for End-to-End Network Delay Guarantees}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2022},
  doi = {10.1109/tnet.2022.3181858},
}
Figure