• Aucun résultat trouvé

Pre-shaping Bursty Transmissions under IEEE802.1Q

N/A
N/A
Protected

Academic year: 2021

Partager "Pre-shaping Bursty Transmissions under IEEE802.1Q"

Copied!
21
0
0

Texte intégral

(1)

Pre-shaping Bursty Transmissions under IEEE802.1Q

as a Simple and Efficient QoS Mechanism

Nicolas NAVET, University of Luxembourg

Jörn MIGGE, RealTime-at-Work (RTaW)

Josetxo VILLANUEVA, Groupe Renault

Marc BOYER, Onera

(2)

SAE INTERNATIONAL

Use-cases for Ethernet in vehicles

(3)

Main TSN QoS protocols on top of Ethernet

8 priority levels for streams Benefits:

standard and simple

efficient at the highest priority

can be used with shaping in transmission (“pre-shaping”) Limitations:

 not fine-grained enough to for all kinds of requirements

starvation at lowest priority levels with bursty traffic

IEEE802.1Q AVB / Credit-Based

Shaper (CBS) TSN / Time-Aware

Shaper (TAS)

Two egress queues shaped + 6 priority levels below Benefits:

 Perf. guarantee for AVB classes

 No starvation for best-effort traffic

Limitations:

 Per class (not stream) shaping

 Not for control traffic

 Not flexible enough with standard configuration (CMI)

TAS defines egress ports’

gate schedule (open/close) Benefits:

 Strong time constraints can be met

 Can be combined with AVB Limitations:

 Hard to configure

 Rely on a global clock

 Task sched. must be tailored to communication for best perf.

Temporal QoS = managing interfering traffic

Priority-based Traffic Shaping Time-triggered (TT)

(4)

SAE INTERNATIONAL

Main TSN QoS protocols on top of Ethernet

8 priority levels for streams Benefits:

standard and simple

efficient at the highest priority

can be used with shaping in transmission (“pre-shaping”) Limitations:

 not fine-grained enough to for all kinds of requirements

starvation at lowest priority levels with bursty traffic

IEEE802.1Q AVB / Credit-Based

Shaper (CBS) TSN / Time-Aware

Shaper (TAS)

Two egress queues shaped + 6 priority levels below Benefits:

 Perf. guarantee for AVB classes

 No starvation for best-effort traffic

Limitations:

 Per class (not stream) shaping

 Not for control traffic

 Not flexible enough with standard configuration (CMI)

TAS defines egress ports’

gate schedule (open/close) Benefits:

 Strong time constraints can be met

 Can be combined with AVB Limitations:

 Hard to configure

 Rely on a global clock

 Task sched. must be tailored to communication for best perf.

Temporal QoS = managing interfering traffic

Priority-based Traffic Shaping Time-triggered (TT)

In the picture too

 Frame-preemption (Qbu+3br)

 Asynchronous traffic shaping (Qcr)

 Cyclic Queuing & Forwarding (Qch)

(5)

QoS support in the switches – on each output port

Traffic

Shaping

Priority-

Based

Scheduling

+

Frame

Preemption

Time-Triggered

Transmission

Up to 8 priority level overall

[Figure inspired from Ashjaei2017]

(6)

SAE INTERNATIONAL

Under IEEE802.1Q – 3rd hop

High-priority streams

Best-effort

streams

High-

priority

streams

AVB SR-A

Best-effort streams

Under AVB/CBS – 3rd hop

Obtained by simulation in RTaW-Pegase

(7)

TSN/TAS: coordinating gate scheduling tables

Sending node

Switch #1

Switch #2

White bands = transmission allowed

grey bands = not allowed

(8)

SAE INTERNATIONAL 8

Pre-shaping mechanism

(9)

IEEE802.1Q with pre-shaping in transmission

– Pre-shaping = inserting “well-

chosen” minimum distance between frames of a segmented message on the sender side only – other characteristics of traffic unchanged – Objective is to spread out

transmissions to reduce latencies of lower priority traffic

– Pre-shaping typically applies to video streams to improve perf. of best-effort

The last packet of the segmented message must be received by the

deadline, typically 16.66ms for 60FPS camera

(10)

SAE INTERNATIONAL

Pre-shaping in practice

Setting idle-times by hand is not practical – “PRESH” algorithm in RTaW-Pegase

automates it

– No need for dedicated HW unlike CBS &

TAS, implemented in SW in end-systems – Not part of TSN but not forbidden!

– Find priorities and transmission pauses between frames of segmented messages such that

– all bursty frames subject to pre- shaping meet their deadlines, – while minimizing as much as

possible the latency of frames in lower priority traffic classes

(11)

Case-study

(12)

SAE INTERNATIONAL

Renault Ethernet prototype network

4 Cameras - 30 and 60fps 3 control units

3 domain master

#Nodes 14

#Switches 5

#streams 41

Workload per link

Min: <1%, med:11%

max:60%

Link data rates 100Mbit/s and 1Gbit/s (1 link)

(13)

Case-study: 4 types of traffic

With pre-shaping

in transmission

Pre-shaping parameters

for the 8 video streams

(14)

SAE INTERNATIONAL

Case-study: IEEE802.1Q priorities

Command & Control (C&C)

Audio Streams

File & data transfer, diag.

Top priority

Second priority level

Best-effort Third priority level

De crea sing priorit ies

Video Streams

(15)

Verification techniques

Probability

Response time

Simulation max.

Upper-bound with schedulability analysis

Q

5

Q

4

(Actual) worst-case traversal time (WCTT)

Easily observable events Infrequent events Testbed &

Simulation

Long Simulation

Schedulability analysis

Used in this study

 Long simulation here = 48 hours of driving  350 000 transmissions for 500ms frames

 Metrics: communication latencies, bandwidth usage and buffer occupancies

(16)

SAE INTERNATIONAL

Toolset & Techniques

– RTaW-Pegase: modeling / analysis /

configuration of Ethernet TSN (automotive, avionics, industry) + CAN (FD)

– Developed since 2009 in partnership with Onera

– Users across several industries, e.g; Daimler Cars, Airbus Helicopters, CNES, ABB

– Worst-case Traversal Time (WCTT) analysis – used for deadline constraints – Timing-accurate Simulation – used for average & throughput constraints

– Optimization algorithms for setting the parameters of all supported protocols Techniques used

(17)

IEEE802.1Q with pre-shaping for Video

Average latencies for best-effort streams

IEEE802.1Q

IEEE802.1Q with pre- shaping

AVB Tight Idle-Slope

Pre-shaping under IEEE802.1Q improves

average latencies for best-effort streams by

54% on average – up to 86% – similar

performance as using AVB custom classes

Deadlines of C&C, Video, Audio met – like without Pre-shaping

A verag e la tenci es (ms )

(18)

SAE INTERNATIONAL

IEEE802.1Q with pre-shaping for Video

Worst-case latencies for best-effort streams

IEEE802.1Q

IEEE802.1Q with pre- shaping

AVB Tight Idle-Slope

Pre-shaping under IEEE802.1Q improves

worst-case latencies for best-effort streams

by 66% on average – up to 90% - similar

performance as using AVB custom classes

W ors t- case la tencies (ms )

Best-effort streams only

(19)

Discussion & conclusion

(20)

SAE INTERNATIONAL

Pre-shaping Pros and Cons

– Simple, compatible with standard IEEE801Q HW and as effective as AVB/CBS in our experiments but

1. No protection against “babbling idiots” unlike CBS and TAS – per stream policing of Qci could offer a solution

2. Adding frames to the system may require a reconfiguration of all flows subject to pre- shaping (unlike AVB with standard parameters)

3. Setting pre-shaping parameters requires dedicated tool support

4. As there is no reshaping along a path, efficiency decreases with the number of hops 5. Pre-shaping is an additional specification to ECU suppliers which has a cost for OEMs,

but pre-shaping can be implemented on a subset of nodes only (e.g., 5 out of 14 in our case-study)

(21)

Any questions? Contact us

nicolas.navet@uni.lu

jorn.migge@realtimeatwork.com

Références

Documents relatifs

1) If the time average of an interior orbit of the replicator dynamics converges then the limit is a Nash equilibrium.. Indeed, by Proposition 5.1 the limit is a singleton invariant

Figure 5 shows, by comparison with IEEE802.1Q, the worst-case and average communication latencies obtained for the best-effort streams with AVB custom classes configured with the

Neverthe- less, α-OFDM provides a way to exploit reusable frequency bands and shows outage capacity improvement compared to the classical OFDM modulation. In multicell scenarios,

Groups will be connected areas of the brain, corresponding to some picture, groups may connect to other groups with different types of connectors, which may be positive or

In this article, a transformation is proposed to convert prescribed bounds on an output variable into time-varying saturations on the synthesized linear control law..

Figure 5 shows, by comparison with IEEE802.1Q, the worst-case and average communication latencies obtained for the best-effort streams with AVB custom classes configured with the

The motion actually results from the recoil due to the partial vaporization of the drop: since the highly absorbent dye ensures that the laser energy is absorbed in a superficial

Finally, as far as we know, the analysis proposed in Nonlinear approximation does not permit (today) to clearly assess the differences between (P d ) and its heuristics (in