SlideShare a Scribd company logo
PAGE 1
Stories from the PTP Battlefront
STAC London – October 2016
James Wylie – Director of Technical Services
PAGE 2
Agenda
Precision Time Protocol
A Brief Recap & How it Works
Common Deployment Gotchas
A look at PTP Switches
Upstream Considerations
GPS & Grandmaster Clocks
The Downstream Perspective
Observing Time Quality
Wrap up & Summary
Take Aways & Best Practices
PAGE 3
Agenda
Precision Time Protocol
A Brief Recap & How it Works
PAGE 4
PTP Architecture Review
Distributing high quality time
Grandmaster
GPS
Server / Host
PTP Aware
Network
Network Packet
Broker
Corvil
+/- 40ns
PTP Clients
Accuracy better than 100ns is possible
with IEEE 1588 compliant hardware
PAGE 5
PTP Architecture Review
PTP switches recommended to achieve sub-microsecond
accuracy
PTP Client
PTP-enabled
switch
Grandmaster
GPS
PTP-enabled
switch
All PTP timing packets are accurately timestamped on transmit and receive
5ns/metre propagation delay on Ethernet cables.
BUT: bidirectional communication so subtract half the round-trip time to compensate
• PTPv2 includes options for Transparent Clocks & Unicast / Hybrid Mode
• Most implementations today typically use Boundary Clocks & Multicast
• Discussion today will focus upon BC & MC
PAGE 6
• All PTP messages are multicast UDP with destination ports 319 and 320
• Port 319 used for packets that need to be timestamped
• No IGMP multicast joins needed, since in a PTP-aware path each Ethernet link has got a PTP server at
one end and a PTP client at the other (no multicast routing)
• PTP Announce messages tell the client about the server and Grandmaster
• PTP Sync messages (and optional Follow_Up messages) send the time to the client
• PTP Delay_Req and Delay_Resp allow measurement of the wire RTT
PTP Operation
Point to point Multicast!
PTP Server PTP Client
Sync message (port 319) timestamped at server then client
Optional Follow_Up (port 320) just send the server-side
timestamp from the previous Sync
Delay_Req (port 319) timestamped at client then server
Delay_Resp (port 320) supplies the server-side
timestamp of the last Delay_Req
PAGE 7
Master to Slave difference = T2-T1
Slave to Master difference = T4-T3
One way latency = (Master to Slave diff+ Slave to Master diff) / 2
Offset = Master to Slave diff – One way latency
Offset = ((T2-T1)-(T4-T3))/2
PTP Operation
Slave calculates offset from Master
PTP Master PTP Slave
Sync message
Follow_Up
Delay_Request
Delay_Response
T1
T4
T3
T2
Transceiver Delay
(copper – up to 1000ns)
Transceiver Delay
PAGE 8
Optimal PTP Deployment
Key Points
PTP Client
PTP
switchGrandmaster
GPS
PTP
switch
• Point to point Master–Slave relationship across each link
• PTP Switches do not forward PTP multicast messages
• Timestamping performed in HW on interface
• Offset between Master & Slave is accurately calculated
• Not affected by other traffic on network link
M M S
S
S M
PAGE 9
Agenda
Common Deployment Gotchas
A look at PTP Switches
PAGE 10
Scenario 1
Client not receiving PTP sync messages
PTP Client
PTP
switchGrandmaster
GPS
PTP
switch
M M S
S
S M
Sync
Delay-Req
Delay-Resp
AHA!
PTP uses
multicast…
Ok, so let’s
enable
Multicast
routing
Seems to be
working
now…
Or is it?
ROOT CAUSE
PTP Not enabled on switches
PAGE 11
Scenario 2
Same fundamental issue. PTP not enabled on switches
But client is receiving sync. Why?
ICMP Join
PTP Client
PTP
switchGrandmaster
GPS
PTP
switch
M M S
S
S M
Sync
• Although seemingly working, accuracy will be severely compromised
• Not realising ROI of expensive hardware
• Could go undetected for some time
PAGE 12
Scenario 3
Path Delay not working
PTP Client
PTP
switchGrandmaster
GPS
PTP
switch
M M S
S
S M
Sync
Delay_Req
Delay_Resp
• Common Cause – Misconfiguration
• Slave unable to calculate offset, so time will be out
• Default action is often to assume zero offset
Latencies not accounted for:
• Propagation - 5ns per metre
• Transceiver delay (large with copper – up to 1us)
PAGE 13
Scenario 4
Introduction of a non-PTP switch
PTP Client
PTP
switchGrandmaster
PTP
switch
M M S
S
S M
Standard
Switch
or LL
Switch
S
M
Jitter as PTP
mixes with other
traffic
Example:
• Link speed 1Gbps
• It takes 12us to serialize a 1500 byte packet
• PTP packets getting queued have a huge
impact on achievable accuracy.
Consideration – PTP over WAN:
• Dark fibre vs Ethernet service?
PAGE 14
Agenda
Upstream Considerations
GPS & Grandmaster Clocks
PAGE 15
GPS – Accurate but vulnerable
• Physical Disturbances
• Cable cut
• Signal blocked
• Weather
• Solar Storms
• Sabotage
• Bugs
PAGE 16
• What happens?
• BMCA where resilience is provided
• GM goes into holdover and continues providing time
• Rate of drift and quality of time is dependent
upon the specification (and price) of GM
• Example 0.1 ppm = 100ns per second
• After 1 minute off by 6us
• After 10 minutes off by 60us
Grandmaster
Loss of GPS signal
Grandmaster
GPS
PAGE 17
• 26th Jan 2016 - 13us GPS error
for 12 hours
• Rogue satellite SVN-23
decommissioned
• Error pushed to 15 satellites by
ground system software
• Multiple customers logged
support tickets reporting PPS
errors of 13us
Grandmaster
Inaccurate GPS signal received
PAGE 18
• PTP is designed to publish TAI (International
Atomic time) plus the UTC offset
• Manages leap seconds – all have been
positive so far
• Current offset is 36 seconds
• Next one scheduled for December 31st 2016
• Examples where GM publishes UTC with a
zero offset, instead of TAI.
• How will clients handle the next leap second?
And how do you test that?
Grandmaster
TAI vs UTC
PAGE 19
Agenda
The Downstream Perspective
Observing Time Quality
PAGE 20
Analyzing time quality downstream
Comparison of multiple time sources and clock modeling
Grandmaster
GPS
Server / Host
PTP Enabled
Network
Network Packet
Broker
Corvil
+/- 40ns
PTP Clients
PTP
PTP
PTP
PPS (Pulse per Second)
Timestamped
Packets for
analysis
Independent
free-running
stable clock
PAGE 21
A Selection of memorable issues
Bugs and anomalies discovered in the field
• Various Grandmasters and switches with 1 microsecond of jitter
• Missing delay response messages, resulting in incorrect offset
• PTP Sync to follow-up message delay of up to 5 seconds
• PTP Switch off by 5.5us due to port mis-config 100Mbps / 10Gbps
• 3rd party PTP service providers not meeting SLAs
• Switch that appeared to sync to random offsets from UTC
• E.g. 18 minutes 19.5 seconds or 55 minutes
• Bug: Multiples of 2^40 nanoseconds
PAGE 22
• Compare elapsed
time of free-running
clock with GPS
• Plot accumulated
difference in
microseconds:
• Clock-drift of
about -4.7ppm
Lab test: Holdover Investigation
22
PAGE 23
• Wobble apparent
with pk-pk of
approx 20 us
• Regularity to
wobble
• Oscillation with
5½ min period?
Correct for clock drift
PAGE 24
• Air-conditioning
in lab cycles
roughly every 5½
mins…
• Check changes in
clock frequency:
Suspect Environmental Effect
24
PAGE 25
• Temperature
sensitivity:
-0.4ppm/C
• For every rise in
temp. of 1 degree
Celsius, clock slows
by 0.4ppm
Clock Frequency Variance
Due to Temperature Fluctuation
25
PAGE 26
PTP & UTC Traceability for MiFID II
Detection Reporting
• Track PTP against PPS
• Alert on PTP jitter over
specified threshold
• Passively monitor PTP
traffic to multiple hosts
and validate quality
• Time series of PTP
accuracy for audits
• Explicit UTC sync Y/N
flag and alerting
• Continuous Sync health
reported with order
records
PAGE 27
Agenda
Wrap up & Summary
Take Aways & Best Practices
PAGE 28
Summary
• With Boundary Clock implementation, accuracy is achieved with a
Master/Slave across each physical link.
• Multicast forwarding (across switch) is NOT required
• PTP Does NOT require a dedicated network (just PTP aware switches)
• Ensure PTP switches are enabled
• Use multiple time sources to spot anomalies
• Bugs do exist, so expect the unexpected
PAGE 29
Thank You

More Related Content

What's hot

High Definition On MPEG In Internet Protocol (Wbm Comments)
High Definition On MPEG In Internet Protocol (Wbm Comments)High Definition On MPEG In Internet Protocol (Wbm Comments)
High Definition On MPEG In Internet Protocol (Wbm Comments)
Kelly Daniels
 
Precision Timing Protocol NAB2010
Precision Timing Protocol NAB2010Precision Timing Protocol NAB2010
Precision Timing Protocol NAB2010
Kelly Daniels
 
features of tcp important for the web
features of tcp  important for the webfeatures of tcp  important for the web
features of tcp important for the web
rinnocente
 
Tech talk network - friend or foe
Tech talk   network - friend or foeTech talk   network - friend or foe
Tech talk network - friend or foe
aragozin
 
A Baker's dozen of TCP
A Baker's dozen of TCPA Baker's dozen of TCP
A Baker's dozen of TCP
Stephen Hemminger
 
Iperf Tutorial
Iperf Tutorial Iperf Tutorial
Iperf Tutorial
Febrian ‎
 
RTP.ppt
RTP.pptRTP.ppt
RTP.ppt
Videoguy
 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol
Jayaprakash Nagaruru
 
Sania rtp
Sania rtpSania rtp
Sania rtp
saniacorreya
 
Synchronization For High Frequency Trading Networks: A How To Guide
Synchronization For High Frequency Trading Networks: A How To GuideSynchronization For High Frequency Trading Networks: A How To Guide
Synchronization For High Frequency Trading Networks: A How To Guide
jeremyonyan
 
Rtp
RtpRtp
RTP
RTPRTP
Rtp
RtpRtp
Rtp
RtpRtp
RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSP
Dev Heba
 
Rtsp
RtspRtsp
Clock Generator/Jitter Cleaner with Integrated VCOs
Clock Generator/Jitter Cleaner with Integrated VCOsClock Generator/Jitter Cleaner with Integrated VCOs
Clock Generator/Jitter Cleaner with Integrated VCOs
Premier Farnell
 
Mitigating SIP Overload Using a Control-Theoretic Approach
Mitigating SIP Overload Using a Control-Theoretic ApproachMitigating SIP Overload Using a Control-Theoretic Approach
Mitigating SIP Overload Using a Control-Theoretic Approach
Yang Hong
 
Timing Generators and ClockCleaner Solutions
Timing Generators and ClockCleaner SolutionsTiming Generators and ClockCleaner Solutions
Timing Generators and ClockCleaner Solutions
Premier Farnell
 
In Service Monitoring and Assurance at ITSF 2014
In Service Monitoring and Assurance at ITSF 2014 In Service Monitoring and Assurance at ITSF 2014
In Service Monitoring and Assurance at ITSF 2014
ADVA
 

What's hot (20)

High Definition On MPEG In Internet Protocol (Wbm Comments)
High Definition On MPEG In Internet Protocol (Wbm Comments)High Definition On MPEG In Internet Protocol (Wbm Comments)
High Definition On MPEG In Internet Protocol (Wbm Comments)
 
Precision Timing Protocol NAB2010
Precision Timing Protocol NAB2010Precision Timing Protocol NAB2010
Precision Timing Protocol NAB2010
 
features of tcp important for the web
features of tcp  important for the webfeatures of tcp  important for the web
features of tcp important for the web
 
Tech talk network - friend or foe
Tech talk   network - friend or foeTech talk   network - friend or foe
Tech talk network - friend or foe
 
A Baker's dozen of TCP
A Baker's dozen of TCPA Baker's dozen of TCP
A Baker's dozen of TCP
 
Iperf Tutorial
Iperf Tutorial Iperf Tutorial
Iperf Tutorial
 
RTP.ppt
RTP.pptRTP.ppt
RTP.ppt
 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol
 
Sania rtp
Sania rtpSania rtp
Sania rtp
 
Synchronization For High Frequency Trading Networks: A How To Guide
Synchronization For High Frequency Trading Networks: A How To GuideSynchronization For High Frequency Trading Networks: A How To Guide
Synchronization For High Frequency Trading Networks: A How To Guide
 
Rtp
RtpRtp
Rtp
 
RTP
RTPRTP
RTP
 
Rtp
RtpRtp
Rtp
 
Rtp
RtpRtp
Rtp
 
RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSP
 
Rtsp
RtspRtsp
Rtsp
 
Clock Generator/Jitter Cleaner with Integrated VCOs
Clock Generator/Jitter Cleaner with Integrated VCOsClock Generator/Jitter Cleaner with Integrated VCOs
Clock Generator/Jitter Cleaner with Integrated VCOs
 
Mitigating SIP Overload Using a Control-Theoretic Approach
Mitigating SIP Overload Using a Control-Theoretic ApproachMitigating SIP Overload Using a Control-Theoretic Approach
Mitigating SIP Overload Using a Control-Theoretic Approach
 
Timing Generators and ClockCleaner Solutions
Timing Generators and ClockCleaner SolutionsTiming Generators and ClockCleaner Solutions
Timing Generators and ClockCleaner Solutions
 
In Service Monitoring and Assurance at ITSF 2014
In Service Monitoring and Assurance at ITSF 2014 In Service Monitoring and Assurance at ITSF 2014
In Service Monitoring and Assurance at ITSF 2014
 

Viewers also liked

MiFID II Compliance Solution from Corvil
MiFID II Compliance Solution from CorvilMiFID II Compliance Solution from Corvil
MiFID II Compliance Solution from Corvil
Corvil
 
Petrichor Energy (TSX.V - PTP) Corporate Presentation
Petrichor Energy (TSX.V - PTP) Corporate PresentationPetrichor Energy (TSX.V - PTP) Corporate Presentation
Petrichor Energy (TSX.V - PTP) Corporate Presentation
Viral Network Inc
 
Mikko lin++0429 myanmar brief 2014
Mikko lin++0429 myanmar brief 2014Mikko lin++0429 myanmar brief 2014
Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...
Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...
Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...
idescitation
 
Stp study chhenai
Stp study chhenaiStp study chhenai
Stp study chhenai
Ishfaq Mohd
 
Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)
Sri Prasanna
 
Compliance Guide for NFA-Registered Firms
Compliance Guide for NFA-Registered FirmsCompliance Guide for NFA-Registered Firms
Compliance Guide for NFA-Registered Firms
Actiance, Inc.
 
2014 Ecommerce Holiday Prep
2014 Ecommerce Holiday Prep2014 Ecommerce Holiday Prep
2014 Ecommerce Holiday Prep
Tenzing Managed IT Services
 
Insperity Business Confidence Survey Q2 2015 [Infographic]
Insperity Business Confidence Survey Q2 2015 [Infographic]Insperity Business Confidence Survey Q2 2015 [Infographic]
Insperity Business Confidence Survey Q2 2015 [Infographic]
Insperity
 
Linking Open Government Data at Scale
Linking Open Government Data at Scale Linking Open Government Data at Scale
Linking Open Government Data at Scale
Bernadette Hyland-Wood
 
Real time analytics-inthe_cloud
Real time analytics-inthe_cloudReal time analytics-inthe_cloud
Real time analytics-inthe_cloud
Actian Corporation
 
Episode 5 Justin Somaini of Box.com
Episode 5 Justin Somaini of Box.comEpisode 5 Justin Somaini of Box.com
Episode 5 Justin Somaini of Box.com
Contrast Security
 
Data on demand flexible archiving in a big content world
Data on demand   flexible archiving in a big content worldData on demand   flexible archiving in a big content world
Data on demand flexible archiving in a big content world
Actuate Corporation
 
Zaptech Solutions - Software Development Company
Zaptech Solutions - Software Development CompanyZaptech Solutions - Software Development Company
Zaptech Solutions - Software Development Company
Zaptech Solutions
 
KServe Retail Outlet
KServe Retail OutletKServe Retail Outlet
KServe Retail Outlet
Kallos Solutions Pvt Ltd
 
Infographic: 10 Jaw-dropping Skype for Business Stats
Infographic: 10 Jaw-dropping Skype for Business StatsInfographic: 10 Jaw-dropping Skype for Business Stats
Infographic: 10 Jaw-dropping Skype for Business Stats
Exinda
 
Product Engineering
Product EngineeringProduct Engineering
Product Engineering
Geometric Ltd.
 
KeyBank Accruent Expesite Case Study
KeyBank Accruent Expesite Case StudyKeyBank Accruent Expesite Case Study
KeyBank Accruent Expesite Case Study
Accruent
 
Mhta.private.cloud.final.16.9
Mhta.private.cloud.final.16.9Mhta.private.cloud.final.16.9
Mhta.private.cloud.final.16.9
Virteva Inc.
 
Call Management Services Should be Part of Every Business Telephone System
Call Management Services Should be Part of Every Business Telephone SystemCall Management Services Should be Part of Every Business Telephone System
Call Management Services Should be Part of Every Business Telephone System
Mahindra Comviva
 

Viewers also liked (20)

MiFID II Compliance Solution from Corvil
MiFID II Compliance Solution from CorvilMiFID II Compliance Solution from Corvil
MiFID II Compliance Solution from Corvil
 
Petrichor Energy (TSX.V - PTP) Corporate Presentation
Petrichor Energy (TSX.V - PTP) Corporate PresentationPetrichor Energy (TSX.V - PTP) Corporate Presentation
Petrichor Energy (TSX.V - PTP) Corporate Presentation
 
Mikko lin++0429 myanmar brief 2014
Mikko lin++0429 myanmar brief 2014Mikko lin++0429 myanmar brief 2014
Mikko lin++0429 myanmar brief 2014
 
Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...
Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...
Conducted EMI Reduction Accomplished via IEEE 1588 PTP for Grid Connected Par...
 
Stp study chhenai
Stp study chhenaiStp study chhenai
Stp study chhenai
 
Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)
 
Compliance Guide for NFA-Registered Firms
Compliance Guide for NFA-Registered FirmsCompliance Guide for NFA-Registered Firms
Compliance Guide for NFA-Registered Firms
 
2014 Ecommerce Holiday Prep
2014 Ecommerce Holiday Prep2014 Ecommerce Holiday Prep
2014 Ecommerce Holiday Prep
 
Insperity Business Confidence Survey Q2 2015 [Infographic]
Insperity Business Confidence Survey Q2 2015 [Infographic]Insperity Business Confidence Survey Q2 2015 [Infographic]
Insperity Business Confidence Survey Q2 2015 [Infographic]
 
Linking Open Government Data at Scale
Linking Open Government Data at Scale Linking Open Government Data at Scale
Linking Open Government Data at Scale
 
Real time analytics-inthe_cloud
Real time analytics-inthe_cloudReal time analytics-inthe_cloud
Real time analytics-inthe_cloud
 
Episode 5 Justin Somaini of Box.com
Episode 5 Justin Somaini of Box.comEpisode 5 Justin Somaini of Box.com
Episode 5 Justin Somaini of Box.com
 
Data on demand flexible archiving in a big content world
Data on demand   flexible archiving in a big content worldData on demand   flexible archiving in a big content world
Data on demand flexible archiving in a big content world
 
Zaptech Solutions - Software Development Company
Zaptech Solutions - Software Development CompanyZaptech Solutions - Software Development Company
Zaptech Solutions - Software Development Company
 
KServe Retail Outlet
KServe Retail OutletKServe Retail Outlet
KServe Retail Outlet
 
Infographic: 10 Jaw-dropping Skype for Business Stats
Infographic: 10 Jaw-dropping Skype for Business StatsInfographic: 10 Jaw-dropping Skype for Business Stats
Infographic: 10 Jaw-dropping Skype for Business Stats
 
Product Engineering
Product EngineeringProduct Engineering
Product Engineering
 
KeyBank Accruent Expesite Case Study
KeyBank Accruent Expesite Case StudyKeyBank Accruent Expesite Case Study
KeyBank Accruent Expesite Case Study
 
Mhta.private.cloud.final.16.9
Mhta.private.cloud.final.16.9Mhta.private.cloud.final.16.9
Mhta.private.cloud.final.16.9
 
Call Management Services Should be Part of Every Business Telephone System
Call Management Services Should be Part of Every Business Telephone SystemCall Management Services Should be Part of Every Business Telephone System
Call Management Services Should be Part of Every Business Telephone System
 

Similar to Stories from the PTP Battlefront - Corvil at STAC London

High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
Seung-Bum Lee
 
Field Measurement Options for Network Operators
Field Measurement Options for Network OperatorsField Measurement Options for Network Operators
Field Measurement Options for Network Operators
ADVA
 
Timing and synchronization for 5G over optical networks
Timing and synchronization for 5G over optical networksTiming and synchronization for 5G over optical networks
Timing and synchronization for 5G over optical networks
ADVA
 
Synchronization Protection and Redundancy in NG Networks
Synchronization Protection and Redundancy in NG NetworksSynchronization Protection and Redundancy in NG Networks
Synchronization Protection and Redundancy in NG Networks
ADVA
 
Synchronization protection & redundancy in ng networks itsf 2015
Synchronization protection & redundancy in ng networks   itsf 2015Synchronization protection & redundancy in ng networks   itsf 2015
Synchronization protection & redundancy in ng networks itsf 2015
Daniel Sproats
 
Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...
Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...
Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...
ADVA
 
Performance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdfPerformance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdf
Phcng785014
 
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
ADVA
 
Fast Convergence Techniques
Fast Convergence TechniquesFast Convergence Techniques
Fast Convergence Techniques
Bangladesh Network Operators Group
 
Methods for Improving NTP
Methods for Improving NTPMethods for Improving NTP
Methods for Improving NTP
ADVA
 
Evaluation of Precision Time Synchronisation Methods for Substation Applications
Evaluation of Precision Time Synchronisation Methods for Substation ApplicationsEvaluation of Precision Time Synchronisation Methods for Substation Applications
Evaluation of Precision Time Synchronisation Methods for Substation Applications
David Ingram
 
Network Application Performance
Network Application PerformanceNetwork Application Performance
Network Application Performance
Shumon Huque
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
Dr Shashikant Athawale
 
Designing TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion ControlDesigning TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion Control
soohyunc
 
SWIFT: Tango's Infrastructure For Real-Time Video Call Service
SWIFT: Tango's Infrastructure For Real-Time Video Call ServiceSWIFT: Tango's Infrastructure For Real-Time Video Call Service
SWIFT: Tango's Infrastructure For Real-Time Video Call Service
Meng ZHANG
 
Assured timing for power networks
Assured timing for power networksAssured timing for power networks
Assured timing for power networks
Adtran
 
Aceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfAceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdf
WifiCren
 
Improving NTP Installed Base Time Accuracy
Improving NTP Installed Base Time AccuracyImproving NTP Installed Base Time Accuracy
Improving NTP Installed Base Time Accuracy
ADVA
 
RIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsRIPE 80: Buffers and Protocols
RIPE 80: Buffers and Protocols
APNIC
 
ePRTC in data centers – GNSS backup as a service (GBaaS)
ePRTC in data centers – GNSS backup as a service (GBaaS)ePRTC in data centers – GNSS backup as a service (GBaaS)
ePRTC in data centers – GNSS backup as a service (GBaaS)
ADVA
 

Similar to Stories from the PTP Battlefront - Corvil at STAC London (20)

High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
 
Field Measurement Options for Network Operators
Field Measurement Options for Network OperatorsField Measurement Options for Network Operators
Field Measurement Options for Network Operators
 
Timing and synchronization for 5G over optical networks
Timing and synchronization for 5G over optical networksTiming and synchronization for 5G over optical networks
Timing and synchronization for 5G over optical networks
 
Synchronization Protection and Redundancy in NG Networks
Synchronization Protection and Redundancy in NG NetworksSynchronization Protection and Redundancy in NG Networks
Synchronization Protection and Redundancy in NG Networks
 
Synchronization protection & redundancy in ng networks itsf 2015
Synchronization protection & redundancy in ng networks   itsf 2015Synchronization protection & redundancy in ng networks   itsf 2015
Synchronization protection & redundancy in ng networks itsf 2015
 
Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...
Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...
Time sync: Existing mobile networks need to be ready for 5G and time-sensitiv...
 
Performance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdfPerformance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdf
 
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
 
Fast Convergence Techniques
Fast Convergence TechniquesFast Convergence Techniques
Fast Convergence Techniques
 
Methods for Improving NTP
Methods for Improving NTPMethods for Improving NTP
Methods for Improving NTP
 
Evaluation of Precision Time Synchronisation Methods for Substation Applications
Evaluation of Precision Time Synchronisation Methods for Substation ApplicationsEvaluation of Precision Time Synchronisation Methods for Substation Applications
Evaluation of Precision Time Synchronisation Methods for Substation Applications
 
Network Application Performance
Network Application PerformanceNetwork Application Performance
Network Application Performance
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Designing TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion ControlDesigning TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion Control
 
SWIFT: Tango's Infrastructure For Real-Time Video Call Service
SWIFT: Tango's Infrastructure For Real-Time Video Call ServiceSWIFT: Tango's Infrastructure For Real-Time Video Call Service
SWIFT: Tango's Infrastructure For Real-Time Video Call Service
 
Assured timing for power networks
Assured timing for power networksAssured timing for power networks
Assured timing for power networks
 
Aceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfAceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdf
 
Improving NTP Installed Base Time Accuracy
Improving NTP Installed Base Time AccuracyImproving NTP Installed Base Time Accuracy
Improving NTP Installed Base Time Accuracy
 
RIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsRIPE 80: Buffers and Protocols
RIPE 80: Buffers and Protocols
 
ePRTC in data centers – GNSS backup as a service (GBaaS)
ePRTC in data centers – GNSS backup as a service (GBaaS)ePRTC in data centers – GNSS backup as a service (GBaaS)
ePRTC in data centers – GNSS backup as a service (GBaaS)
 

Recently uploaded

Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 

Recently uploaded (20)

Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 

Stories from the PTP Battlefront - Corvil at STAC London

  • 1. PAGE 1 Stories from the PTP Battlefront STAC London – October 2016 James Wylie – Director of Technical Services
  • 2. PAGE 2 Agenda Precision Time Protocol A Brief Recap & How it Works Common Deployment Gotchas A look at PTP Switches Upstream Considerations GPS & Grandmaster Clocks The Downstream Perspective Observing Time Quality Wrap up & Summary Take Aways & Best Practices
  • 3. PAGE 3 Agenda Precision Time Protocol A Brief Recap & How it Works
  • 4. PAGE 4 PTP Architecture Review Distributing high quality time Grandmaster GPS Server / Host PTP Aware Network Network Packet Broker Corvil +/- 40ns PTP Clients Accuracy better than 100ns is possible with IEEE 1588 compliant hardware
  • 5. PAGE 5 PTP Architecture Review PTP switches recommended to achieve sub-microsecond accuracy PTP Client PTP-enabled switch Grandmaster GPS PTP-enabled switch All PTP timing packets are accurately timestamped on transmit and receive 5ns/metre propagation delay on Ethernet cables. BUT: bidirectional communication so subtract half the round-trip time to compensate • PTPv2 includes options for Transparent Clocks & Unicast / Hybrid Mode • Most implementations today typically use Boundary Clocks & Multicast • Discussion today will focus upon BC & MC
  • 6. PAGE 6 • All PTP messages are multicast UDP with destination ports 319 and 320 • Port 319 used for packets that need to be timestamped • No IGMP multicast joins needed, since in a PTP-aware path each Ethernet link has got a PTP server at one end and a PTP client at the other (no multicast routing) • PTP Announce messages tell the client about the server and Grandmaster • PTP Sync messages (and optional Follow_Up messages) send the time to the client • PTP Delay_Req and Delay_Resp allow measurement of the wire RTT PTP Operation Point to point Multicast! PTP Server PTP Client Sync message (port 319) timestamped at server then client Optional Follow_Up (port 320) just send the server-side timestamp from the previous Sync Delay_Req (port 319) timestamped at client then server Delay_Resp (port 320) supplies the server-side timestamp of the last Delay_Req
  • 7. PAGE 7 Master to Slave difference = T2-T1 Slave to Master difference = T4-T3 One way latency = (Master to Slave diff+ Slave to Master diff) / 2 Offset = Master to Slave diff – One way latency Offset = ((T2-T1)-(T4-T3))/2 PTP Operation Slave calculates offset from Master PTP Master PTP Slave Sync message Follow_Up Delay_Request Delay_Response T1 T4 T3 T2 Transceiver Delay (copper – up to 1000ns) Transceiver Delay
  • 8. PAGE 8 Optimal PTP Deployment Key Points PTP Client PTP switchGrandmaster GPS PTP switch • Point to point Master–Slave relationship across each link • PTP Switches do not forward PTP multicast messages • Timestamping performed in HW on interface • Offset between Master & Slave is accurately calculated • Not affected by other traffic on network link M M S S S M
  • 9. PAGE 9 Agenda Common Deployment Gotchas A look at PTP Switches
  • 10. PAGE 10 Scenario 1 Client not receiving PTP sync messages PTP Client PTP switchGrandmaster GPS PTP switch M M S S S M Sync Delay-Req Delay-Resp AHA! PTP uses multicast… Ok, so let’s enable Multicast routing Seems to be working now… Or is it? ROOT CAUSE PTP Not enabled on switches
  • 11. PAGE 11 Scenario 2 Same fundamental issue. PTP not enabled on switches But client is receiving sync. Why? ICMP Join PTP Client PTP switchGrandmaster GPS PTP switch M M S S S M Sync • Although seemingly working, accuracy will be severely compromised • Not realising ROI of expensive hardware • Could go undetected for some time
  • 12. PAGE 12 Scenario 3 Path Delay not working PTP Client PTP switchGrandmaster GPS PTP switch M M S S S M Sync Delay_Req Delay_Resp • Common Cause – Misconfiguration • Slave unable to calculate offset, so time will be out • Default action is often to assume zero offset Latencies not accounted for: • Propagation - 5ns per metre • Transceiver delay (large with copper – up to 1us)
  • 13. PAGE 13 Scenario 4 Introduction of a non-PTP switch PTP Client PTP switchGrandmaster PTP switch M M S S S M Standard Switch or LL Switch S M Jitter as PTP mixes with other traffic Example: • Link speed 1Gbps • It takes 12us to serialize a 1500 byte packet • PTP packets getting queued have a huge impact on achievable accuracy. Consideration – PTP over WAN: • Dark fibre vs Ethernet service?
  • 15. PAGE 15 GPS – Accurate but vulnerable • Physical Disturbances • Cable cut • Signal blocked • Weather • Solar Storms • Sabotage • Bugs
  • 16. PAGE 16 • What happens? • BMCA where resilience is provided • GM goes into holdover and continues providing time • Rate of drift and quality of time is dependent upon the specification (and price) of GM • Example 0.1 ppm = 100ns per second • After 1 minute off by 6us • After 10 minutes off by 60us Grandmaster Loss of GPS signal Grandmaster GPS
  • 17. PAGE 17 • 26th Jan 2016 - 13us GPS error for 12 hours • Rogue satellite SVN-23 decommissioned • Error pushed to 15 satellites by ground system software • Multiple customers logged support tickets reporting PPS errors of 13us Grandmaster Inaccurate GPS signal received
  • 18. PAGE 18 • PTP is designed to publish TAI (International Atomic time) plus the UTC offset • Manages leap seconds – all have been positive so far • Current offset is 36 seconds • Next one scheduled for December 31st 2016 • Examples where GM publishes UTC with a zero offset, instead of TAI. • How will clients handle the next leap second? And how do you test that? Grandmaster TAI vs UTC
  • 19. PAGE 19 Agenda The Downstream Perspective Observing Time Quality
  • 20. PAGE 20 Analyzing time quality downstream Comparison of multiple time sources and clock modeling Grandmaster GPS Server / Host PTP Enabled Network Network Packet Broker Corvil +/- 40ns PTP Clients PTP PTP PTP PPS (Pulse per Second) Timestamped Packets for analysis Independent free-running stable clock
  • 21. PAGE 21 A Selection of memorable issues Bugs and anomalies discovered in the field • Various Grandmasters and switches with 1 microsecond of jitter • Missing delay response messages, resulting in incorrect offset • PTP Sync to follow-up message delay of up to 5 seconds • PTP Switch off by 5.5us due to port mis-config 100Mbps / 10Gbps • 3rd party PTP service providers not meeting SLAs • Switch that appeared to sync to random offsets from UTC • E.g. 18 minutes 19.5 seconds or 55 minutes • Bug: Multiples of 2^40 nanoseconds
  • 22. PAGE 22 • Compare elapsed time of free-running clock with GPS • Plot accumulated difference in microseconds: • Clock-drift of about -4.7ppm Lab test: Holdover Investigation 22
  • 23. PAGE 23 • Wobble apparent with pk-pk of approx 20 us • Regularity to wobble • Oscillation with 5½ min period? Correct for clock drift
  • 24. PAGE 24 • Air-conditioning in lab cycles roughly every 5½ mins… • Check changes in clock frequency: Suspect Environmental Effect 24
  • 25. PAGE 25 • Temperature sensitivity: -0.4ppm/C • For every rise in temp. of 1 degree Celsius, clock slows by 0.4ppm Clock Frequency Variance Due to Temperature Fluctuation 25
  • 26. PAGE 26 PTP & UTC Traceability for MiFID II Detection Reporting • Track PTP against PPS • Alert on PTP jitter over specified threshold • Passively monitor PTP traffic to multiple hosts and validate quality • Time series of PTP accuracy for audits • Explicit UTC sync Y/N flag and alerting • Continuous Sync health reported with order records
  • 27. PAGE 27 Agenda Wrap up & Summary Take Aways & Best Practices
  • 28. PAGE 28 Summary • With Boundary Clock implementation, accuracy is achieved with a Master/Slave across each physical link. • Multicast forwarding (across switch) is NOT required • PTP Does NOT require a dedicated network (just PTP aware switches) • Ensure PTP switches are enabled • Use multiple time sources to spot anomalies • Bugs do exist, so expect the unexpected