Size-Based Queuing
An Approach to Improve Bandwidth Utilization in TSN Networks Florian Heilmann and Gerhard Fohler RTN’18 - Barcelona, Spain
Size-Based Queuing An Approach to Improve Bandwidth Utilization in - - PowerPoint PPT Presentation
Size-Based Queuing An Approach to Improve Bandwidth Utilization in TSN Networks Florian Heilmann and Gerhard Fohler RTN18 - Barcelona, Spain In this talk Highest-priority (HP) messages may experience jitter due to blocking by
An Approach to Improve Bandwidth Utilization in TSN Networks Florian Heilmann and Gerhard Fohler RTN’18 - Barcelona, Spain
by lower-priority (LP) messages
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 2
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 3
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 4
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 5
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 6
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 7
Ingress Port 1 Ingress Port 2 Ingress Port n Egress Port
Input queuing function 𝑅7 𝑅6 𝑅5 𝑅4 𝑅0 TX selection function
𝐻7 𝐻6 𝐻5 𝐻4 𝐻0
… … …
802.1Q Ethernet Switch
Safety-critical, highest-priority traffic (denoted HP in this presentation) Safety-critical, lower-priority traffic (denoted LP in this presentation) Best Effort traffic (not considered in this presentation)
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 8
𝐻𝐼𝑄 𝐻𝑀𝑄
“Open” “Closed ” “Closed” “Open” 𝑢 𝑢 𝑢
𝑯𝑰𝑸
𝑯𝑴𝑸 𝒑𝒗𝒖
lower priority (LP) messages Unless:
idle network once HP gate opens
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 9
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 10
𝑢 𝑢 𝑢
𝐻𝐼𝑄 𝐻𝑀𝑄
𝑝𝑣𝑢
HP Jitter
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 11
𝑢 𝑢
𝐻𝐼𝑄 𝐻𝑀𝑄
𝑢
max
𝑝𝑣𝑢
Guardband
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 12
𝑢 𝑢 𝑢
𝐻𝐼𝑄 𝐻𝑀𝑄 𝑝𝑣𝑢
Guardband
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 13
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 14
𝑢 𝑢 𝑢
𝐻𝐼𝑄 𝐻𝑀𝑄
𝑝𝑣𝑢
Guardband
gates are closed
Output bandwidth utilization decreases (bandwidth is wasted)
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 15
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 16
Low Jitter requirement of HP messages guard bands unavoidable
Idea
Shrink guard bands Improve bandwidth utilization
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 17
𝑗𝑜 to distribute messages according to thresholds
𝑝𝑣𝑢 to handle new queues
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 18
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 19
Ingress Port 1 Ingress Port 2 Ingress Port n Egress Port
Input queuing function 𝑅7 𝑅4 𝑅0 TX selection function
𝐻7 𝐻4 𝐻0
… … …
𝑅6
𝐻5
TSN TAS Ethernet Switch
𝑅5
𝐻6
𝑅6
𝐻6 𝐻5
𝑅5 𝑅6 𝑅5
𝐻6 𝐻5
𝑅5,𝑡𝑛
𝐻5,𝑡𝑛
𝑅5,𝑚𝑠
𝐻5,𝑚𝑠
𝑅6,𝑡𝑛
𝐻6,𝑡𝑛
𝑅6,𝑚𝑠
𝐻6,𝑚𝑠
𝜐6 𝜐5
TX selection function Input queuing function
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 21
Ingress Port 1 Ingress Port 2 Ingress Port n Egress Port
Input queuing function 𝑅7 𝑅4 𝑅0 TX selection function
𝐻7 𝐻4 𝐻0
… … …
𝑅5,𝑡𝑛
𝐻5,𝑡𝑛
𝑅5,𝑚𝑠
𝐻5,𝑚𝑠
𝑅6,𝑡𝑛
𝐻6,𝑡𝑛
𝑅6,𝑚𝑠
𝐻6,𝑚𝑠
𝜐6 𝜐5
SBQ Ethernet Switch
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 22
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 23
𝑢 𝑢 𝑢
Guardband
𝐻𝐼𝑄 𝐻𝑀𝑄
𝑝𝑣𝑢
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 24
𝑡𝑗𝑨𝑓𝑛𝑡 ≥ 𝜐𝑀𝑄 → 𝑅𝑀𝑄,𝑚𝑠 𝑡𝑗𝑨𝑓𝑛𝑡 < 𝜐𝑀𝑄 → 𝑅𝑀𝑄,𝑡𝑛
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 25
𝑢
𝐻𝐼𝑄
𝑢
𝑢
𝐻𝑀𝑄,𝑚𝑠
Guardband
𝑢
𝐻𝑀𝑄,𝑡𝑛
“Closed”
max
Guardband GB
𝑝𝑣𝑢
“Open”
design
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 26
through a switch
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 27
bandwidth
Time before message reaches front of queue is longer Latency increases .
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 28
1
compete against less other messages inside a queue
Message reaches front of the queue faster Latency decreases .
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 29
2 1
Latency of lower relative priority messages increases Latency of higher relative priority messages decreases
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 30
2 1 33
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 31
1
2 1 2 1 33 3 3 33
However
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 32
1
2 1 2 1 33 3 3 33
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 33
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 34
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 35
lowered bandwidth utilization caused by guard bands
improve average latency
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 36
𝑝𝑣𝑢 (RR, SP, etc.)
(P802.1Qcr)
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 37
Or:
Size-Based Queuing - An Approach to Improve Bandwidth Utilization in TSN Networks 42