SlideShare a Scribd company logo
1 of 29
Download to read offline
2023-09-20&22 RNDM, Hamburg - 1
TSN timing QoS mechanisms:
what did we learn over the past
10 years?
Nicolas Navet
University of Luxembourg
Cognifyer - RTaW research labs
2023-09-20&22 RNDM, Hamburg - 2
Outline
1. Basics of TSN & TSN timing QoS
2. Main QoS policies: recap, use-cases, pros/cons, configuration issues
― Priorities
― Preemption
― Shaping policies : CBS and ATS
― Time-triggered communications with TAS
3. Conclusion & a look forward
Caveat:
• This presentation is geared toward TSN in automotive, aerospace and industrial
domains and may not be relevant for other application domains (data centers, telecom)
• Biased towards our own background & experience, other people in the TSN community
will have different views
2023-09-20&22 RNDM, Hamburg - 3
Time-Sensitive Networking in a nutshell
‒ TSN is the name of a “Task Group” that develops standards within IEEE 802.1:
base standards – with 802.1Q being the main one, amendments eventually integrated in base
standards and domain-specific profiles
‒ “Time-Sensitive Networking (TSN) is a collection of features in IEEE 802.1
standards that provide the following”:
‒ Time synchronization among bridges and end stations [AS-2020]
‒ Reduction in frame loss due to faults in network equipment or transmission [CB, Qci]
‒ Bounded latencies and jitters, elimination of frame loss due to egress port congestion
[802.1p, Qav, Qbv, Qcr, Qch, Qci]
‒ It is more than that! stream reservation, configuration mechanisms, network description
models (Yang), …
TSN mechanisms offer a lot of flexibility, they
- do not necessarily need to be implemented in HW
- can be used with non-TSN mechanisms
- can be applied only a subset of the network devices
- can be used with different parameters along a path
2023-09-20&22 RNDM, Hamburg - 4
TSN promise: mixed-criticality traffic on the same wire
‒ Toolbox of QoS mechanisms to address different timing requirements ✅
‒ But substantial network engineering needed for their selection and configuration!
‒ Additional complexity with fault-operational requirements: frame replication on
disjoint paths, traffic policing, redundant master clocks, ..
TSN is often used in complex systems such as vehicles that may have thousands
of mixed-criticality functions/services communicating with each other, several
displays, 10+ cameras, fault-operational requirements, …
[RTaW-Pegase
screenshot]
2023-09-20&22 RNDM, Hamburg - 5
Basics of TSN timing QoS
The TSN QoS machinery
Meeting Timing QoS = managing interfering traffic
2023-09-20&22 RNDM, Hamburg - 6
Traffic Classes and Priorities
‒ Streams are grouped by users into max. 8 Traffic Classes (TC) e.g. based on
functional domain, timing/safety/security constraints, …
‒ There is a priority associated to each traffic class (0 to 7, with 7 the highest)
‒ Each frame holds its priority, but network devices can change it locally
- HW implementation might differ
- In theory, there might be less queues
than priority levels, but we have not
seen that yet
- At an egress port, the
packets of a TC waiting
for transmission are all
stored in the same queue
- TSA: Transmission
Selection Algorithm
2023-09-20&22 RNDM, Hamburg - 7
Transmission Selection Algorithm (TSA)
‒ A “Transmission selection algorithm” (TSA) is associated to each queue of a port. It
decides the frame from this queue - if any - that can be transmitted
‒ TSA can be either “Strict priority”, “Credit-based shaper”, “Enhanced Transmission
Selection”, “ATS Transmission Selection”, or some vendor specific policy
‒ Each queue is controlled by a gate which is open or closed at any given time
‒ A priority scheduler selects for transmission the frame of the highest-priority traffic
class that has a frame ready for transmission and whose gate is open
Gate Control List (GCL)
The QoS
mechanisms are
applied in a
hierarchical manner
2023-09-20&22 RNDM, Hamburg - 8
Meeting Timing QoS = managing interfering traffic
Blocking
Reduction
Shaping
Priorities
Classes
Two classes:
Hard, Soft
e.g. 4 classes:
C&C, Audio,
Video, BE
CBS TAS
ATS Pre-emption
Interferences experienced by
a packet can be caused by:
‒ Lower-priority traffic
‒ Same-priority traffic
‒ Higher-priority traffic
Each TSN classes of mechanisms combats one or several types of interferences:
- priorities reduces lower-priority interference
- shaping reduces higher-priority and same-priority interferences
- blocking reduction reduces lower-priority interference
Ex: using preemption on an automotive ring backbone (3-hops max typically) at 1+Gbit/s
may not bring much benefits in terms of latencies for high-priority flows
Selection of the
mechanisms based on max
contributors to delays
2023-09-20&22 RNDM, Hamburg - 9
The 3 classes of timing QoS mechanisms
Blocking
Reduction
Shaping
Priorities
Classes
Two classes:
Hard, Soft
e.g. 4 classes:
C&C, Audio,
Video, BE
CBS TAS
ATS Pre-emption
Reduce
blocking caused
by lower priority
traffic
More bandwidth
for Best-Effort by
shaping bursty
traffic (e.g. video)
Streams’
prioritization to
reflect urgency
and/or criticality
deadlines,
safety
throughput,
memory
strong deadlines,
synchronization
Constraints typically
addressed:
Legend:
― CBS: Credit-Based Shaper [Qav]
― TAS: Time-Aware-Shaper [Qbv]
― Pre-emption [Qbu]
― ATS: Asynchronous Traffic Shaper [Qcr]
Not in the picture:
- CQF: Cyclic Queuing and Forwarding [Qch]
- ETS: Enhanced Transmission Selection
[Qaz]
2023-09-20&22 RNDM, Hamburg - 10
Relevant TSN standards
Standard’s name Also known as nb
Strict Priority IEEE 802.1p – 1998 –
Forward and Queueing for Time-
Sensitive Streams (FQTSS)
IEEE 802.1Qav – 2009 Credit Based Shaper (CBS)
Enhancement for Scheduled Traffic IEEE 802.1Qbv – 2015 Time Aware Shaper (TAS)
Frame Preemption
IEEE 802.1Qbu – 2016 &
IEEE 802.3br – 2016
–
Cyclic Queuing & Forwarding (CQF)
IEEE 802.1Qch – 2017 /
peristaltic shaper
–
Asynchronous Traffic Shaping (ATS) IEEE 802.1Qcr – 2020 –
‒ Can be used in a combined manner, a certain QoS mechanism is applied to each TC
‒ May have an important impact on memory usage
All mechanisms in
IEEE 802.1Q-2022
2023-09-20&22 RNDM, Hamburg - 11
Criteria in the choice of a TSN QoS solution
‒ Meeting timing (deadlines, jitters, synchronization) & reliability constraints for
each of the flow
‒ Max memory available in network devices
‒ Meeting network interfaces & bridge ports capabilities: delays, TSN support,
memory (# of GCL), ….
‒ CPU overhead in end-systems in case of SW implemented mechanisms
‒ Network robustness wrt to departure from assumptions
‒ Evolutivity: e.g., adding streams without global re-configuration
‒ …
Multi-dimensional problem that can be solved
with DSE algorithms (e.g., RTaW’s ZeroConfig-TSN).
Further research could lead to optimal solutions.
2023-09-20&22 RNDM, Hamburg - 12
The use of priorities
The cornerstone of timing QoS
2023-09-20&22 RNDM, Hamburg - 13
Assigning static priorities to flows
Pros Limits Configuration
‒ Only 8 priority levels, not
fine-grained enough for
certain applications
‒ “Starvation” can happen at
lowest priority levels with
high priority bursty traffic
‒ Does not protect against
some of the lower-priority
interferences (“blocking
factor”)
‒ Optimal (schedulability-
wise) priority assignment
algorithm in O(n2) ✅
‒ Extensions for:
‒ safety/security
constraints,
‒ reserved priority levels,
‒ streams from same
functional domain at
same priority level
‒ …
‒ Simple to use
‒ Efficient at the highest
priority level for deadlines
‒ Can be combined with
shaping & blocking
reduction techniques
The use of dynamic priorities, technically
feasible, is still mostly unexplored
2023-09-20&22 RNDM, Hamburg - 14
Frame Preemption
―Is a blocking reduction strategy
―Reduce by a factor 10 the “blocking factor” at each hop (i.e., max. delay
caused by a low priority frame under transmission)
―Provide a performance boost for all TSN scheduling solutions
―Less effective in high-speed networks with a small # of hops
2023-09-20&22 RNDM, Hamburg - 15
Shaping Fundamentals
Why do Shaping?
What can be expected from Shaping?
2023-09-20&22 RNDM, Hamburg - 16
CBS on the first hop applied to a video stream (VD2) sent by CAM1
‒ Shapers insert time gaps between packets of bursty streams, thereby increasing
their latencies
‒ Lower priority packets can take advantage of the gaps to get transmitted, thereby
decreasing their average latencies
Shapers basics (1/2)
Shaping tends to not be effective on
highly loaded links as gaps will be
small, and will be filled by higher
priority packets
[RTaW-Pegase
screenshot]
2023-09-20&22 RNDM, Hamburg - 17
Impact of shaping on max. memory usage
Illustration on a approx. 1000 streams helicopter avionics network
Egress ports (interfaces, switches)
▪ Shaping, SW-implemented per-
stream here, reduces average
memory usage by 80% here
▪ Total memory usage per switch: up
to 568KB without shaping vs 168KB
with shaping
▪ Priorities do not reduce overall
memory usage over FIFO
▪ CBS performs well wrt memory too
Max
memory
usage
(bytes)
Priorities / no shaping
FIFO / no shaping
Priorities / pre-shaping
(inserting idle times between packets
of segmented messages)
DASC 2021 - © Airbus Helicopters, RTaW, UL & Cognifyer
Shaping can be effective even if not
done end-to-end and system-wide!
For instance, it can be done only in
end-nodes (as here) or only in bridges
[RTaW-Pegase screenshot]
2023-09-20&22 RNDM, Hamburg - 18
Credit Based Shaper (CBS)
aka Forwarding and Queuing Enhancements for Time-Sensitive Streams
(FQTSS)
Introduced for Audio/Video Bridging (AVB)
2023-09-20&22 RNDM, Hamburg - 19
CBS scheduling rules
The 3 frames on top belong to the same CBS-shaped class
a) Head of the queue frame becomes eligible as soon as credit ≥ 0.
b) During transmission credit decreases with sendSlope = idleSlope – lineRate.
c) While credit is negative, it increases with idleSlope.
d) While frames are waiting and no frame of the class is being transmitted, the credit
increases at rate idleSlope.
e) If credit > 0, no frames are waiting, and no frame is being transmitted, the credit is
reduced to 0.
(a) (a) (a) (e)
(d)
(b)
(b)
(b)
(c) (c)
(d)
credit
0
Each TC has a
transmission
credit
Slide from “What are the relevant differences between Asynchronous (ATS) and Credit Based (CBS) Shaper?”, M. Turner, J. Migge, TSN/A Conference, 2023.
Re-used with permission.
2023-09-20&22 RNDM, Hamburg - 20
CBS effects on streams that come in shaped
Video streams arrives already shaped at switch1, thus the round-robin transmission
Best-effort packets get transmitted despite the heavy traffic
CBS on the second link applied to several video streams incl. VD2
[RTaW-Pegase
screenshot]
2023-09-20&22 RNDM, Hamburg - 21
CBS : strong for shaping, less so for real-time constraints
Pros Limits Configuration
‒ Not a QoS policy for traffic
with strong deadlines
‒ Coarse-grained shaper:
per class and not per
stream filtering
‒ Additional per-stream
pre-shaping (at sender
only) such as T-Spec can
be needed to avoid bursts
from the same streams
within the CBS classes
‒ Near-optimal (shaping-
wise) algorithms for most
practical use-cases ✅
‒ Configuration with
standard AVB parameters
(SR A, SR B) suited for
plug & play use-cases
‒ Precision of the response
time analyses ?
‒ Effective in reducing the
latencies for lower
priority traffic
‒ Memory usage reduction
‒ HW implementation in all
TSN network devices
‒ No need for a global clock
CBS is seemingly
simple to use!
2023-09-20&22 RNDM, Hamburg - 22
Asynchronous Traffic
Shaper (ATS)
A shaper that is more versatile than CBS
2023-09-20&22 RNDM, Hamburg - 23
A primer on ATS Token buckets determine
the eligibility time of the
packets
Configuration options:
• 1 queue for a single flow
• 1 queue for a single group (= 1
input port + 1 output port + 1 priority
level)
• 1 queue for several flows of
the same group
All packets whose eligibility
time < current time
The “theoretical model” [1] - HW implementation might differ
[1] From: Marc Boyer. Equivalence between the theoretical model and the standard algorithm of Asynchronous Traffic Shaping. 2022. hal-03788302
There is one “ATS scheduler” per shaped queue
whose role it to compute the eligibility time
Ordered by eligibility times
1 per TC
2023-09-20&22 RNDM, Hamburg - 24
ATS Scheduling Rules – zoom in on single shaped queue
a) The head of the line frame is set eligible, as soon as the virtual credit ≥ frame’s size
b) Virtual credit is decreased at eligibility time (not transmission time) by frame’s size
c) Virtual credit increases continuously with Committed Information Rate
d) if the credit reaches the Committed Burst Size, it is capped at Committed Burst Size
(a)
(a)
(a)
(b) (b) (b)
(c) (c) (c)
(d) (d)
Committed Burst Size
virtual
credit
0
Slide from “What are the relevant differences between Asynchronous (ATS) and Credit Based (CBS) Shaper?”, M. Turner, J. Migge, TSN/A Conference, 2023.
Re-used with permission.
The 3 frames on top belong to the same ATS scheduler
“Virtual Credit” of an ATS
schedule = # of bits in the
token bucket at time t
2023-09-20&22 RNDM, Hamburg - 25
ATS : more powerful than CBS
Pros Limits Configuration
‒ Complex!
‒ First HW implementations
available and no industry
ROI yet
‒ Less effective than CBS
for reducing lower-priority
traffic latencies because
of (small) bursts of ATS-
shaped packets
‒ Cannot fully emulate CBS
‒ Practical use-cases
known so far covered by
heuristics
‒ Precision of the response
time analyses ?
‒ Fine-grained shaper:
possibly per stream
shaping at each hop
‒ Offer new trade-offs
between real-time and
shaping capabilities
‒ No need for a global clock
ATS is an emerging
technology and the
TSN community is still
learning how to use it
2023-09-20&22 RNDM, Hamburg - 26
Time-Aware Shaper (TAS)
Time-triggered communication in TSN on a per-class (not per-flow) basis
Blocking reduction through reserved transmission windows
2023-09-20&22 RNDM, Hamburg - 27
A primer on TAS
‒ The state of the transmission gate associated with each queue (“Open” or
“Closed”) determines whether a frame from a given queue can be selected
for transmission
‒ The Gate Control List (GCL) associated with each port contains an ordered
list of gate operations. It defines a schedule that is executed in cycle at run-
time
A head of queue frame is
eligible for transmission if
the transmission gate is in
the open state and there is
sufficient time left to
transmit the entirety of that
frame
“Exclusive gating”:
some TCs with
critical flows are
given exclusive
link access during
their transmission
windows
From [802.1Q §8.6.8.4]
2023-09-20&22 RNDM, Hamburg - 28
TAS : only as good the configuration algorithm
Pros Limits Configuration
‒ Per-class shaping and not per
stream shaping → jitters
‒ Manual construction of comm.
schedules unfeasible except for
a few flows
‒ Task schedule must be tailored
to communication schedule for
best performances
‒ Clock synchronization needed
‒ Bandwidth utilization not
optimal
‒ NP-hard problem
‒ Heuristics reasonably
good for exclusive gating
‒ Tight timing constraints
can be met (deadline,
synchronization)
‒ Timing verification is
easier, timing behavior is
close to deterministic
‒ Support bandwidth-
sharing use-cases as well
(e.g., 1ms every 10ms is
reserved to an Android
partition)
TAS is well suited for
certain use-cases (e.g.,
control loops) but at
the expense of a strong
coupling between SW
and communication.
Other use-cases may
emerge.
2023-09-20&22 RNDM, Hamburg - 29
TSN QoS for embedded networks: a consolidating landscape
Topics for further research:
DSE, ATS, local use of TSN
mechanisms, per-hop shaping
mechanisms, HW heterogeneity,
dynamically evolving QoS
parameters, verification
techniques for complex traffic
patterns (e.g., TCP)…
Use-cases well served by the
different QoS policies are
progressively identified .. still
configuration remains a challenge for
the practitioners and requires
complex tooling
We see 2 approaches to QoS configuration:
― Automated black-box approaches: from
goals & constraints to device config. files
― “Explainable” configuration based on best
practices and scheduling theory results
Ongoing work: Cut-Through
Forwarding, a generic speed-up
feature like preemption

More Related Content

Similar to TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years?

ZTE (3GPP Specification Evolution).ppt
ZTE (3GPP Specification Evolution).pptZTE (3GPP Specification Evolution).ppt
ZTE (3GPP Specification Evolution).pptabasabdallha
 
Quality of Service for Video Streaming using EDCA in MANET
Quality of Service for Video Streaming using EDCA in MANETQuality of Service for Video Streaming using EDCA in MANET
Quality of Service for Video Streaming using EDCA in MANETijsrd.com
 
An improved radio_resource_management_wi
An improved radio_resource_management_wiAn improved radio_resource_management_wi
An improved radio_resource_management_wiMd.Akm Sahansha
 
A survey of multimedia streaming in
A survey of multimedia streaming inA survey of multimedia streaming in
A survey of multimedia streaming inIJCNCJournal
 
Swayambhoo Presentation (2)
Swayambhoo Presentation (2)Swayambhoo Presentation (2)
Swayambhoo Presentation (2)swayambhoo
 
IRJET-A Survey on congestion control with TCP network
IRJET-A Survey on congestion control with TCP networkIRJET-A Survey on congestion control with TCP network
IRJET-A Survey on congestion control with TCP networkIRJET Journal
 
Optical network evolution
Optical network evolutionOptical network evolution
Optical network evolutionCPqD
 
Options for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulOptions for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulADVA
 
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s EverywhereData Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s EverywhereXi'an Jiaotong-Liverpool University
 
Optical Networks Infrastructure
Optical Networks InfrastructureOptical Networks Infrastructure
Optical Networks InfrastructureTal Lavian Ph.D.
 
Unit 5-Performance and Trafficmanagement.pptx
Unit 5-Performance and Trafficmanagement.pptxUnit 5-Performance and Trafficmanagement.pptx
Unit 5-Performance and Trafficmanagement.pptxABYTHOMAS46
 
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORKENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORKijngnjournal
 
A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...
A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...
A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...Wendy Hager
 
Pbt article packet-optical-integration_vishal_05-08-12
Pbt article packet-optical-integration_vishal_05-08-12Pbt article packet-optical-integration_vishal_05-08-12
Pbt article packet-optical-integration_vishal_05-08-12Vishal Sharma, Ph.D.
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsQueen's University
 
Comtech advanced backhaul_solutions-rio_nov_2012
Comtech advanced backhaul_solutions-rio_nov_2012Comtech advanced backhaul_solutions-rio_nov_2012
Comtech advanced backhaul_solutions-rio_nov_2012SSPI Brasil
 
wireless sensor network
wireless sensor networkwireless sensor network
wireless sensor networkA. Shamel
 

Similar to TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years? (20)

ZTE (3GPP Specification Evolution).ppt
ZTE (3GPP Specification Evolution).pptZTE (3GPP Specification Evolution).ppt
ZTE (3GPP Specification Evolution).ppt
 
Quality of Service for Video Streaming using EDCA in MANET
Quality of Service for Video Streaming using EDCA in MANETQuality of Service for Video Streaming using EDCA in MANET
Quality of Service for Video Streaming using EDCA in MANET
 
An improved radio_resource_management_wi
An improved radio_resource_management_wiAn improved radio_resource_management_wi
An improved radio_resource_management_wi
 
A survey of multimedia streaming in
A survey of multimedia streaming inA survey of multimedia streaming in
A survey of multimedia streaming in
 
Swayambhoo Presentation (2)
Swayambhoo Presentation (2)Swayambhoo Presentation (2)
Swayambhoo Presentation (2)
 
IRJET-A Survey on congestion control with TCP network
IRJET-A Survey on congestion control with TCP networkIRJET-A Survey on congestion control with TCP network
IRJET-A Survey on congestion control with TCP network
 
Optical network evolution
Optical network evolutionOptical network evolution
Optical network evolution
 
Options for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulOptions for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaul
 
Technical seminar
Technical seminarTechnical seminar
Technical seminar
 
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s EverywhereData Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
 
Optical Networks Infrastructure
Optical Networks InfrastructureOptical Networks Infrastructure
Optical Networks Infrastructure
 
Unit 5-Performance and Trafficmanagement.pptx
Unit 5-Performance and Trafficmanagement.pptxUnit 5-Performance and Trafficmanagement.pptx
Unit 5-Performance and Trafficmanagement.pptx
 
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORKENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK
 
A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...
A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...
A New MultiChannel MAC Protocol With On-Demand Channel Assignment For Multi-H...
 
Pbt article packet-optical-integration_vishal_05-08-12
Pbt article packet-optical-integration_vishal_05-08-12Pbt article packet-optical-integration_vishal_05-08-12
Pbt article packet-optical-integration_vishal_05-08-12
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication Systems
 
Comtech advanced backhaul_solutions-rio_nov_2012
Comtech advanced backhaul_solutions-rio_nov_2012Comtech advanced backhaul_solutions-rio_nov_2012
Comtech advanced backhaul_solutions-rio_nov_2012
 
ShortPaper
ShortPaperShortPaper
ShortPaper
 
wireless sensor network
wireless sensor networkwireless sensor network
wireless sensor network
 
UDT
UDTUDT
UDT
 

More from RealTime-at-Work (RTaW)

What are the relevant differences between Asynchronous (ATS) and Credit Based...
What are the relevant differences between Asynchronous (ATS) and Credit Based...What are the relevant differences between Asynchronous (ATS) and Credit Based...
What are the relevant differences between Asynchronous (ATS) and Credit Based...RealTime-at-Work (RTaW)
 
Time-Predictable Communication in Service-Oriented Architecture - What are th...
Time-Predictable Communication in Service-Oriented Architecture - What are th...Time-Predictable Communication in Service-Oriented Architecture - What are th...
Time-Predictable Communication in Service-Oriented Architecture - What are th...RealTime-at-Work (RTaW)
 
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...RealTime-at-Work (RTaW)
 
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...RealTime-at-Work (RTaW)
 
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...RealTime-at-Work (RTaW)
 
Practical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet RedundancyPractical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet RedundancyRealTime-at-Work (RTaW)
 
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignTowards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignRealTime-at-Work (RTaW)
 
Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...RealTime-at-Work (RTaW)
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...RealTime-at-Work (RTaW)
 
Insights on the Configuration and Performances of SOME/IP Service Discovery
Insights on the Configuration and Performances of SOME/IP Service DiscoveryInsights on the Configuration and Performances of SOME/IP Service Discovery
Insights on the Configuration and Performances of SOME/IP Service DiscoveryRealTime-at-Work (RTaW)
 
Timing verification of automotive communication architecture using quantile ...
Timing verification of automotive communication  architecture using quantile ...Timing verification of automotive communication  architecture using quantile ...
Timing verification of automotive communication architecture using quantile ...RealTime-at-Work (RTaW)
 
CAN in Automotive Applications: a Look Forward
CAN in Automotive Applications: a Look ForwardCAN in Automotive Applications: a Look Forward
CAN in Automotive Applications: a Look ForwardRealTime-at-Work (RTaW)
 
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...RealTime-at-Work (RTaW)
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityRealTime-at-Work (RTaW)
 
Frame latency evaluation: when simulation and analysis alone are not enough
Frame latency evaluation: when simulation and analysis alone are not enoughFrame latency evaluation: when simulation and analysis alone are not enough
Frame latency evaluation: when simulation and analysis alone are not enoughRealTime-at-Work (RTaW)
 
Virtualization in Automotive Embedded Systems: an Outlook
Virtualization in Automotive Embedded Systems: an OutlookVirtualization in Automotive Embedded Systems: an Outlook
Virtualization in Automotive Embedded Systems: an OutlookRealTime-at-Work (RTaW)
 
In‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardIn‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardRealTime-at-Work (RTaW)
 

More from RealTime-at-Work (RTaW) (20)

What are the relevant differences between Asynchronous (ATS) and Credit Based...
What are the relevant differences between Asynchronous (ATS) and Credit Based...What are the relevant differences between Asynchronous (ATS) and Credit Based...
What are the relevant differences between Asynchronous (ATS) and Credit Based...
 
Time-Predictable Communication in Service-Oriented Architecture - What are th...
Time-Predictable Communication in Service-Oriented Architecture - What are th...Time-Predictable Communication in Service-Oriented Architecture - What are th...
Time-Predictable Communication in Service-Oriented Architecture - What are th...
 
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
 
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalabil...
 
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
 
Practical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet RedundancyPractical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet Redundancy
 
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignTowards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
 
Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...
 
Insights on the Configuration and Performances of SOME/IP Service Discovery
Insights on the Configuration and Performances of SOME/IP Service DiscoveryInsights on the Configuration and Performances of SOME/IP Service Discovery
Insights on the Configuration and Performances of SOME/IP Service Discovery
 
Timing verification of automotive communication architecture using quantile ...
Timing verification of automotive communication  architecture using quantile ...Timing verification of automotive communication  architecture using quantile ...
Timing verification of automotive communication architecture using quantile ...
 
CAN in Automotive Applications: a Look Forward
CAN in Automotive Applications: a Look ForwardCAN in Automotive Applications: a Look Forward
CAN in Automotive Applications: a Look Forward
 
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to security
 
What fUML can bring to MBSE?
What fUML can bring to MBSE?What fUML can bring to MBSE?
What fUML can bring to MBSE?
 
Multicore scheduling in automotive ECUs
Multicore scheduling in automotive ECUsMulticore scheduling in automotive ECUs
Multicore scheduling in automotive ECUs
 
Frame latency evaluation: when simulation and analysis alone are not enough
Frame latency evaluation: when simulation and analysis alone are not enoughFrame latency evaluation: when simulation and analysis alone are not enough
Frame latency evaluation: when simulation and analysis alone are not enough
 
Virtualization in Automotive Embedded Systems: an Outlook
Virtualization in Automotive Embedded Systems: an OutlookVirtualization in Automotive Embedded Systems: an Outlook
Virtualization in Automotive Embedded Systems: an Outlook
 
Prototypage virtuel à partir de SysML
Prototypage virtuel à partir de SysMLPrototypage virtuel à partir de SysML
Prototypage virtuel à partir de SysML
 
In‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardIn‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look Forward
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 

TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years?

  • 1. 2023-09-20&22 RNDM, Hamburg - 1 TSN timing QoS mechanisms: what did we learn over the past 10 years? Nicolas Navet University of Luxembourg Cognifyer - RTaW research labs
  • 2. 2023-09-20&22 RNDM, Hamburg - 2 Outline 1. Basics of TSN & TSN timing QoS 2. Main QoS policies: recap, use-cases, pros/cons, configuration issues ― Priorities ― Preemption ― Shaping policies : CBS and ATS ― Time-triggered communications with TAS 3. Conclusion & a look forward Caveat: • This presentation is geared toward TSN in automotive, aerospace and industrial domains and may not be relevant for other application domains (data centers, telecom) • Biased towards our own background & experience, other people in the TSN community will have different views
  • 3. 2023-09-20&22 RNDM, Hamburg - 3 Time-Sensitive Networking in a nutshell ‒ TSN is the name of a “Task Group” that develops standards within IEEE 802.1: base standards – with 802.1Q being the main one, amendments eventually integrated in base standards and domain-specific profiles ‒ “Time-Sensitive Networking (TSN) is a collection of features in IEEE 802.1 standards that provide the following”: ‒ Time synchronization among bridges and end stations [AS-2020] ‒ Reduction in frame loss due to faults in network equipment or transmission [CB, Qci] ‒ Bounded latencies and jitters, elimination of frame loss due to egress port congestion [802.1p, Qav, Qbv, Qcr, Qch, Qci] ‒ It is more than that! stream reservation, configuration mechanisms, network description models (Yang), … TSN mechanisms offer a lot of flexibility, they - do not necessarily need to be implemented in HW - can be used with non-TSN mechanisms - can be applied only a subset of the network devices - can be used with different parameters along a path
  • 4. 2023-09-20&22 RNDM, Hamburg - 4 TSN promise: mixed-criticality traffic on the same wire ‒ Toolbox of QoS mechanisms to address different timing requirements ✅ ‒ But substantial network engineering needed for their selection and configuration! ‒ Additional complexity with fault-operational requirements: frame replication on disjoint paths, traffic policing, redundant master clocks, .. TSN is often used in complex systems such as vehicles that may have thousands of mixed-criticality functions/services communicating with each other, several displays, 10+ cameras, fault-operational requirements, … [RTaW-Pegase screenshot]
  • 5. 2023-09-20&22 RNDM, Hamburg - 5 Basics of TSN timing QoS The TSN QoS machinery Meeting Timing QoS = managing interfering traffic
  • 6. 2023-09-20&22 RNDM, Hamburg - 6 Traffic Classes and Priorities ‒ Streams are grouped by users into max. 8 Traffic Classes (TC) e.g. based on functional domain, timing/safety/security constraints, … ‒ There is a priority associated to each traffic class (0 to 7, with 7 the highest) ‒ Each frame holds its priority, but network devices can change it locally - HW implementation might differ - In theory, there might be less queues than priority levels, but we have not seen that yet - At an egress port, the packets of a TC waiting for transmission are all stored in the same queue - TSA: Transmission Selection Algorithm
  • 7. 2023-09-20&22 RNDM, Hamburg - 7 Transmission Selection Algorithm (TSA) ‒ A “Transmission selection algorithm” (TSA) is associated to each queue of a port. It decides the frame from this queue - if any - that can be transmitted ‒ TSA can be either “Strict priority”, “Credit-based shaper”, “Enhanced Transmission Selection”, “ATS Transmission Selection”, or some vendor specific policy ‒ Each queue is controlled by a gate which is open or closed at any given time ‒ A priority scheduler selects for transmission the frame of the highest-priority traffic class that has a frame ready for transmission and whose gate is open Gate Control List (GCL) The QoS mechanisms are applied in a hierarchical manner
  • 8. 2023-09-20&22 RNDM, Hamburg - 8 Meeting Timing QoS = managing interfering traffic Blocking Reduction Shaping Priorities Classes Two classes: Hard, Soft e.g. 4 classes: C&C, Audio, Video, BE CBS TAS ATS Pre-emption Interferences experienced by a packet can be caused by: ‒ Lower-priority traffic ‒ Same-priority traffic ‒ Higher-priority traffic Each TSN classes of mechanisms combats one or several types of interferences: - priorities reduces lower-priority interference - shaping reduces higher-priority and same-priority interferences - blocking reduction reduces lower-priority interference Ex: using preemption on an automotive ring backbone (3-hops max typically) at 1+Gbit/s may not bring much benefits in terms of latencies for high-priority flows Selection of the mechanisms based on max contributors to delays
  • 9. 2023-09-20&22 RNDM, Hamburg - 9 The 3 classes of timing QoS mechanisms Blocking Reduction Shaping Priorities Classes Two classes: Hard, Soft e.g. 4 classes: C&C, Audio, Video, BE CBS TAS ATS Pre-emption Reduce blocking caused by lower priority traffic More bandwidth for Best-Effort by shaping bursty traffic (e.g. video) Streams’ prioritization to reflect urgency and/or criticality deadlines, safety throughput, memory strong deadlines, synchronization Constraints typically addressed: Legend: ― CBS: Credit-Based Shaper [Qav] ― TAS: Time-Aware-Shaper [Qbv] ― Pre-emption [Qbu] ― ATS: Asynchronous Traffic Shaper [Qcr] Not in the picture: - CQF: Cyclic Queuing and Forwarding [Qch] - ETS: Enhanced Transmission Selection [Qaz]
  • 10. 2023-09-20&22 RNDM, Hamburg - 10 Relevant TSN standards Standard’s name Also known as nb Strict Priority IEEE 802.1p – 1998 – Forward and Queueing for Time- Sensitive Streams (FQTSS) IEEE 802.1Qav – 2009 Credit Based Shaper (CBS) Enhancement for Scheduled Traffic IEEE 802.1Qbv – 2015 Time Aware Shaper (TAS) Frame Preemption IEEE 802.1Qbu – 2016 & IEEE 802.3br – 2016 – Cyclic Queuing & Forwarding (CQF) IEEE 802.1Qch – 2017 / peristaltic shaper – Asynchronous Traffic Shaping (ATS) IEEE 802.1Qcr – 2020 – ‒ Can be used in a combined manner, a certain QoS mechanism is applied to each TC ‒ May have an important impact on memory usage All mechanisms in IEEE 802.1Q-2022
  • 11. 2023-09-20&22 RNDM, Hamburg - 11 Criteria in the choice of a TSN QoS solution ‒ Meeting timing (deadlines, jitters, synchronization) & reliability constraints for each of the flow ‒ Max memory available in network devices ‒ Meeting network interfaces & bridge ports capabilities: delays, TSN support, memory (# of GCL), …. ‒ CPU overhead in end-systems in case of SW implemented mechanisms ‒ Network robustness wrt to departure from assumptions ‒ Evolutivity: e.g., adding streams without global re-configuration ‒ … Multi-dimensional problem that can be solved with DSE algorithms (e.g., RTaW’s ZeroConfig-TSN). Further research could lead to optimal solutions.
  • 12. 2023-09-20&22 RNDM, Hamburg - 12 The use of priorities The cornerstone of timing QoS
  • 13. 2023-09-20&22 RNDM, Hamburg - 13 Assigning static priorities to flows Pros Limits Configuration ‒ Only 8 priority levels, not fine-grained enough for certain applications ‒ “Starvation” can happen at lowest priority levels with high priority bursty traffic ‒ Does not protect against some of the lower-priority interferences (“blocking factor”) ‒ Optimal (schedulability- wise) priority assignment algorithm in O(n2) ✅ ‒ Extensions for: ‒ safety/security constraints, ‒ reserved priority levels, ‒ streams from same functional domain at same priority level ‒ … ‒ Simple to use ‒ Efficient at the highest priority level for deadlines ‒ Can be combined with shaping & blocking reduction techniques The use of dynamic priorities, technically feasible, is still mostly unexplored
  • 14. 2023-09-20&22 RNDM, Hamburg - 14 Frame Preemption ―Is a blocking reduction strategy ―Reduce by a factor 10 the “blocking factor” at each hop (i.e., max. delay caused by a low priority frame under transmission) ―Provide a performance boost for all TSN scheduling solutions ―Less effective in high-speed networks with a small # of hops
  • 15. 2023-09-20&22 RNDM, Hamburg - 15 Shaping Fundamentals Why do Shaping? What can be expected from Shaping?
  • 16. 2023-09-20&22 RNDM, Hamburg - 16 CBS on the first hop applied to a video stream (VD2) sent by CAM1 ‒ Shapers insert time gaps between packets of bursty streams, thereby increasing their latencies ‒ Lower priority packets can take advantage of the gaps to get transmitted, thereby decreasing their average latencies Shapers basics (1/2) Shaping tends to not be effective on highly loaded links as gaps will be small, and will be filled by higher priority packets [RTaW-Pegase screenshot]
  • 17. 2023-09-20&22 RNDM, Hamburg - 17 Impact of shaping on max. memory usage Illustration on a approx. 1000 streams helicopter avionics network Egress ports (interfaces, switches) ▪ Shaping, SW-implemented per- stream here, reduces average memory usage by 80% here ▪ Total memory usage per switch: up to 568KB without shaping vs 168KB with shaping ▪ Priorities do not reduce overall memory usage over FIFO ▪ CBS performs well wrt memory too Max memory usage (bytes) Priorities / no shaping FIFO / no shaping Priorities / pre-shaping (inserting idle times between packets of segmented messages) DASC 2021 - © Airbus Helicopters, RTaW, UL & Cognifyer Shaping can be effective even if not done end-to-end and system-wide! For instance, it can be done only in end-nodes (as here) or only in bridges [RTaW-Pegase screenshot]
  • 18. 2023-09-20&22 RNDM, Hamburg - 18 Credit Based Shaper (CBS) aka Forwarding and Queuing Enhancements for Time-Sensitive Streams (FQTSS) Introduced for Audio/Video Bridging (AVB)
  • 19. 2023-09-20&22 RNDM, Hamburg - 19 CBS scheduling rules The 3 frames on top belong to the same CBS-shaped class a) Head of the queue frame becomes eligible as soon as credit ≥ 0. b) During transmission credit decreases with sendSlope = idleSlope – lineRate. c) While credit is negative, it increases with idleSlope. d) While frames are waiting and no frame of the class is being transmitted, the credit increases at rate idleSlope. e) If credit > 0, no frames are waiting, and no frame is being transmitted, the credit is reduced to 0. (a) (a) (a) (e) (d) (b) (b) (b) (c) (c) (d) credit 0 Each TC has a transmission credit Slide from “What are the relevant differences between Asynchronous (ATS) and Credit Based (CBS) Shaper?”, M. Turner, J. Migge, TSN/A Conference, 2023. Re-used with permission.
  • 20. 2023-09-20&22 RNDM, Hamburg - 20 CBS effects on streams that come in shaped Video streams arrives already shaped at switch1, thus the round-robin transmission Best-effort packets get transmitted despite the heavy traffic CBS on the second link applied to several video streams incl. VD2 [RTaW-Pegase screenshot]
  • 21. 2023-09-20&22 RNDM, Hamburg - 21 CBS : strong for shaping, less so for real-time constraints Pros Limits Configuration ‒ Not a QoS policy for traffic with strong deadlines ‒ Coarse-grained shaper: per class and not per stream filtering ‒ Additional per-stream pre-shaping (at sender only) such as T-Spec can be needed to avoid bursts from the same streams within the CBS classes ‒ Near-optimal (shaping- wise) algorithms for most practical use-cases ✅ ‒ Configuration with standard AVB parameters (SR A, SR B) suited for plug & play use-cases ‒ Precision of the response time analyses ? ‒ Effective in reducing the latencies for lower priority traffic ‒ Memory usage reduction ‒ HW implementation in all TSN network devices ‒ No need for a global clock CBS is seemingly simple to use!
  • 22. 2023-09-20&22 RNDM, Hamburg - 22 Asynchronous Traffic Shaper (ATS) A shaper that is more versatile than CBS
  • 23. 2023-09-20&22 RNDM, Hamburg - 23 A primer on ATS Token buckets determine the eligibility time of the packets Configuration options: • 1 queue for a single flow • 1 queue for a single group (= 1 input port + 1 output port + 1 priority level) • 1 queue for several flows of the same group All packets whose eligibility time < current time The “theoretical model” [1] - HW implementation might differ [1] From: Marc Boyer. Equivalence between the theoretical model and the standard algorithm of Asynchronous Traffic Shaping. 2022. hal-03788302 There is one “ATS scheduler” per shaped queue whose role it to compute the eligibility time Ordered by eligibility times 1 per TC
  • 24. 2023-09-20&22 RNDM, Hamburg - 24 ATS Scheduling Rules – zoom in on single shaped queue a) The head of the line frame is set eligible, as soon as the virtual credit ≥ frame’s size b) Virtual credit is decreased at eligibility time (not transmission time) by frame’s size c) Virtual credit increases continuously with Committed Information Rate d) if the credit reaches the Committed Burst Size, it is capped at Committed Burst Size (a) (a) (a) (b) (b) (b) (c) (c) (c) (d) (d) Committed Burst Size virtual credit 0 Slide from “What are the relevant differences between Asynchronous (ATS) and Credit Based (CBS) Shaper?”, M. Turner, J. Migge, TSN/A Conference, 2023. Re-used with permission. The 3 frames on top belong to the same ATS scheduler “Virtual Credit” of an ATS schedule = # of bits in the token bucket at time t
  • 25. 2023-09-20&22 RNDM, Hamburg - 25 ATS : more powerful than CBS Pros Limits Configuration ‒ Complex! ‒ First HW implementations available and no industry ROI yet ‒ Less effective than CBS for reducing lower-priority traffic latencies because of (small) bursts of ATS- shaped packets ‒ Cannot fully emulate CBS ‒ Practical use-cases known so far covered by heuristics ‒ Precision of the response time analyses ? ‒ Fine-grained shaper: possibly per stream shaping at each hop ‒ Offer new trade-offs between real-time and shaping capabilities ‒ No need for a global clock ATS is an emerging technology and the TSN community is still learning how to use it
  • 26. 2023-09-20&22 RNDM, Hamburg - 26 Time-Aware Shaper (TAS) Time-triggered communication in TSN on a per-class (not per-flow) basis Blocking reduction through reserved transmission windows
  • 27. 2023-09-20&22 RNDM, Hamburg - 27 A primer on TAS ‒ The state of the transmission gate associated with each queue (“Open” or “Closed”) determines whether a frame from a given queue can be selected for transmission ‒ The Gate Control List (GCL) associated with each port contains an ordered list of gate operations. It defines a schedule that is executed in cycle at run- time A head of queue frame is eligible for transmission if the transmission gate is in the open state and there is sufficient time left to transmit the entirety of that frame “Exclusive gating”: some TCs with critical flows are given exclusive link access during their transmission windows From [802.1Q §8.6.8.4]
  • 28. 2023-09-20&22 RNDM, Hamburg - 28 TAS : only as good the configuration algorithm Pros Limits Configuration ‒ Per-class shaping and not per stream shaping → jitters ‒ Manual construction of comm. schedules unfeasible except for a few flows ‒ Task schedule must be tailored to communication schedule for best performances ‒ Clock synchronization needed ‒ Bandwidth utilization not optimal ‒ NP-hard problem ‒ Heuristics reasonably good for exclusive gating ‒ Tight timing constraints can be met (deadline, synchronization) ‒ Timing verification is easier, timing behavior is close to deterministic ‒ Support bandwidth- sharing use-cases as well (e.g., 1ms every 10ms is reserved to an Android partition) TAS is well suited for certain use-cases (e.g., control loops) but at the expense of a strong coupling between SW and communication. Other use-cases may emerge.
  • 29. 2023-09-20&22 RNDM, Hamburg - 29 TSN QoS for embedded networks: a consolidating landscape Topics for further research: DSE, ATS, local use of TSN mechanisms, per-hop shaping mechanisms, HW heterogeneity, dynamically evolving QoS parameters, verification techniques for complex traffic patterns (e.g., TCP)… Use-cases well served by the different QoS policies are progressively identified .. still configuration remains a challenge for the practitioners and requires complex tooling We see 2 approaches to QoS configuration: ― Automated black-box approaches: from goals & constraints to device config. files ― “Explainable” configuration based on best practices and scheduling theory results Ongoing work: Cut-Through Forwarding, a generic speed-up feature like preemption