Professional Documents
Culture Documents
B
Reference timing signal
to system A
Reference timing signal
to system B
t
t
timing signal recovered by system A
timing signal recovered by system B
System A
System B
B
Reference timing signal
to system A
Reference timing signal
to system B
Figure xxx/G.8266 Phase Synchronization
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 84
Time Distribution for Mobile Wireless BS
Target from 1s to tens of s (alignment between BS)
Target from 0.5s to tens of s (from common reference)
O
O
Time Source
O
O
O
O
O
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 85
Accuracy, Stability and Precision
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 86
Syntonization and Synchronization
TWTT protocol client / slave has two processes:
The syntonization
The synchronization
Strictly speaking, the term synchronization applies to alignment
of time and the term syntonization applies to alignment of
frequency.
The master/server and slave/client clocks each have their own
time-base and own wall-clock and the intent is to make the
slave/client equal to the master/server.
The notion of frequency synchronization (or syntonization) is
making the time-bases equal, allowing a fixed (probably
unknown) offset in the wall-clocks. The notion of time
synchronization is making the wall-clocks equal.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 87
TWTT Protocols
NTP vs. PTP Message Exchange
Master
time
Slave
time
t
1
t
4
t
3
t
2
Timestamps
known by slave
t
2
t
1
, t
2
t
1
, t
2
, t
3
t
1
, t
2
, t
3
, t
4
t-ms
t-sm
Sync
Follow_Up
Delay_Req
Delay_Resp
NTP
PTP
Usual unidirectional
ACR protocol
As part of time recovery, theres always a frequency recovery process.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 88
TWTT Protocol Basics
Basic NTP Message Exchange
SERVER
CLIENT
Time_REQ
Time_RESP
T
1
T
2
T
4
T
3
Timestamps
known
by client
T
1
, T
2
, T
3
, T
4
T
1
Real T
2
= T
1
+ Real Delay
But
T
SC
T
CS
Assumption := symmetry!
Offset = ((T
2
- T
1
) - (T
4
- T
3
))/2
Delay = ((T
2
- T
1
)+(T
4
- T
3
))/2
Server time = Ts Client time = Tc = Ts + offset
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 89
TWTT Protocol Basics
Basic PTP Message Exchange
MASTER SLAVE
Delay_Resp
t
1
t
3
t
4
Timestamps
known by
slave
t
1
, t
2
, t
3
, t
4
Delay
Delay
Offset = T
S
- T
M
t
2
t
1
, t
2
, t
3
t
1
, t
2
SYNC
Delay - Offset = B = t
4
t
3
t
2
= t
1
+ Offset + Delay
Offset + Delay = A = t2 t1
t
4
= t
3
- Offset + Delay
Delay_Req
Master time = T
M
Slave time = T
S
= T
M
+ offset
Offset = ((t
2
t
1
)(t
4
t
3
))/2 Delay = ((t
2
t
1
)+(t
4
t
3
))/2
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 90
PDV and Asymmetry
Forward and backward delays and delay variations are
not identical.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 91
Asymmetry: A Closer Look
Each Node and Link can introduce asymmetry.
There are various sources of asymmetry.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 92
Sources of Asymmetry
Link
Link delays and asymmetry
Asymmetric (upstream/downstream) link techniques
Physical layer clock
Node
Different link speed (forward / reverse)
Node design
LC design
Enabled features
Network
Traffic path inconsistency
Interface speed change
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 93
TWTT: Summary of Sources of Error
Asymmetry: introduce a mean time-error.
Also transit delay variation (a.k.a. PDV or packet jitter):
The standard deviation of the time-base and time-error error will
increase with increasing time-delay variation in the path(s) between
master and slave.
Inaccuracy of the slave time-base
Any frequency offset and/or frequency drift will color the measurements.
The standard deviation of the time-base and time-error error will
decrease with increasing rate of packet exchange between master
and slave.
Increasing the averaging time does reduce the standard deviation
of the time-base and time-error error.
Provided the quality of the oscillator is commensurate with the (long)
time constant!
time
frequency
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 94
Two Way Time Transfer Protocols
Summary and Introduction to IEEE Std 1588
Basis of all packet time transfer protocols (NTP,
IEEE1588) is the two way time transfer mechanism.
TWTT consists of a time transfer mechanism and a
time delay radar.
Assumes path symmetry and path consistency.
IEEE1588 incorporates some in-network correction
mechanisms to improve the quality of the transfer.
IEEE1588 has the concept of asymmetry correction.
But the correction values are not dynamically measured - they
need to be statically configured.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 95
IEEE Std 1588-2008 for Telecom
Challenges of IEEE 1588-2008 applied
in Service Provider networks
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 96
This standard specifies:
a) The Precision Time Protocol, and
b) The node, system, and communication properties
necessary to support PTP.
IEEE Std 1588-2008
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 97
PTP Version 2
A set of event messages
consisting of:
- Sync
- Delay_Req
- Pdelay_Req
- Pdelay_Resp
A set of general messages
consisting of:
- Follow_Up
- Delay_Resp
- Pdelay_Resp_Follow_Up
- Announce
- Management
- Signaling
Transmission modes: either unicast or multicast (can be mixed)
Encapsulations: L2 Ethernet, IPv4, IPv6 (others possible)
Multiple possible values or range of values, TLVs (possible
extensions),
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 98
PTP Device Types
Five basic types of PTP devices (clocks)
Ordinary clock (master or slave)
Boundary clock (master and slave)
End-to-end Transparent clock
Peer-to-peer Transparent clock
Management node
All five types implement one or more aspects of the PTP protocol.
OC Master, BC and TC running either in one-step or two-step
clock mode.
One-step mode breaks IEEE/OSI/IETF/ITU layers.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 99
Basic PTP Message Exchange
MASTER SLAVE
Delay_Resp
t
1
t
3
t
4
Timestamps
known by
slave
t
1
, t
2
, t
3
, t
4
SM_Delay
Master time = T
M
Slave time = T
S
t
2
t
1
, t
2
, t
3
t
1
, t
2
SYNC
Delay_Req
MS_Delay
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 100
Quality of the Timestamp
SYNC
MASTER SLAVE
Delay_REQ
Delay_RESP
MAC/PHY
MAC/PHY
P
P
Hardware assistance necessary to prevent insertion of errors or inaccuracies.
t
1
t
2
t
3
t
4
t
4
t
1
t
2
t
3
Need to inject the
timestamp into the
payload at the
time the packet
gets out.
Timestamps
known by
slave
t
1
, t
2
, t
3
, t
4
t
1
, t
2
, t
3
t
1
, t
2
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 101
Follow_Up
SYNC()
MASTER SLAVE
Delay_REQ()
Delay_RESP(t
4
)
MAC/PHY
MAC/PHY
P
P
Timestamps
known by
slave
Follow_Up(t
1
)
t
1
t
2
t
4
t
3
Two-step clock
mode
Vs.
One-step (a.k.a.
on-the-fly)
clock mode
t
1
, t
2
, t
3
, t
4
t
1
, t
2
, t
3
t
1
, t
2
t
2
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 102
Timestamp Generation Model
Need to timestamp timing packet from timestamp point.
Timestamp point shall be identical at ingress and egress.
Location is not so important if consistent.
Need to classify a packet as timing packet.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 103
IEEE Std 1588-2008 Clocks
BC and TC aims correcting delay variation into intermediate nodes
between OCs.
Can correct link asymmetry if known.
Ref.
Clock
Recovered
Clock
Ordinary
Slave
Ordinary
Master
TC
BC
Transparent
Clock
Boundary
Clock
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 104
IEEE Std 1588-2008 BC
Can help on scalability when using unicast.
Equivalent to NTP Stratum (>1) Server UTC
Node by node: BC slave function is critical
Ref.
Clock
Recovered
Clock
Ordinary
Slave
Ordinary
Master
BC
Boundary
Clock
BC
Boundary
Clock
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 105
IEEE Std 1588-2008 TC
TC calculates Residence Time (forward / reverse intra node
delays).
TC are supposed to be transparent but:
One-step clock issue
Ref.
Clock
Recovered
Clock
Ordinary
Slave
Ordinary
Master
Transparent
Clock
Transparent
Clock
TC TC
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 106
IEEE1588-2008 Transparent Clocks
Residence Time and Correction Field
Preamble
Event message payload Network
protocol
headers
Correction
field
Preamble
PTP message payload Network
protocol
headers
Correction
field
Residence time bridge Ingress Egress
- +
Ingress timestamp Egress timestamp
+
+
Message at ingress Message at egress
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 107
Telecom Timestamp Generation Issues
If IEEE 1588-2008 is not planned node to node, with
every node IEEE 1588 aware and in unique
domain
Multiple interface types
IEEE 802.3, ITU-T G.709,
Multiple interface frequencies
10GE, 100GE, STM64, STM192
Multiple encapsulations
Ethernet, IP
MPLS, MPLS-TP, PBB-TE
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 108
E2E TC Operation
TC E2E shall calculate Residence Times for forward
AND reverse event messages.
Ordinary
Slave
Ordinary
Master
TC TC
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 109
P2P TC Operation
TC P2P shall calculate forward Residence Times only.
Ordinary
Slave
Ordinary
Master
TC TC
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 110
Multi Domain Deployment?
Ref.
Clock
Recovered
Clock
Ordinary
Slave
Ordinary
Master
TC
BC
Wholesale
Boundary
Clock
TC
BC
Who owns the master?
Who owns the slaves?
Who owns the intermediate nodes?
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 111
Monitoring the Performance
How to guarantee the recovered clock quality?
PSN
Ref.
Clock
Recovered
Clock
Slave/
Client
Master/
Server
?
?
?
TC
? ?
BC
Objective: accuracy and stability from reference
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 112
IEEE 1588-2008 (PTPv2) In A Nutshell
IEEE Std 1588-2008 is actually a toolbox !
What does support of IEEE 1588 really mean ?
IEEE Std 1588 itself is not sufficient for telecom
operator operations.
Node characterization, modeling, performance, metrics
For phase & time support, it is expected any telecom
standardization would take time.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 113
About Telecom Profiles
Telecom profiles will require matching the consumer requirements to the
network design and behavior.
It will involves a set of IEEE Std 1588-2008 parameters as such as
Messages
Options and TLVs
Mode of transmission
Values (e.g., message rates)
Specification of new timestamp points (telecom encapsulation)
But Service Providers will also need
Metrics
Node characterization
New Node modeling (IEEE Std 1588-2008 document includes some sort of clock
modeling)
Support of new routing functions (e.g. traffic engineering)
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 114
Time Distribution
TWTT Technical Challenges Summary
Application requirements
Client/Slave
Server/Master
IEEE 1588-2008 Boundary &
Transparent Clocks
Protocol and Protocol Configuration
Network
Design, Traffic, Nodes
Node design includes BC & TC
Engineering
path symmetry
hardware assistance
path consistency
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 115
Time To Conclude
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 116
Challenges for Sync Architectures
Timing is a new service many networks shall have to support.
Different solutions are necessary to cover disparate requirements,
network designs and conditions.
Physical layer solutions required to upgrade routers and switches.
Packet-based solutions are more flexible but less deterministic.
Whatever the timing protocol, it must deal with the same network
constraints.
How can the network better support timing service?
Hardware upgrade?
Software functions?
Metrics and characterizations?
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 117
Conclusion
Technical alternatives are known.
Their pros & cons are also known.
Nothing prevents using packet-based solutions.
But packet-based solutions need further work.
Timing network engineering
Rules
Experience
Monitoring
Challenges
Cost-efficiency : TCO considerations
Multi-domain transfer
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 118
Next Steps
Frequency transfer can be achieved.
Time transfer needs to be improved.
Sub-millisecond is a reachable target.
Sub-microsecond objective is challenging.
Next Steps
Network element functions and metrics
Protocol profile
Architecture
Combining packet-based timing protocol functions with routing
capabilities
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 119
Some References
ITU-T* : http://www.itu.int/rec/T-REC-G/e
G.803, G.823, G.8261, G.8262, G.8264, G.781
Telcordia : http://telecom-info.telcordia.com/site-cgi/ido/index.html
GR-253-CORE, GR-1244-CORE, GR-436-CORE
ETSI : http://pda.etsi.org/pda/queryform.asp
eg_201 793-010101 (2000) Synchronization network engineering
IEEE Std 1588-2008
http://www.ieee.org/web/publications/standards/index.html
IETF**
NTP : http://www.ietf.org/html.charters/ntp-charter.html
TICTOC : http://www.ietf.org/html.charters/tictoc-charter.html
*Free for enforced recommendations
**Free
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 120
Complete Your Online
Session Evaluation
Give us your feedback and you
could win fabulous prizes.
Winners announced daily.
Receive 20 Passport points for
each session evaluation you
complete.
Complete your session evaluation
online now (open a browser
through our wireless network to
access our portal) or visit one of
the Internet stations throughout
the Convention Center.
Dont forget to activate your
Cisco Live Virtual account for access to
all session material, communities, and
on-demand and live activities throughout
the year. Activate your account at the
Cisco booth in the World of Solutions or visit
www.ciscolive.com.
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 121
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 122
Appendix
Acronyms
2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKAGG-3000 123
Acronyms
ACR : Adaptive Clock Recovery
AVB : Audio Video Bridging
BITS : Building Integrated Timing System
BS : Base Station
CDMA : Code Division Multiple Access
CES : Circuit Emulation Service
DSL : Digital Subscriber Line
DTI : DOCSIS Timing Interface
DVB : Digital Video Broadcast
DVB-T/H : DVB Terrestrial / Handheld
ESMC : Ethernet Synchronization Messaging Channel
FDD : Frequency Division Duplexing
GNSS : Global Navigation Satellite System
GPS : Global Positioning System
GSM : Global System for Mobile communications
IPDV : Inter-Packet Delay Variation
IRIG : Inter Range Instrumentation Group
LORAN : LOng Range Aid to Navigation
LTE : Long Term Evolution
MAFE : Maximum Averaged Frequency Error
MATIE : Maximum Averaged Time Interval Error
MB(M)S : Multicast Broadcast (Multimedia) Services
MBSFN : Multicast Broadcast Single Frequency Network
M-CMTS : Modular Cable Modem Termination System
MSAN : Multi Service Access Node
MRTIE : Maximum Relative Time Interval Error
MTIE : Maximum Time Interval Error
NGN : Next Generation Network
NTP : Network Time Protocol
OLT : Optical Line Terminal (PON)
OSSP : Organization Specific Slow Protocol
PDV : Packet Delay Variation
PON : Passive Optical Network
PPS : Pulse Per Second
PRC : Primary Reference Clock
PRS : Primary Reference Source
PSN : Packet Switched Network
PTP : Precision Time Protocol
QL : Quality Level
SDO : Standardization Development Organizations
SDSL : Symmetric Digital Subscriber Line
SEC : SDH Equipment Clock
SFN : Single Frequency Network
SLA : Service Level Agreement
SP : Service Provider
SSM : Synchronization Status Message
SSU : Synchronization Supply Unit
SyncE : ITU-T Synchronous Ethernet
TDD : Time Division Duplexing
TDEV : Time DEViation
TDM : Time Division Multiplexing
TD-SCDMA : Time Division Synchronous CDMA
TIE : Time Interval Error
TWTT : Two Way Time Transfer (protocol)
UTC : Coordinated Universal Time
UTMS : Universal Mobile Telecommunications System
WCDMA : Wideband CDMA
WIP : Work In Progress