ÌÇÐÄVlog

Precision Time Protocol (PTP)

What is PTP?

Precision Time Protocol (PTP) is a relatively new protocol that was developed to improve the time synchronization accuracy that is obtainable over a Local Area Network (LAN).Ìý Specifications for PTP are defined in the IEEE-1588 standard.Ìý In PTP terminology, the Grandmaster is the distributor of accurate time and the Slave is the receiver of this time.Ìý The Slave synchronizes itself to the Grandmaster.

The most common network timekeeping protocol is the Network Time Protocol (NTP).Ìý In NTP terminology, the Server is the distributor of accurate time and the Client is the receiver of this time.Ìý The Client synchronizes itself to the Server.

With NTP you can get client synchronization accuracies in the millisecond range.Ìý With PTP you can get slave synchronization accuracies in the nanosecond or microsecond range.Ìý Synchronization accuracy depends not just on the PTP Grandmaster, but also on the network topology such as switch and slave hardware.

Ìý

What is the accuracy of EndRun's PTP?

Products listed below can be configured as a IEEE-1588/PTP Grandmaster Clock.Ìý Here are the timestamp resolution and accuracy specifications:

Model Timestamp Resolution Timestamp Accuracy to UTC (RMS)
Sonoma (GPS)
Network Time Server
8 nanoseconds 30 nanoseconds
Sonoma (CDMA)
Network Time Server
8 nanoseconds 10 microseconds (typical)
Meridian II
Precision TimeBase
8 nanoseconds 10 nanoseconds
Tycho II
Precision TimeBase
8 nanoseconds 25 nanoseconds

Ìý

I want to put my Grandmaster on one subnet, with my servers and workstations on another subnet. How will that work?

The Grandmaster user interface allows you to modify the TTL Value (time-to-live value) in order to accomplish this.Ìý You will also need to modify the TTL Value on your PTP Slave.

Ìý

What is the difference between PTP hardware and software timestamping?

The main difference is in the synchronization accuracy that can be achieved.Ìý With software timestamping as typically implemented (software-only approach), you can see slave synchronization accuracies between 10 and 100 microseconds.Ìý You can achieve this level of accuracy with commonly used network hardware such as standard switches, and computers withÌýsoftware PTP slaves.

With hardware timestamping as implemented on a Sonoma it is possible to achieve time synchronization accuracies of 30 nanoseconds with an 8 nanosecond resolution.Ìý However, in order to get this level of accuracy, both the Grandmaster and the Slave must be capable of hardware timestamping.Ìý This means you will need to purchase specialized hardware to install in each Slave.Ìý In addition, network switches must configured as transparent clocks or boundary clocks.Ìý

Ìý

Can PTP operate over a wide area network (WAN)?

PTP Version 2 has been designed to span over a WAN.Ìý However, performance is dependent on the network configuration.Ìý For example, a network switch would need to be configured as a transparent clock or boundary clock in order to realize the superior synchronization capability.Ìý Otherwise, synchronization of PTP becomes equivalent to NTP.

Ìý

Can PTP be installed in the field?

Yes.Ìý All Sonoma, Meridian, Tycho II, Tempus LX, and Unison Time Servers are capable of operating PTP.Ìý PTP is a relatively low-cost option that can be installed by you at any time.Ìý All that is needed from you is the Ethernet address (MAC) and we can supply a software key and instructions for turning on PTP.Ìý For older products, you may need to upgrade your software first.

Ìý

Where can I get PTP Slave software?

The Precision Time Protocol (PTP) is a relatively new protocol (compared with NTP).Ìý As such, there are fewer options available for you to use for PTP Slave software.Ìý The options that do exist range from software-only solutions to software with hardware timestamping solutions. ÌýFor further information click here.

Ìý

How many PTP Slaves can your Grandmaster support?

Over 2000.Ìý But it depends on various settings and configurations that can increase or decrease the number of slaves that Sonoma can support.Ìý Consider the following:

1.Ìý If using a Boundary Clock, the Sonoma only interfaces with the network switch Boundary Clock.Ìý In this case the capacity is limited by the Boundary Clock switch.

2.Ìý When using a Transparent Clock, the capacity is limited by the frequency of the delay requests and the sync rate.Ìý Sonoma will be able to provide all the slaves with the Sync Packets and Announce Packets.Ìý But, there will be a limit for processing delay requests issued by the slaves.Ìý Our implementation requires about 10 microseconds to handle a delay request / response.Ìý The delay request is used to calculate the slave-to-master delay.Ìý If your network is static the delay should not change and the Sonoma will announce to the slave to use 32-second delay request interval.

Even though the slaves randomize the delay request packets, the request can come in simultaneously.Ìý What happens if delay requests show up simultaneously?Ìý In this case, the Sonoma will not issue a delay response.Ìý The slave will then randomize the delay request interval and issue the request again.Ìý Some slaves will log a notification that a delay response was not received.

Ìý