Best Practices For IEEE 1588/ PTP Network Deployment
Best Practices For IEEE 1588/ PTP Network Deployment
WHITE PAPER
Abstract
With the recent ratification of the IEEE 1588-2008 protocol specification also known as Precision Time Protocol (PTP) Version 2 distribution of precise time and frequency over Ethernet network infrastructures enters a new phase. By replacing costly TDM backhaul lines with Ethernet, service providers can reduce recurring backhaul line costs by up to 90% while simultaneously boosting network capacity for bandwidth hungry applications like text messaging, music downloads and video streaming. Until now, many network service providers have been reluctant to transition from TDM to Ethernet backhaul due to Ethernets inherent lack of an adequate timing and synchronization mechanism. However, with the advent of IEEE 1588-2008, providing precise timing and synchronization over Ethernet is no longer an issue. IEEE 1588-2008 has now been adapted to meet the more sophisticated synchronization requirements of telecommunications applications. It captures those requirements by providing a set of added capabilities and protocol extensions that allow service providers to fine tune their packet-based networks for the stringent timing and synchronization requirements of telecom-oriented applications. Some of these capabilities, like frequency synchronization and multicast support, are explicitly supported within the IEEE 1588-2008 framework while other capabilities, such as support of unicast and telecom profile extensions, provide the higher level of accuracy and performance optimization that telecom requires. As service providers begin to deploy IEEE 1588-2008, they need to understand how these different capabilities, or lack of them, may impact their network performance and service level agreements. Optimal results can be achieved if they can anticipate future requirements and choose a carrier class PTP solution that offers the highest level of resiliency, performance, scalability and management.
and so too is minimizing the amount of bandwidth consumed. Unicast support helps achieve these objectives. Higher message rates: Based on the first version of the standard, IEEE 1588 masters and clients send message packets every 30 seconds by default. Telecoms much higher timing requirements, however, call for commensurately higher message rates (up to 64 times higher). The required frequency is dependent on several factors, for example, the performance of the client device, the stability of the clients local oscillator, and the amount of noise on the network. A good starting point is 16 messages per second and to adjust from there based on bandwidth availability and timing performance. A grandmaster clock must therefore be able to both sustain high message rates for potentially thousands of clients and also allow operators to adjust those rates as needed. Shorter message formats: The timestamps in the first version of IEEE 1588 were 165 octets and included information about the source and quality of the clock. As the source and quality dont change often, IEEE 1588-2008 separates the message into two components: 1) an announce message with details about the clock, and 2) a smaller 44 octet PDU for synchronization messages. Trimming the message size thus allows the telecom provider to achieve the higher message rates required while minimizing the bandwidth required to do that. Best grandmaster algorithm: It is possible that PTP clients and grandmasters will lose their timing reference due to network outages or other reasons. IEEE 1588-2008 specifies that clients support a best master clock (BMC) algorithm. This enables the device to scan the network and identify the best possible reference available as a replacement taking into account the quality of the timestamps received as measured via special message exchange.
Node B/BTS
Ethernet
Ethernet
Ethernet/IP Network
SSU
Integrated IEEE 1588 Management and Performance Metrics
Ethernet
Ethernet
Ethernet Switch
Ethernet Ethernet
Node B/BTS
Boundary clock
T1/E1 sync reference
Ethernet Ethernet Node B/BTS
Grandmaster
Specified transport over more network layer protocols (e.g., UDP/IPv4, UDP/IPv6, Ethernet): IEEE 1588-2008 gives operators the flexibility to specify alternative network layer protocols over which to route synchronization traffic. This allows operators to better manage how they allocate resources according to packet type and network transport availability. IEEE 1588-2008 telecom profiles provide service providers and network equipment manufacturers with the ability to fine-tune timing and synchronization parameters to meet the requirements of their specific applications and are an indispensable component of any comprehensive PTP solution.
dynamic mode, PTP clients initiate requests for resources from the grandmaster or boundary clock and auto-negotiate for allocation of available resources. In order to allow maximum network performance and optimization, PTP clients should support both static and dynamic reservations to ensure optimal network performance and efficient allocation of network resources. IEEE 1588 clients may be implemented in several different ways. The simplest and least intrusive implementation is a PTP translator. A PTP translator is essentially a client-in-a-box. It is a standalone device that has a PTP-over-Ethernet interface for communicating with the PTP grandmaster or boundary clock and multiple T1/E1 interfaces for communicating with legacy TDM-based end-point devices, such as base stations that lack a native PTP client on board. The advantage of implementing a PTP translator solution is that it enables network service providers and equipment vendors to transparently implement Ethernet backhaul at a very low cost without having to make any modifications to existing legacy end point devices. The end point device thinks it is still communicating over a legacy TDM line while the translator transparently performs the TDM-to-Ethernet conversion. Alternatively, native IEEE 1588-2008 clients may also be sourced off-the-shelf from any number of third-party PTP client vendors. By virtue of the fact that PTP is a standard, any PTP compliant third-party client should, in theory, be interoperable with any PTP compliant grandmaster clock. The operative word here is should. There may be instances where a vendor updates their PTP client implementation without completing thorough interoperability testing with the IEEE 1588-2008 grandmaster vendor beforehand which could result in unforeseen interoperability problems, and in extreme cases, a potential disruption of critical services. A third means of implementing PTP clients is to purchase an IEEE 1588-2008 client development tool kit and software licensing rights from an IEEE 1588-2008 client software vendor. In this case, if designed in properly, the service provider or network equipment
Client
Master
t1
Network
Sync follow_up
Slave
IEEE-1588 processor
t2
t3 t4
delay_req. delay_resp.
Ethernet/IP Network
Master clock sends: 1. Sync message 2. Follow_up message 4. Delay_resp. message Slave clock sends: 3. Delay_ req. message
vendor can port IEEE 1588-2008 client software directly onto its existing hardware platform, such as a legacy base station, without the need for additional software or circuit board upgrades. As is the case with sourcing any third-party client solution, the service provider or network equipment manufacturer must assure continued interoperability and compatibility between the grandmaster and client vendors as they introduce new features and new software releases. In many cases, service providers and network equipment vendors may choose to implement a hybrid client solution, where a mix of
native PTP client devices and translators coexist within the same network infrastructure. Figure 3 illustrates a typical hybrid PTP solution consisting of a combination of native PTP client devices and PTP translators. This type of solution is only possible, however, if all PTP network components from grandmaster to boundary clocks to clients remain in lock step with respect to their release levels and supported feature sets.
Node B/BTS
Ethernet
Ethernet
Ethernet
Ethernet
Node B/BTS
Ethernet
Ethernet
Ethernet
Ethernet
Node B/BTS
performance analysis and troubleshooting along with the ability to manage all aspects of the PTP network including: Faults and alarms Configuration Accounting Performance metrics Security Inventory management Software downloads Figure 4 illustrates a unified management approach which provides complete end-to-end visibility of all IEEE 1588 network elements under a common network management umbrella.
Web client
Web client
Web client
Web client
TCP/IP Network
SNMP
Carrier Class IEEE 1588-2008 Components: The PTP standard specifically calls for a fit for purpose method of timing and synchronization in telecom applications. That implies timing solutions, specifically grandmaster clocks and PTP clients, are also fit for this purpose. It also means providing carrier class hardware, software, and management components that can provide the highest level of performance, reliability and serviceability. These include: Redundant power supplies Redundant clock modules Scalable architecture Downloadable software 24/7 technical support Worldwide onsite service coverage Hardware and software warranties Remote network management and diagnostics Clearly, if service providers and network equipment vendors are to meet the challenge of providing precise timing and synchronization solutions in an Ethernet world, they must go above and beyond the minimum requirements called out by the IEEE 1588-2008 specification. Mere IEEE 1588-2008 compliance alone is not enough. Rather, they must strive to build complete end-to-end PTP solutions that not only provide the highest level of timing and synchronization accuracy but also incorporate the carrier class reliability, resiliency, scalability, and seamless network management that next generation PTP applications will demand.
Copyright 2009 Symmetricom, Inc. All rights reserved. Symmetricom and the Symmetricom logo are registered trademarks of Symmetricom, Inc. All other trademarks are the property of their respective companies. All specifications subject to change without notice. 03-18-09
www.symmetricom.com
7
Phone: +1 408 428 7907; toll-free: +1 888 FOR SYMM | Fax: 408-516-9597 | E-mail: [email protected]