802.1AS Asymmetrical delay problem and potential update

Slides:



Advertisements
Similar presentations
Packet / Message Switching Concepts
Advertisements

Adobe’s Real Time Messaging Protocol
H. 323 Chapter 4.
M. Kreider, T. Fleck WhiteRabbit 1 WhiteRabbit Timing System.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Teaching material based on Distributed Systems: Concepts and Design, Edition 3, Addison-Wesley Copyright © George Coulouris, Jean Dollimore, Tim.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Long distance communication Multiplexing  Allow multiple signals to travel through one medium  Types Frequency division multiplexing Synchronous time.
Adapted from Tanenbaum's Slides for Computer Networking, 4e The Data Link Layer Chapter 3.
Internet Control Message Protocol (ICMP)
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
BZUPAGES.COM Presentation On SWITCHING TECHNIQUE Presented To; Sir Taimoor Presented By; Beenish Jahangir 07_04 Uzma Noreen 07_08 Tayyaba Jahangir 07_33.
Precise measurement of physical link delay 802.1as, IEEE 802 plenary Lu Huang
Wireless Networks: Physical and Link Layers Wired Typically point-to- point connections Interference effects are not significant Not power constrained.
Instrument Control System Seminar, 20 th -24 th October 2014 Time Synchronisation via Ethernet An introduction to IEEE 1588 Andreas Jost.
Data Link Control. The two main functions of the data link layer are data link control and media access control. The first, data link control, deals with.
2. Data Link Layer: Medium Access Control. Scheduling.
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
Airmail: A Link-layer Protocol for Wireless Networks
Serial Communications
Pedro Moreira CERN BE-CO-HT
Youngstown State University Cisco Regional Academy
Network Hardware for Expanding Network
Improving IEEE 1588 synchronization accuracy in 1000BASE-T systems
ICMP The IP provides unreliable and connectionless datagram delivery. The IP protocol has no error-reporting or error-correcting mechanism. The IP protocol.
Reference distribution
Unit 5: Hypothesis Testing
Channel Control Interim substates for adding new slaves
Sub-nanosecond Time Synchronization Mechanism for Radio Interferometer Array
21-2 ICMP(Internet control message protocol)
Presented by Kristen Carlson Accardi
Distributed Computing
Infrastructure II NTP.
Intralayer examples Integrity Time. Layer Optimization: Handling Loss CS 118 Computer Network Fundamentals Peter Reiher.
Chapter 6: Transport Layer (Part I)
Standards Basics.
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
IOS Network Model 2nd semester
Encapsulation/Decapsulation
Introduction to the Transport Layer
MODEM REGISTER VERIFICATION
Packetizing Error Detection
Chapter 23 Introduction To Transport Layer
Packetizing Error Detection
MODEM REGISTER VERIFICATION
Internet Control Message Protocol Version 4 (ICMPv4)
MODEM REGISTER VERIFICATION
Network Core and QoS.
Data Transmission Most digital messages are longer than just a few bits. It is neither practical nor economical to transfer all bits of a long message.
Kevin Lee & Adam Piechowicz 10/10/2009
Packetizing Error Detection
Net 323 D: Networks Protocols
Internet Control Message Protocol
Achieving Single Channel, Full Duplex Wireless Communication
CSE 313 Data Communication
ECE 352 Digital System Fundamentals
Rekeying Protocol Fix Date: Authors: Month Year
Network Performance Definitions
Requirements Definition
Routing and the Network Layer (ref: Interconnections by Perlman
ECE 352 Digital System Fundamentals
Switching Chapter 2 Slides Prepared By: -
CSE 486/586 Distributed Systems Time and Synchronization
Error Checking continued
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
Network Core and QoS.
Presentation transcript:

802.1AS Asymmetrical delay problem and potential update Tom McBeath Forthgem Consultants LLC

Why does this matter In the case of audio or video total addition of asymmetry is unlikely to be significant enough to matter and so doesn't matter and would not have been noticed. In the case of 802.1Qbv if the accumulation of the asymmetric delay is sufficient to mean that the packet is sent too late to be meet the open window this would mean that Qbv would guarantee slow forwarding due to closed gates. In the case of an industrial application difference might cause mechanical problem

Asymmetric delay examples Asymmetry in delay is 4 units (d) transmit delay is 10 (t) calculated delay is 8 (c) Master time (mt) Calculated slave time (cst) Calculated receive timestamp Actual Receive Timestamp Correct receive time 1 -1 1+8=9 mt+c 10-1=9 cst+t 1+10=11 mt+1t 5 2 5+8=13 3+10=13 5+10=15 Asymmetry in delay is 6 units transmit delay is 10 calculated delay is 7 Master time Calculated slave time Calculated receive timestamp Actual Receive Timestamp Correct receive time 1 -2 1+7=8 10-2=8 1+10=11 5 2 5+7=12 2+10=12 5+10=15 12 9 12+7=19 9+10=19 12+10=22

Asymmetric delay examples Asymmetry in delay is 8 units transmit delay is 6 calculated delay is 10 Master time Calculated slave time Calculated receive timestamp Actual Receive Timestamp Correct receive timestamp 3 7 3+10=13 7+6=13 3+6=9 11 7+10=17 11+6=17 5+10=15

Problem Diagram Grand Master 802.1As Switch Qbv Source Qbv Source Qbv Next hop 802.1Qbv channel gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Packet occasionally has to wait for next gate window slightly more than perfect timing Clock sync path Data path

Problem Diagram Grand Master 802.1As Switch 802.1As Switch Qbv Source Next hop 802.1Qbv channel gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Packet more occasionally has to wait for next gate window Clock sync path Data path

Problem Diagram Grand Master 802.1As Switch 802.1As Switch 802.1As Qbv Source Qbv Source Qbv Next hop 802.1Qbv channel gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Packet frequently has to wait for next gate window Clock sync path Data path

Problem Diagram Grand Master 802.1As Switch 802.1As Switch 802.1As Qbv Source Qbv Source Qbv Next hop 802.1Qbv channel gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Packet nearly always has to wait for next gate window Clock sync path Data path

Problem Diagram Grand Master 802.1As Switch 802.1As Switch 802.1As Qbv Source Qbv Source Qbv Next hop 802.1Qbv channel gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Packet always has to wait for next gate window Clock sync path Data path

Problem Diagram Grand Master 802.1As Switch 802.1As Switch 802.1As Qbv Source Qbv Source Qbv Next hop 802.1Qbv channel gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Packet always has to wait for next gate window Clock sync path Data path

No issue if BV and AS have same path 802.1Qbv 802.1As Switch 802.1Qbv 802.1As Switch 802.1Qbv 802.1As Switch 802.1Qbv 802.1As Switch 802.1Qbv 802.1As Switch 802.1Qbv 802.1As Switch 802.1Qbv gate window 802.1AS Asymmetric Time offset per switch 802.1AS Accumulated offset Correct time is there was no Asymmetric error Time line for gate opening and closing window Since if the data and Time Sync are on same path the sync time error equals the calculated delay error and then there is no window alignment issue

Problem definition Neither 802.1AS nor 1588 have standard mechanism to compensate for Asymmetrical delays between two points in a network. An extreme example of this problem is if one end of link is a hardware based Switch and other end is software based end point. Without use of something like DPDK the delay on receive could be on average milliseconds greater than on transmit due to potential scheduling issue. So this is a case where Asymmetry might matter for AVB if only on one listener. A less extreme example would be a PCIe controller chip that might take longer to receive a message and forward to processing engine than to send a message from the processing unit to to the I/O

Source of Asymmetric delay Delay from processing doing send to processing getting receive Not just time on link Clock Slave end Clock master end Calculated delay equals Which is accumulated delay Divided by 4 Asymmetric error red block

Effect of Asymmetrical delay on time Time on Device 2 is calculated as the timestamp on the message sent from Device 1 plus a delay which is calculated as half the sum of the round trip delay. So if delay from D1 to D2 is 3 and delay from D2 to D1 is 9 then delay between units is calculated as 6 so time set at D2 will be 3 time units ahead of correct time. In worst case if delay offset is same direction on 6 units in chain then offset of final unit in chain from correct time would be sum of all 6 units' asymmetric time delays divided by 2.

Potential solutions Specify in 802.1Qbv standard that timing for switches should be set on same path as data Have exactly the same switches in whole network in which case delay is guaranteed to be Symmetrical so no delta to accumulate or have two types of switches interspersed in the form A-B-A-B-A-B-A-B-A-B in which case Asymmetry cancels out Add the manufacturer measured TX and RX delays to the specifications of an AS Switch.

Alternative solution Specify in standard that delay on TX side should be proven to be same as delay on RX side in which case even if devices have different delays round trip delay will still be symmetric. Mechanism to do this would be to have a layer 1 device which set bit when it sees packet and bit on Switch device to indicate it received packet and is ready to compare time and another bit to say its sending a packet. The time delay between silicon and test bits give RX and TX latency.