Several New Minor Issues Pertaining to 802.1ASbt

Similar documents
Interoperability with a One-Step Clock on Receive in 802.1ASbt

Overview and Timing 802.1AS. Geoffrey M. Garner. Broadcom Corporation

Geoffrey M. Garner. (Consultant)

Discussion of New State Machines and Specifications for Transport of Time Sync in 802.1AS using FTM

Aspects of Multiple Domains in 802.1AS-Rev and Backward Compatibility

Optional 1588 States not used in 802.1AS-Rev

Table of Contents. 1. INTRODUCTION Purpose Abbreviations 3

Avnu Alliance Certification Program

Joint IEEE-SA and ITU Workshop on Ethernet. IEEE AS gptp - One Step Issues. Franz-Josef Goetz, Member of IEEE TSN TG, Siemens AG

Initial Simulation Results for AVB Synchronization Transported using IEEE 1588 Peer-to-Peer Transparent Clocks

Version Date Reason Author Sep-2008 Initial Draft Philippe Klein

IEEE 802.1AS bt (gptp) & IEEE 1588 v3 (PTP v3 )

IEEE 802.1ASbt and Next Generation Ethernet Time Synchronization

Precision Time Protocol Software Configuration Guide for IE 4000, IE 4010, and IE 5000 Switches

Description of Use of IEEE 1588 Followup Peer-to-Peer Transparent Clocks in A/V Bridging Networks Revision

1588 Power Profile Test Plan

Standards Update IEEE 1588

IEEE1588 profile development in ITU-T

Cut-Through and Qcc Bridge Delay Model

G Telecom Profile

802.1 TIME-SENSITIVE NETWORKING (TSN) ON 802.3CG MULTIDROP NETWORKS

Configuring Precision Time Protocol (PTP)

Tutorial on Time-Synchronization for AAA2C based on IEEE Std 802.1AS -2011

Technical Brief Implementing IEEE 1588v2 for use in the mobile backhaul

Informative Appendix to the IEEE 802.1as/D4.0 Specifications. Media-dependent layer specification for CSN Network. 1 Overview

1-step for 802.1AS Details

Discussion of Proposals for Redundancy in 802.1ASbt


IEEE Standards Department Copyrights and Permissions 445 Hoes Lane, Piscataway, New Jersey , USA

High-Availability/Redundancy

INTERNATIONAL TELECOMMUNICATION UNION

Localization approaches based on Ethernet technology

Precision Time Protocol Software Configuration Guide for IE 2000U and Connected Grid Switches

802.1AS Recovered Clock Quality Testing

Discussion of Proposals for Redundancy in 802.1ASbt

G Telecom Profile

G Telecom Profile

Pro Audio/Video AVB/TSN Functional and Interoperability Specification

Description of Use of IEEE 1588 Followup Peer-to-Peer Transparent Clock in A/V Bridging Networks Revision

Technical Brief Implementing IEEE 1588v2 for use in the mobile backhaul

Time Synchronization Service Interface and Preemption. Christian Boiger IEEE Interim September 2014 Ottawa, Canada

High Available Synchronization with IEEE 802.1AS bt

Status of ITU Q13/15 sync standards and relationship with IEEE 1588 ITSF-2014

12 January r1 SAS2: ST_TTS retransmitted DATA frames

DRAFT. Dual Time Scale in Factory & Energy Automation. White Paper about Industrial Time Synchronization. (IEEE 802.

IEEE-1588 Frequency and Time & Phase Profiles at ITU

Status of ITU Q13/15 sync standards ITSF Jean-Loup Ferrant, ITU-T Q13/15 rapporteur

Addition of p mc Fine Timing Measurement (FTM) to p802.1as-rev: Tradeoffs and Proposals Rev 0.9

Technical Committee. Addendum to Security Specification v1.1 In-Band Security for Simplex Connections. af-sec

ETHERNET TIME & SYNC. In Telecoms, Power, Finance, Cars,... ITSF Budapest, Nov 2014

802.1AS : Redundant Paths

802.1AS Fast Master Clock Selection

Configuring PTP. Information About PTP. This chapter contains the following sections:

AV Time Synchronization for Wired and Wireless 802 LANs

Time Sync Redundant Grandmaster Clock Support.

Dependability Entering Mainstream IT Networking Standards (IEEE 802.1)

FRS IPO CONFIGURATIONS

Logic, Words, and Integers

University of New Hampshire InterOperability Laboratory Ethernet Consortium

Ethernet. MDIO Auto-Negotiation Registers Test Suite For Twisted-Pair PHYs V1.0. Technical Document. Last Updated: Thursday March 19, :21 AM

ETHERNET. Clause 28 Auto-Negotiation Next Page Exchange Test Suite v2.3. Technical Document. Last Updated: Friday, February 03, :22 AM

Comment A: Text for Sequencing sublayer

Proposal for Reservation of Time Sync Resources in the TSN UNI

LXI IEEE 1588 Profile

The GBN sender must respond to three types of events:

IEEE 1588v2 PTP Support

Time-Sensitive Networking (TSN) How the additional value will meet your requirements

Using PTP for Time & Frequency in Broadcast Applications Part 1: Introduction

Streamware Workbench Release

INTERNATIONAL TELECOMMUNICATION UNION. SERIES Q: SWITCHING AND SIGNALLING Interworking of Signalling Systems

ITU-T G /Y

University of New Hampshire InterOperability Laboratory Ethernet in the First Mile Consortium

Programming Project. Remember the Titans

2.0.3 attributes: A named property of a class that describes the range of values that the class or its instances (i.e., objects) may hold.

Timestamp Support for IEEE 802.1AS Time and Synchronization Call for Interest

ETHERNET. Clause 28 Auto-Negotiation State Machine Base Page Exchange Test Suite v5.5. Technical Document. Last Updated: July 22, :11PM

10-Gigabit Ethernet Consortium

GIGABIT ETHERNET CONSORTIUM

EN V1.1.1 ( )

OVERVIEW. portenabled. rcvdbpdu

Bits, Words, and Integers

Supplemental Note on Count-to-Infinity Induced Forwarding Loops in Ethernet Networks

PtpTimestampUnit. Reference Manual. Product Info. Product Manager. Author(s) Reviewer(s) - Version 1.0. Date Sven Meier.

78.4 Data Link Layer Capabilities

Errata Sheet RV-8803-C7

Preface 1. Storage System 2. Contact Information 3 SIPLUS CMS. SIPLUS CMS X-Tools - User Manual Storage System. English.

Automotive Ethernet AVB Functional and Interoperability Specification Revision Sept 2016 Authors:

Chapter 6 Memory 11/3/2015. Chapter 6 Objectives. 6.2 Types of Memory. 6.1 Introduction

Internet Control Message Protocol

ITU-T G /Y

Audio Video Bridging (AVB) Assumptions IEEE AVB Plenary Jan 28 & 29, 2008 Los Gatos

Support for Coordinated Shared Network in 802.1AVB. Jan 08 IEEE AVB WG Philippe Klein

ETHERNET. Clause 28 Auto-Negotiation State Machine Base Page Exchange Test Suite v5.9. Technical Document. Last Updated: January 4, :00AM

Synchronisation in. Distributed Systems. Co-operation and Co-ordination in. Distributed Systems. Kinds of Synchronisation. Clock Synchronization

Table of Contents Chapter 1 MSTP Configuration

Technology Update on IEEE 1588: The Second Edition of the High Precision Clock Synchronization Protocol

Time-Awareness in the Internet of Things. ITSF 2014 Marc Weiss, NIST Consultant

2.0.3 attributes: A named property of a class that describes the range of values that the class or its instances (i.e., objects) may hold.

This Lecture. BUS Computer Facilities Network Management. Line Discipline. Data Link Layer

IN THE FIRST MILE CONSORTIUM. Clause 65 Test Suite v1.1 Technical Document. Last Updated: March 23, :43pm

Transcription:

Several New Minor Issues Pertaining to 802.1ASbt Geoffrey M. Garner Consultant IEEE 802.1 AVB TG 2014.01.17 gmgarner@alum.mit.edu

Introduction q This presentation describes several minor issues related to 802.1AS that were brought to the attention of the editor since the last 802.1 meeting (November, 2013) Several proposals/recommendations are made on addressing these items q This presentation also provides the result of the action item given to the editor during the November, 2013, to look into whether making Annex E of 802.1AS (CSN) a numbered clause would be contrary to IEEE or IEEE 802 policies or would require a large effort to justify doing this The editor was also given the action item to update [1] This has been done; revision 1 [1] has been prepared for the current meeting January 2014 IEEE 802.1 TSN 2

Action Item q It was suggested in the November, 2013 802.1 TSN TG meeting that, since CSN (which includes MoCA) is a transport for 802.1AS, just as full-duplex Ethernet, 802.11, and EPON are transports, that Annex E (where the media-dependent layer above CSN transport is specified) should be made a numbered clause q The CSN numbered clause would immediately follow the current mediadependent numbered clauses, for full-duplex Ethernet, 802.11, and EPON q The editor as asked to investigate with the IEEE editors whether this would be allowed, given that CSN is not an 802 technology The editor was also asked to find out whether, if this is allowed and is done, a large effort would be needed to justify it q The editor checked with the IEEE 802.1 chair on to find out who the appropriate person(s) are in IEEE to ask about this However, on being told the question the 802.1 chair indicated that there is not reason why this cannot be done, assuming the TSN TG wishes to do it q Therefore, it appears it is perfectly acceptable to make Annex E a numbered clause, if the TSN TG wishes to do this January 2014 IEEE 802.1 TSN 3

Action Item (cont.) q In view of the above, it is proposed that the TSN TG decide if it still would like to make Annex E (media-dependent layer specification for CSN transport) a numbered clause It is assumed that, if so, Annex E would be moved to follow the current clause 13 All necessary renumbering of clauses and subclauses and fixing of crossreferences would need to be done At least at the outset, this would be indicated via one or more editing instructions January 2014 IEEE 802.1 TSN 4

Issue 1 1 q This issue relates to potential continuous cycling of the PortSyncSyncSend state machine (SM) if a Sync message is received less than ½ Sync interval since the last Sync message was received This issue was pointed out to the editor by [2] q Consider the PortSyncSyncSend state machine, shown on the next slide (taken from Figure 10-8 of 802.1AS 2011) January 2014 IEEE 802.1 TSN 5

Issue 1 2 BEGIN (rcvdpssync && (!portenabled!pttportenabled!ascapable)) TRANSMIT_INIT rcvdpssync = FALSE; rcvdpssync && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort ( ( ( rcvdpssync && (currenttime lastsyncsenttime >= 0.5*syncInterval) && rcvdpssyncptr->localportnumber!= thisport) ) ( (currenttime lastsyncsenttime >= syncinterval) && (lastrcvdportnum!= thisport) ) ) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort rcvdpssync && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort SEND_MD_SYNC If (rcvdpssync) { lastrcvdportnum = rcvdpssyncptr->localportnumber; lastpreciseorigintimestamp = rcvdpssyncptr->preciseorigintimestamp; lastfollowupcorrectionfield = rcvdpssyncptr->followupcorrectionfield; lastrateratio = rcvdpssyncptr->rateratio; lastupstreamtxtime = rcvdpssyncptr->upstreamtxtime; lastgmtimebaseindicator = rcvdpssyncptr->gmtimebaseindicator; lastgmphasechange = rcvdpssyncptr->lastgmphasechange; lastgmfreqchange = rcvdpssyncptr->lastgmfreqchange; } rcvdpssync = FALSE; lastsyncsenttime = currenttime; txmdsyncptr = setmdsync (); txmdsync (txmdsyncptr); UCT SET_SYNC_RECEIPT_TIMEOUT_TIME syncreceipttimeouttime = rcvdpssyncptr->syncreceipttimeouttime; SYNC_RECEIPT_TIMEOUT rcvdpssync = FALSE; rcvdpssync && (currenttime lastsyncsenttime < 0.5*syncInterval) && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort q Suppose the state machine is in the SET_SYNC_RECEIPT _TIMEOUT_TIME state waiting for a Sync message, and a Sync message is received before ½ Sync interval has elapsed since receipt of the last Sync message q In this case, rcvdpssync is TRUE, and currenttime lastsyncsenttime < 0.5*syncInterval currenttime >= syncreceipttimeouttime January 2014 IEEE 802.1 TSN 6

Issue 1-3 q In that case the rightmost branch, which cycles back to the SET_SYNC_RECEIPT_TIMEOUT_TIME state, is taken q However, rcvdpssync is not set to FALSE q As a result, this transition continues to occur (as long as portenabled, pttportenabled, ascapable, and other conditions in the branch remain TRUE q This cycling continues until currenttime lastsyncsenttime >= 0.5*syncInterval q This behavior is not desired (among other things, if this were followed exactly it would needlessly use CPU cycles and power) q A proposed modification to the SM to eliminate this problem is shown on the next slide q A new state, WAIT, is added, in which rcvdpssync is set to FALSE q The SM waits in this state until currenttime lastsyncsenttime >= 0.5*syncInterval At that point, the SM transitions to the SEND_MD_SYNC state January 2014 IEEE 802.1 TSN 7

Issue 1 4 BEGIN (rcvdpssync && (!portenabled!pttportenabled!ascapable)) TRANSMIT_INIT rcvdpssync = FALSE; rcvdpssync && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort rcvdpssync && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort SEND_MD_SYNC If (rcvdpssync) { lastrcvdportnum = rcvdpssyncptr->localportnumber; lastpreciseorigintimestamp = rcvdpssyncptr->preciseorigintimestamp; lastfollowupcorrectionfield = rcvdpssyncptr->followupcorrectionfield; lastrateratio = rcvdpssyncptr->rateratio; lastupstreamtxtime = rcvdpssyncptr->upstreamtxtime; lastgmtimebaseindicator = rcvdpssyncptr->gmtimebaseindicator; lastgmphasechange = rcvdpssyncptr->lastgmphasechange; lastgmfreqchange = rcvdpssyncptr->lastgmfreqchange; } rcvdpssync = FALSE; lastsyncsenttime = currenttime; txmdsyncptr = setmdsync (); txmdsync (txmdsyncptr); UCT SYNC_RECEIPT_TIMEOUT rcvdpssync = FALSE; q If a new Sync message is received while waiting, the SM transitions once back to this state and sets rcvdpssync to FALSE q It is proposed to replace the existing PortSyncSyncSend SM (Figure 10-8) with the SM on this slide SET_SYNC_RECEIPT_TIMEOUT_TIME syncreceipttimeouttime = rcvdpssyncptr->syncreceipttimeouttime; ( ( ( rcvdpssync && (currenttime lastsyncsenttime >= 0.5*syncInterval) && rcvdpssyncptr->localportnumber!= thisport) ) ( (currenttime lastsyncsenttime >= syncinterval) && (lastrcvdportnum!= thisport) ) ) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort currenttime >= syncreceipttimeouttime rcvdpssync && (currenttime lastsyncsenttime < 0.5*syncInterval) && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort (currenttime lastsyncsenttime >= 0.5*syncInterval) && rcvdpssyncptr->localportnumber!= thisport) ) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort WAIT rcvdpssync = FALSE; rcvdpssync && (currenttime lastsyncsenttime < 0.5*syncInterval) && (rcvdpssyncptr->localportnumber!= thisport) && portenabled && pttportenabled && ascapable && selectedrole[thisport] == MasterPort January 2014 IEEE 802.1 TSN 8

Issue 1 5 q An additional issue, related to this state machine and the ClockMasterSyncSend SM for the case where the clock is GM, also was identified [2] q The ClockMasterSyncSend SM is (taken BEGIN from Figure 10-5 of 802.1AS 2011) INITIALIZING syncsendtime = currenttime + clockmastersyncinterval; currenttime >= syncsendtime SEND_SYNC_INDICATION txpssyncptr = setpssynccmss (gmrateratio); txpssynccmss (txpssyncptr); syncsendtime = currenttime + clockmastersyncinterval; currenttime >= syncsendtime January 2014 IEEE 802.1 TSN 9

Issue 1 6 q The SM sends a PortSyncSync structure to the SiteSync SM when currenttime exceeds syncsendtime q syncsendtime is computed as currenttime plus clockmastersyncinterval q If the current clock is GM, the SiteSync SM sends this structure to the PortSyncSync Send SM q Therefore, the time between the sending of successive PortSyncSync structures by the ClockMaster entity to the PortSyncSyncSend SM is clockmastersyncinterval q Note that there is no requirement in 802.1AS that clockmastersyncinterval shall be the same as syncinterval for each port (though it would seem that they should be the same, as both are intended to be the mean interval between successive Sync messages January 2014 IEEE 802.1 TSN 10

Issue 1 7 q Careful examination of the ClockMasterSyncSend SM and PortSyncSyncSend SM indicates that if clockmastersyncinterval is slighlty longer than SyncInterval, the time between sending of successive Sync messages will periodically be 0.5*syncInterval In this case, if a Sync message is sent when a PortSyncSync structure is received from the ClockMasterSyncSend SM, then another Sync message will be send by the PortSyncSync SM after syncinterval has elapsed But, a PortSyncSync structure will be received from the ClockMasterSyncSend SM shortly after this, which will result in another Sync message being sent 0.5*syncInterval later The next PortSyncSync structure will be received slightly more than 0.5*syncInterval later, and another Sync message will be sent The next Sync message is sent one syncinterval later, but the next PortSyncSync structure has not yet been received from the ClockMasterSyncSend SM because clockmastersyncinterval is slightly longer The PortSyncSync structure is received slightly after this, and a Sync message is sent 0.5*syncInterval later The process continues January 2014 IEEE 802.1 TSN 11

Issue 1 8 q This behavior was not intended, i.e., if a clock is GM, it was intended that Sync messages be send at the mean Sync rate But the TSN TG should confirm this and, if this is not correct, it should confirm what was/is intended q Assuming the above bullet item is correct, i.e., it was intended that the GM send Sync messages at the mean Sync rate, then the state machines need to be fixed q One possible fix would be to make clockmastersyncinterval and syncinterval equal, i.e., use syncinterval in the ClockMasterSyncSend SM q In addition, logic could be added to the PortSyncSyncSend SM to check whether the clock is GM and, if so, send Sync as soon as a PortSyncSync structure is received Note that with this logic a clock might send Sync sooner than 0.5*syncInterval if it becomes GM right after sending a Sync Message Comments and suggestions on fixes are welcome January 2014 IEEE 802.1 TSN 12

Issue 1 9 q Note also that IEEE 1588 2008 allows some variation in the actual sync interval for a BC, as it is not possible for the actual sync interval to be exactly equal to the specified mean sync interval (i.e., to syncinterval) The time between successive Sync, Announce, and Pdelay_Req messages shall be within ±30% of the mean interval, with 90% confidence This means that 90% of the interval samples shall have values within ±30% of syncinterval The requirement for sending Delay_Req is different (and more complicated and possibly problematic); however, this is not relevant here because 802.1AS does not use Delay_Req q Some tolerance should be allowed in the sending of Sync, Announce, and Pdelay_Req in 802.1AS The tolerance could be tighter than the 1588 requirement if desired, but should not be looser if compliance with 1588 is desired An absolute upper bound could also be added (1588 does not require an upper bound, nor does it define sync receipt timeout) January 2014 IEEE 802.1 TSN 13

Issue 2 1 q This issue relates to whether sync receipt timeout should occur if there is a GM change after receipt of an Announce message but no Sync messages are received This issue was pointed out to the editor by [3] q Consider the PortAnnounceReceive state machine below (taken from Figure 10-12 of 802.1AS-2011) PortAnnounceInformation state machine, shown on the next slide (taken from Figure 10-13 of 802.1AS-Cor1 2013) BEGIN (rcvdannounce && (!portenabled!pttportenabled!ascapable)) DISCARD rcvdannounce = FALSE; rcvdmsg = FALSE; rcvdannounce && portenabled && pttportenabled && ascapable RECEIVE rcvdannounce = FALSE; rcvdmsg = qualifyannounce (rcvdannounceptr); rcvdannounce && portenabled && pttportenabled && ascapable &&!rcvdmsg January 2014 IEEE 802.1 TSN 14

Issue 2 2 rcvdmsg ( (!portenabled!pttportenabled!ascapable) && (infois!= Disabled) ) BEGIN DISABLED rcvdmsg = FALSE; announcereceipttimeouttime = currenttime; infois = Disabled; reselect = TRUE; selected = FALSE; AGED infois = Aged; reselect = TRUE; selected = FALSE; selected && updtinfo UPDATE portenabled && pttportenabled && ascapable portpriority = masterpriority; portstepsremoved = masterstepsremoved; updtinfo = FALSE; infois = Mine; newinfo = TRUE UCT /* Sending port is new master port */ portpriority = messagepriority; portstepsremoved = rcvdannounceptr->stepsremoved; recordotherannounceinfo(); announcereceipttimeouttimeinterval = announcereceipttimeout*(10 9 )*2 16+rcvdAnnouncePtr->logMessageInterval ; announcereceipttimeouttime = currenttime + announcereceipttimeouttimeinterval; InfoIs = Received; reselect = TRUE; selected = FALSE; rcvdmsg = FALSE; rcvdannounceptr = FALSE; UCT REPEATED_MASTER_PORT /* Sending port is same master port */ announcereceipttimeouttime = currenttime + announcereceipttimeouttimeinterval; rcvdmsg = FALSE; rcvdannounceptr = FALSE; UCT UCT rcvdinfo == SuperiorMasterInfo SUPERIOR_MASTER_PORT rcvdinfo == RepeatedMasterInfo rcvdinfo == InferiorDesignatedMasterInfo rcvdinfo == OtherInfo INFERIOR_MASTER_OR_OTHER_PORT rcvdmsg = FALSE; rcvdannounceptr = FALSE; q PortAnnounceInfo rmation SM q Note that the strikeout and insertion is a correction from 802.1AS- Cor1-2013 CURRENT selected && updtinfo (infois == Received) && (currenttime >= announcereceipttimeouttime (currenttime >= syncreceipttimeouttime && gmpresent) ) &&!updtinfo &&!rcvdmsg RECEIVE rcvdinfo = rcvinfo(); rcvdmsg &&!updtinfo January 2014 IEEE 802.1 TSN 15

Issue 2 3 q When an Announce message is received an qualified, the PortAnnounceReceive SM sets rcvdmsg to TRUE Note that the pointer rcvdannounceptr is a pointer to a structure that contains the fields of the Announce message q The PortAnnounceInformation SM transitions from the CURRENT state to the RECEIVE state, and the function rcvinfo() is invoked rcvinfo() compares the received Announce information (messagepriorityvector) with the information on the current GM (portpriorityvector; note that when a new GM is chosen, the PortAnnounceInformation SM and PortRoleSelection SM will together cause the portpriorityvector of each port to contain the information on the current GM) If the new Announce information is better than or the same as the current GM (i.e., messagepriorityvector is superior to or the same as the portpriorityvector), the Announce information is used, and the new announcereceipttimeouttime is set However, a new syncreceipttimeouttime is not set SyncReceiptTimeoutTime is set by the PortSyncSyncSend SM when a Sync message is sent (see slides 6 and 8) January 2014 IEEE 802.1 TSN 16

Issue 2 4 q This is correct (i.e., not setting a new syncreceipttimeouttime) if the GM has not changed and Sync (and Announce) messages have been received all along q However, consider the case where an Announce message is received from a clock (time-aware system) that is better than the current GM, and that clock becomes the new GM, but for some reason it never sends a Sync message In this case, syncreceipttimeouttime is not set If the new GM also stops sending Announce after the initial Announce, eventually announce receipt timeout will occur; however, this will take on the order of 3 s if default parameters are used because the default announce interval is 1 s and default announcereceipttimeout is 3 If the new GM does not stop sending Announce, then neither sync receipt timeout nor announce receipt timeout will occur; the new GM will remain GM but never send timing information In this case, the clocks synchronized to this GM will act as if they are free-running, and this will continue indefinitely, or until announce receipt timeout occurs or an Announce message is received from a better clock January 2014 IEEE 802.1 TSN 17

Issue 2 5 q Both cases in the above main bullet (first-level sub-bullets 2 and 3) violate the goal of GM changeover occurring with in 1 s Neither case is desirable, though the second case is worse q It would appear that this problem could be fixed by simply setting the syncreceipttimeouttime in the SUPERIOR_MASTER_PORT state of the PortAnnounceInformation SM q However, recall the definition of superior (see 10.3.5 of 802.1AS; note that this definition follows the 13.10 of 802.1Q-2012) The messagepriorityvector is superior to the portpriorityvector if and only if: a) The messagepriorityvector is better than the portpriorityvector, or b) The Announce message has been transmitted from the same master timeaware system and MasterPort as the portpriorityvector Note that, given 2 priority vectors A and B, A is better, the same as or worse than B if and only if A > B, A = B, or A < B, respectively January 2014 IEEE 802.1 TSN 18

Issue 2 5 q The reason for (b) in the definition of superior is so that the BMCA will be triggered if the current GM downgrades its quality (i.e., a worse Announce message is received from the same clock and port, which results in a worse messagepriorityvector), just as it is triggered a better Announce message is received from a different clock q However, it appears that (b) will also cause an Announce message received from the current master port, reflecting the current GM, i.e., if the messagepriorityvector is the same as the portpriorityvector, it will still be considered superior, and the PortAnnounceInformation SM will branch to the state SUPERIOR_MASTER_PORT rather than REPEATED_MASTER_PORT q This behavior seems incorrect and, in any case, with the proposed fix of setting syncreceipttimeouttime in the SUPERIOR_MASTER_PORT state would cause it to be set whenever an Announce message is received (whereas it would be desired to set it in this state only when the GM first becomes GM January 2014 IEEE 802.1 TSN 19

Issue 2 6 q This point will be investigated before any changes are made in the 802.1ASbt draft q Comments on this are welcome January 2014 IEEE 802.1 TSN 20

Issue 3 1 q This issue relates to the computation of mean propagation delay using the peer delay mechanism IEEE 802.1AS 2011 and IEEE 1588 2008 do equivalent arithmetic computations when computing mean delay, but the computations are organized differently This appears to not be a problem, because the two sets of computations are equivalent and the same result is obtained given the same input values This issue was pointed out to the editor by [3] q Recall the notation: T 1 = pdelayreqeventegresstimestamp T 2 = pdelayreqeventingresstimestamp T 3 = pdelayrespeventegresstimestamp T 4 = pdelayrespeventingresstimestamp January 2014 IEEE 802.1 TSN 21

Issue 3 2 q In IEEE 802.1AS, the mean path delay is computed as D = r q Where r is the neighborrateratio, which converts T1 and T4 to the timebase of the peer delay responder q In IEEE 1588: ( T4 T1 3 T2 ) ( T 2 T 3 above is replaced by the responseorigintimestamp (of the Pdelay_Resp_Follow_Up message), which contains the pdelayrespeventegresstimestamp, except for any fractional ns portion T 2 above is replaced by the requestreceipttimestamp (of the Pdelay_Resp message), which contains the pdelayreqeventingresstimestamp, except for any fractional ns portion In addition, the correctionfields of Pdelay_Resp and Pdelay_Resp_Follow_Up are subtracted in the numerator The result is (we retain the neighborrateratio factor): ) January 2014 IEEE 802.1 TSN 22

Issue 3 3 D = [ r ( T4 T1 ) ( responseorigintimestamp requestreceipttimestamp) correctionfieldofpdelay_resp correctionfieldofpdelay_resp_follow_up]/ 2 q In 1588, the fractional ns portion of T 2 is subtracted from the correctionfield of Pdelay_Resp, rather than added as in 802.1AS However, the correctionfield of Pdelay_Resp is then subtracted in the equation above, and the two minus signs cancel q The computations in 802.1AS and 1588 are mathematically equivalent, and no change is needed in 802.1ASbt January 2014 IEEE 802.1 TSN 23

References 1 [1] Geoffrey M. Garner, Interoperability with a One-Step Clock on Receive in 802.1ASbt, presentation for IEEE 802.1 TSN TG, July 16, 2013, Revision 1, January 15, 2014. [2] Rune Haugom, emails of November 25, 2013,January 14, 2014, and January 17, 2014. [3] Chris Hall, email of November 19, 2013. [4] Christian Boiger, email of November 4, 2013 January 2014 IEEE 802.1 TSN 24