Network-Calculus Service Curves of the Interleaved Regulator
Ludovic Thomas, Jean-Yves Le Boudec
TL;DR
The paper addresses whether network-calculus service curves can capture the Interleaved Regulator (IR) used in TSN. It shows that the IR can cause unbounded latencies when placed after a non-FIFO system and proves there is no context-agnostic service-curve model that explains the shaping-for-free property of the IR, though non-trivial, weak service-curve options exist. It establishes a strict service-curve for the aggregate and upper bounds for individual and long-run aggregate service curves, revealing a fundamental limit: for aggregates with at least four flows, the long-run service rate cannot exceed three times the per-flow contract rate. Collectively, these results delimit the applicability of service-curve-based analysis to the IR, guiding regulator modeling and end-to-end latency reasoning in TSN. The work highlights that while NC remains powerful for many TSN elements, the IR’s context-sensitive behavior resists a general, context-agnostic service-curve description, especially in non-FIFO contexts.
Abstract
The interleaved regulator (implemented by IEEE TSN Asynchronous Traffic Shaping) is used in time-sensitive networks for reshaping the flows with per-flow contracts. When applied to an aggregate of flows that come from a FIFO system, an interleaved regulator that reshapes the flows with their initial contracts does not increase the worst-case delay of the aggregate. This shaping-for-free property supports the computation of end-to-end latency bounds and the validation of the network's timing requirements. A common method to establish the properties of a network element is to obtain a network-calculus service-curve model. The existence of such a model for the interleaved regulator remains an open question. If a service-curve model were found for the interleaved regulator, then the analysis of this mechanism would no longer be limited to the situations where the shaping-for-free holds, which would widen its use in time-sensitive networks. In this paper, we investigate if network-calculus service curves can capture the behavior of the interleaved regulator. We find that an interleaved regulator placed outside of the shaping-for-free requirements (after a non-FIFO system) can yield unbounded latencies. Consequently, we prove that no network-calculus service curve exists to explain the interleaved regulator's behavior. It is still possible to find non-trivial service curves for the interleaved regulator. However, their long-term rate cannot be large enough to provide any guarantee (specifically, we prove that for the regulators that process at least four flows with the same contract, the long-term rate of any service curve is upper bounded by three times the rate of the per-flow contract).
