Professional Documents
Culture Documents
IEEE1588v2
Ron Cohen
Resolute Networks
ronc@resolutenetworks.com
Agenda
• Status
• PTPv1 overview
• PTPv2 major additions
• Transparent clocks
• PTP and TICTOC
2
The Precision Time Protocol (PTP)
• PTPv1 published in 2002
• Industries involved:
v1: Industrial Automation, T&M, Military, Power Generation and
Distribution
v2 : Audio-Visio Bridges (802.1AS), Telecom and Mobile
• Symposia in 2003, 2004, 2005, and 2006. 2007 in Vienna
• Products: Microprocessors, GPS Linked Clocks, Boundary Clocks,
NIC Cards, Protocol Stacks, RF Instrumentation, Aircraft Flight
Monitoring Instruments, etc.
• Information: http://ieee1588.nist.gov
• Version 2 PAR approved March 2005. Technical work
completed
3
PTPv1 objectives
• Sub-microsecond synchronization
• Intended for relatively localized systems
• Applicable to networks supporting multicast
• Simple, administration free installation
• Support heterogeneous systems of clocks with
varying precision, resolution and stability
• Minimal resource requirements on networks and
host components
4
Protocol overview
• Timing Protocol
Align slaves to master time
Measure delay between master and slave
Measure per-link delay (v2)
5
PTP Master-Slave Hierarchy
6
Timing Protocol Operation
7
Precision using HW time-stamping
8
1-step and 2-step clocks
• 1-step clock updates accurate timestamp (t1) in
Sync message
• 2-step clock sends accurate timestamp (t1) in a
Follow_Up message
Simplify design while avoiding queuing noise
Ease integration of security extensions
9
PTPv2 major additions
• Synchronization accuracies better than 1 nanosecond
• Higher sampling/message rates
• Unicast communication
• Correction for asymmetry
• Transparent clocks
• Redundancy
• Configurable synchronization hierarchy
• Decouple sync messaging from hierarchy signaling
• Formal mechanisms for message extensions
• Mappings to UDP/IPv4&6, Ethernet w/o VLAN, (also
DeviceNet™, PROFINET, ControlNet™)
10
Sync and Delay-Req formats
11
End-to-End Transparent Clocks
12
Peer-to-Peer Transparent Clocks
13
Peer Delay Measurement (Optional)
14
E2E TC Enabled PSN
15
P2P TC Enabled PSN
16
Comparison between switches
Boundary Clock E2E TC P2P TC
Clock Synchronized Syntonized Syntonized
17
PTP protocol extensions
• Define a profile that selects optional feature set,
default and range of values
• Define TLV extension to messages
• Define flag-fields to be carried in event messages
• Define alternate management scheme (SNMP)
• Define alternate synchronization hierarchy
selection (routing) algorithm
• Define additional transport mapping (PTP over
MPLS)
• Define alternate clock quality levels and attributes
18
PTP and TICTOC
Requirements Description
Services Frequency, Phase, Time and meta-Time services
Precision Nano-seconds accuracy demonstrated
Sub nano-seconds granularity
19
PTP and TICTOC
Derived Description
Requirements
20
Questions?
Ron Cohen
Resolute Networks
ronc@resoluteNetworks.com
NTP message format
22