arXiv:2610.11999cs.NIOct 2026

Manuscript Offprint

arXiv:2610.11999

Decentralized Latency Models and Information Flow for TSN Shapers - A Tutorial

Alexej Grigorjew, Stefan Geissler, Jürgen Schmitt, Tobias Hossfeld

Alexej Grigorjew*, Stefan Geissler*, Jürgen Schmitt†, and Tobias Hossfeld*, Senior Member, IEEE

Abstract—Recent advancements in the fields of industrial automation and in-vehicle communication have also increased the requirements on their underlying networks. Traditional field bus technologies are being replaced by regular Ethernet devices with features from the IEEE Time-Sensitive Networking working group. Their standards are designed to achieve zero congestion loss and deterministic latency bounds, but the specific guarantees can differ depending on the shapers used and how the bounds are calculated. After several contributions to the standardization efforts, this work presents a number of decentralized latency models that can be applied locally on the switches, without requiring global knowledge from the rest of the network. It includes a formal definition of delay segments that allows to incorporate interoperability between different shapers and latency models in the future. It presents pseudo-code suggestions for the latency bounds computation of Strict Priority, Credit-Based Shaping, Asynchronous Traffic Shaping, and Cyclic Queuing and Forwarding, all of which can be applied locally on the devices. Finally, five models were implemented and evaluated with respect to their efficiency in terms of latency, jitter, and number of accepted streams. The results illustrate how different shapers are suited for different networks and traffic distributions.

Index Terms—Admission control, decentralized, deterministic networking, latency bounds, real-time networking, resource reservation, shaper comparison, Time-Sensitive Networking, TSN

I. INTRODUCTION

Real-time networking has recently become a major focus in scientific literature and standardization efforts. Real-time systems provide guaranteed transmissions with deterministic upper bounds on latency and jitter, which has been a critical requirement in industrial automation and in-vehicle communication for decades. Traditional field bus solutions providing deterministic guarantees are migrating to Ethernet-based networks to satisfy increasing bandwidth demands. However, these second-generation industrial Ethernet systems (e.g., EtherCAT, PROFINET) suffer from closed, proprietary, and homogeneous designs, making them incompatible and requiring gateways for inter-domain communication. Furthermore, unlike main Ethernet standards that scale with technology, proprietary systems often remain locked at their original transfer speeds.

To bridge these gaps, the third generation is being developed by the IEEE Time-Sensitive Networking (TSN) task group within the Ethernet ecosystem. Instead of proprietary solutions, TSN introduces openly standardized tools for regular Ethernet switches to enable converged networking, allowing Best-Effort and real-time traffic to coexist on shared infrastructure. These mechanisms encompass time synchronization, various shapers, transparent redundancy, and diverse configuration protocols. However, these are individual tools; their correct combination, implementation, and management are left to vendors and operators. While standard profiles suggest feature subsets for specific use cases (e.g., industrial automation [1]), they lack full-fledged communication system implementations comparable to legacy technologies.

Often, these individual tools are orchestrated by a Central Network Controller (CNC) [2] for resource management and switch configuration. A core CNC task is resource reservation and admission control based on accurate worst-case latency bounds for reserved streams. While many publications address worst-case latency computation for various shapers [3][4] targeting CNC use cases, their models typically require global topology and stream information. Latency models for decentralized systems are rare, and papers addressing protocol adaptation [5] to acquire this information are scarcer. Nevertheless, decentralized latency models offer significant benefits. Crucially, a solid decentralized mathematical foundation can foster true interoperability, i.e., guaranteeing latency across disparate technologies, which is essential for fully converged networking.

Figure 1 illustrates three scenarios highlighting the benefits of decentralized models. First, Fig. 1a depicts a fully decentralized setup where each switch manages its own allocations (colored areas) via decentralized control logic. This avoids the CNC single point of failure and accommodates heterogeneous switch architectures, where a single CNC might have trouble if the internal implementations are different from what it expects. Conversely, Fig. 1b uses two CNCs for separate TSN domains. Each domain is configured homogeneously by its CNC but may use different mechanisms. Here, the inter-domain link can leverage decentralized latency models for end-to-end guarantees. Finally, Fig. 1c shows a FRER (Frame Replication and Elimination for Reliability) [6] example. The green switch on the left replicates traffic for redundancy, and the red switch on the right eliminates duplicates. However, the remaining traffic can still exceed original burstiness [6, Sec. C.9], doubling downstream resource demands. Asynchronous Traffic Shaping (ATS) on the red node can mitigate this, but it is rarely implemented due to complex queuing requirements. Transitioning from other shapers to ATS momentarily solves this issue cost-effectively.

This work was partly funded by the Bavarian Ministry of Economic Affairs, Regional Development and Energy under grant number DIK0250/02 (project KOSINU5), and by the Deutsche Forschungsgesellschaft DFG (German Reasearch Agency) under grant number 316878574 (project SDN-App).

*Chair of Communication Networks, University of Wuerzburg, Germany

†Siemens AG, Germany

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

Figure

(a) Fully decentralized resource reservation

Figure

(b) Resource reservation between CNC domains

Figure

(c) Reshaping when merging redundant FRER streams

Fig. 1. Example use cases for decentralized and interoperable latency models

TABLE I NUMBER OF TAGGED PUBLICATIONS BY VENUE.

# PubsVenue
44IEEE Access
30IEEE Transactions on Industrial Informatics
10IEEE Transactions on Network and Service Management
5IEEE International Conference on Emerging Technologies and Factory Automation (ETFA)
5IEEE/ACM Transactions on Networking
4IEEE International Conference on Communications
4IEEE Transactions on Vehicular Technology
3IEEE Communications Surveys & Tutorials
3IEEE Global Communications Conference
3IEEE International Workshop on Factory Communication Systems (WFCS)
40Other (< 3 papers each)

Concurrently, the TSN group is developing the Resource Allocation Protocol (RAP) [7], a publish-subscribe reservation protocol for both centralized and decentralized systems. RAP announces streams, allows end devices to attach, and performs local latency calculations and configurations. To contribute to these efforts, this tutorial addresses the following research questions: (RQ1, Sec. VI) How can worst-case delay bounds be derived locally and decentralized, without global topology and stream knowledge? (RQ2, Sec. V) What information is required for local delay bound computation, and how is it acquired during reservation? (RQ3, Sec. IV&VIII) How can decentralized latency models facilitate shaper transitions in heterogeneous environments? (RQ4, Sec. VII) How can different latency models with varying assumptions be compared fairly without bias? (RQ5, Sec. VII) Which shaper is recommended for specific application scenarios?

The remainder of this work is structured as follows. Section II reviews related work and identifies the research gap. Section III introduces the notation, symbols, and terms. Section IV defines delay segments, which redefine the borders of responsibilities for switch, while Section V details the decentralized information flow. Section VI presents formal models and pseudo-code implementations for latency computation. Section VII evaluates their efficiency in an empirical reservation study. Finally, Section VIII provides a discussion and future outlook, and Section IX concludes the paper.

References (100)

Couldn't load all references. Reload the page to try again.