Timing in Packet Networks. Stefano RUffini 9 March 2015

Similar documents
Timing in Packet Networks. Stefano RUffini WSTS 2017

Tutorial: Network-based Frequency, Time & Phase Distribution

Tutorial: Network-based Frequency, Time & Phase Distribution

CALNEX PARAGON-X. Testing 1588v2 PTP

Evaluating the performance of Network Equipment. Presenter: Tommy Cook, CEO Calnex Solutions Ltd

ITU-T Q13/15activity and its relation with the leap second. Jean-Loup Ferrant, ITU-T Q13/15 Rapporteur Calnex solutions

Time Sync distribution via PTP

PTP650 Synchronous Ethernet and IEEE1588 Primer

Testing Timing Over Packet With The Ixia Anue 3500

ITU-T G /Y

Tales from the Base Station to the Substation. Delivering Phase ITSF 2013

NGN Standards. The 5th International Telecom Sync Forum, ITSF London, November Stefano Ruffini Ericsson

SERIES G: TRANSMISSION SYSTEMS AND MEDIA, DIGITAL SYSTEMS AND NETWORKS Packet over Transport aspects Quality and availability targets

Status of ITU Q13/15 sync standards ITSF Jean-Loup Ferrant, ITU-T Q13/15 rapporteur

Planning for time - deploying Telecoms Boundary Clocks

Standards Update IEEE 1588

The New Timing Standard for Packet Networks, G.8261 (G.pactiming)

ITU-T Q13/15, Network synchronization and time distribution performance Supporting 5G mobile transport and fronthaul

Phase Synchronisation the standards and beyond

IEEE-1588 Frequency and Time & Phase Profiles at ITU

CLOCK SYNCHRONIZATION IN CELLULAR/MOBILE NETWORKS PETER CROY SENIOR NETWORK ARCHITECT AVIAT NETWORKS

IEEE 1588 PTP clock synchronization over a WAN backbone

IEEE1588 profile development in ITU-T

Technical Brief Implementing IEEE 1588v2 for use in the mobile backhaul

White Paper: New Needs for Synchronization Testing in Next Generation Networks

xgenius Cutting edge Transmission & Synchronization tester

Delivering Time and Phase for LTE Networks

Carrier Ethernet Synchronization. Technologies and Standards

ITU-T Q13/15 Updates TICTOC / IETF-83. Jean-Loup Ferrant, Calnex, Q13/15 Rapporteur Stefano RUffini, Ericsson, Q13/15 Associate Rapporteur

ITSF 2011 Testing the PDV tolerance of PTPv2 slave clocks, an approach from an operator

Configuring Precision Time Protocol (PTP)

Synchronous Ethernet based mobile backhaul integrated transport and synchronization management

Evaluating 1588v2 Performance

Real-Time Protocol (RTP)

Synchronization Standards

INTERNATIONAL TELECOMMUNICATION UNION

Joint ITU-T/IEEE Workshop on Carrier-class Ethernet

Synchronization in microwave networks

Technical Brief Implementing IEEE 1588v2 for use in the mobile backhaul

Synchronization Standards

Precision Time Protocol Software Configuration Guide for IE 2000U and Connected Grid Switches

EPoC System Level Synchronization Transport 802.3bn Interim meeting - Phoenix

Mobile Backhaul Synchronization

Sync Tested Mesh Microwave System

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Packet-Based Primary Reference Source for Synchronizing Next Generation Networks

ETHERNET TIME & SYNC. In Telecoms, Power, Finance, Cars,... ITSF Budapest, Nov 2014

Precision Time Protocol Software Configuration Guide for IE 4000, IE 4010, and IE 5000 Switches

ITU-T G /Y

Distributed Systems. 05. Clock Synchronization. Paul Krzyzanowski. Rutgers University. Fall 2017

Configuring QoS CHAPTER

xgenius Cutting edge Transmission & synchronization Tester

IEEE 1588 Hardware Assist

Testing SyncE with Xena s Advanced Timing Test Modules

KillTest. Mejor calidad Mejor servicio. Renovación gratuita dentro de un año

ITSF 2007 overview of future sync applications and architecture challenges

Synchronisation Overview. the Path to Excellence

Status of ITU Q13/15 sync standards and relationship with IEEE 1588 ITSF-2014

Design Considerations for Packet Networks supporting Synchronous Ethernet and IEEE 1588v2

TIME SYNCHRONIZING USING IEEE SYNCHRONOUS ETHERNET IN A TIME-SETTING MODE OF OPERATION

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

and IP Networks Dominik Schneuwly ITSF 2008 Slide 1

Teleprotection over an IP/MPLS Network

Synchronization for Mobile Backhaul

Testing Timing Synchronization for IP/Ethernet Mobile Backhaul. Nov 2011

Network Layer Enhancements

ITU-T Architecture standards and impacts to network operations. Michael Mayer Nortel ISTF 2007

Application Note. Re-timing: Cost-effective Synchronization via Re-timed E1 and DS1 Signals. Precision, Stability, Innovation, Support.

TDM Pseudowire RAD Data Communications Ltd.

ITU-T G /Y

New PDV Measurement Approaches and the Application of Legacy Network Limits

Frequency and Time Synchronization In Packet Based Networks

Traditional Synchronization Standards Overview

Implementation Agreement MEF Mobile Backhaul Phase 3 - Amendment 1: Time Synchronization. November, 2016

NETWORK SYNCHRONIZATION TRAINING COURSE

Synchronization of Television, Audio and Moving Pictures in a Digital Age. Tim Frost, Symmetricom Inc.,

Configuring QoS. Understanding QoS CHAPTER

IEEE 1588 Packet Network Synchronization Solution

High Available Synchronization with IEEE 802.1AS bt

Timing and Synchronization Configuration Guide, Cisco IOS XE Everest (Cisco ASR 920 Routers)

Improving Mobile Backhaul Network Reliability with Carrier-Class IEEE 1588 (PTP) WHITE PAPER

Timing Measurements in Packet Networks. ITSF November 2006 Lee Cosart

Basics (cont.) Characteristics of data communication technologies OSI-Model

Testing Timing Synchronization for IP/Ethernet Mobile Backhaul. March 2012

Description of Use of IEEE 1588 Followup Peer-to-Peer Transparent Clock in A/V Bridging Networks Revision

Clock-Synchronisation

Examining the Practicality of Ethernet for Mobile Backhaul Through Interoperability Testing

Experiences and measurements in operational PTP synchronized mobile networks

Audio Video Bridging (AVB) Assumptions IEEE AVB Plenary Jan 28 & 29, 2008 Los Gatos

in Synchronous Ethernet Networks

Sections Describing Standard Software Features

G Telecom Profile

White paper Application note

TIME SYNCHRONIZATION TEST SOLUTION FROM VERYX TECHNOLOGIES

A PROPOSED REVISION TO IRIG 218 BASED ON REAL WORLD EXPERIENCE Gary A. Thom GDP Space Systems 300 Welsh Road, Horsham, PA

Synchronous Ethernet A RAD White Paper

Localization approaches based on Ethernet technology

SONET/ SDH 10G. Core Packet Network SONET/ SDH SONET/ SDH 10G 3G/ LTE. Figure 1. Example Network with Mixed Synchronous and Asynchronous Equipment

Summary of Potential Choices for Synchronization Transport in Residential Ethernet

G Telecom Profile

Transcription:

Timing in Packet Networks Stefano RUffini 9 March 2015

Giulio Bottari Contents Background Frequency sync via packets Two-Way Time Transfer NTP/PTP Details Impairments, Packet-based Metrics for frequency and time Note: Special thanks to Christian Farrow (Chronos) and Kishan Shenoi (Qulsar) Packet Timing 2015-03-08 Page 2

Giulio Bottari Historical Background Packet Switching network does not require sync itself CBR (Constant Bit Rate) services carried over ATM one of the first examples when sync aspects discussed in relationship with packet technologies Definition of methodologies to recover the CBR sync rate have been defined to allow the transport of these services over ATM (eg. 2 Mbit/s): Network Synchronous Adaptive Differential The migration of the transport network to packet networks (in particular IP), led to a generalization of these methods, Need to support timing requirements of the connected networks (e.g. Mobile applications) Circuit Emulation detailed performance analysis Frequency sync distribution via dedicated protocols (NTP, PTP) Standardized performance objectives over reference networks (ITU-T Recc. G.8261) Recent increase interest to also deliver time/phase sync reference Packet-based technologies required Packet Timing 2015-03-08 Page 3

Bottari Circuit Emulation sync solutions: Giulio PRC available at the Edges of the packet network Differential Network Synchronous Packet Timing 2015-03-08 Page 4 From ITU-T Recc. G.8261

Giulio Bottari Circuit Emulation: Adaptive MEthods No PRC traceable reference available at the edge of the packet network! Frequency sync recovered based on arrival time of the packets... Packet Timing 2015-03-08 Page 5 From ITU-T Recc. G.8261

Packet-Based Methods PRC Reference Time Stamp Master Packet Switched Network Time Stamp Processing Time Stamp Recovered Reference Timing Signal Timing information carried by dedicated timing packets: Network Time Protocol (NTP) Precision Time Protocol (PTP) From ITU-T Recc. G.8261 Packet Timing 2015-03-08 Page 6

Adaptive Clock Operation CBR Equipment E1/T1 Bit Stream Interworking Function CESoP Packet/Cell Stream Packet(Cell) Interworking Function E1/T1 Bit Stream CBR Equipment Service Clock Service clock adjusts based on buffer fill level/ packet arrival rate PDV influences wander at the network output Buffer Fill Level Filter Playout Buffer VCO /NCO Service Clock Packet Timing 2015-03-08 Page 7

From clocks to packet Clocks Packet clocks can be described in a similar way CES Packets do have a regular rhythm Extension to using dedicated protocols: NTP, PTP NTP/PTP Packets may not arrive regularly, but timestamps within the packets themselves mean time information can be extracted Timing information contained in the arrival/departure time of the packets Timestamps carried by the packets can be used to support this operation Two-way or one-way protocols Timing recovery process based on filtering the PDV Time and frequency can be distributed from point A to point B Packets (header, payload and footer) time F Payload 4 H Payload 3 H F Payload 2 H F F Payload 1 H Packet Timing 2015-03-08 Page 8 Significant instants

Packet-based Equipment Clock Local reference Time scale comparator PEC-S Packet timing signal Packet selection Low pass filter Oscillator Output clock Local time scale Concept of «Packet Selection»: G.8263-Y.1363(12)_FA.1 Pre-processing of packets before use in a traditional clock to handle PDV Packet Timing 2015-03-08 Page 9

Two-ways time transfer Delivery of Time synchronization requires also the knowledge of «transit delay» from A to B t2 tn Dt? t1 Dt A B Two-ways transfer protocols (round trip delay) Assumption for symmetric channel Packet Timing 2015-03-08 Page 10

How NTP Works T1 Originate Timestamp Time request sent by client T2 Receive Timestamp Time request received by server T3 Transmit Timestamp Time reply sent by server T4 Destination Timestamp Time reply received by client Round Trip Delay=(T4-T1)-(T3-T2) Round Trip Delay =25-10=15 Clock Offset= [(T2-T1)-(T4-T3)]/2 Clock Offset =[5-10]/2= -2.5 (Clients actual time when reply received was therefore 09:00:0225) Client T1 09:00:000 T4 09:00:025 Server T2 09:00:005 T3 09:00:015 Key Assumptions: One way delay is half Round Trip (symmetry!) Drift of client and server clocks are small and close to same value Time is traceable Time Corrected time 09:00:0225 Time Packet Timing 2015-03-08 Page 11

NTP Network Architecture GPS Stratum 1 Time Server Satellite Stratum 2 Router Router Server Server Stratum 3 Router Server Server Server Computer Computer Computer Computer Computer Computer Computer Packet Timing 2015-03-08 Page 14

IEEE 1588-2008 PTPv2 Overview The Grandmaster reference clock sends a series of time-stamped messages to slaves. Slaves process the round-trip delay & synchronize to the Grandmaster. Frequency can be recovered from an accurate time of day reference (but L1 can also be used ) Best Master Clock Algorithm to define the hierarchy Accuracy is possible by means of: Proper packet rate (up to 128 per second) Hardware time-stamping (eliminate software processing delays) Timing support in the network Grandmaster (Server) 1588 1588 Packets Embedded Slave External Slave Packet Slave clocks can be either stand-alone or embedded in network equipment Packet Timing 2015-03-08 Page 15

Timing Support Master M Timing packets are terminated and regenerated by N Timing packet... S N N Timing packet... Slave S Packet Timing 2015-03-08 Page 16 Timing packet e.g. IEEE1588 Boundary Clock, NTP Stratum Clock Latency is calculated by NE and the information is added in the timing packet... M Master S L Timing packet L S... S N Slave e.g. IEEE1588 Transparent Clock

PTP Time Transfer Technique Master Clock Slave Clock Data At Slave Clock Round Trip Delay RTD = (t2 - t1) + (t4 - t3) t1 t4 Time Switch/Router Layer t2 t3 Time Leap second offset t2 (& t1 for 1-step) t1,t2 t1, t2, t3 t1, t2, t3, t4 Offset: (slave clock error and one-way path delay) Offset SYNC = t2 t1 Offset DELAY_REQ = t4 t3 We assume path symmetry, therefore One-Way Path Delay = RTD 2 Slave Clock Error = (t2 - t1) - (RTD 2) Notes: 1. One-way delay cannot be calculated exactly, but there is a bounded error. 2. The protocol transfers TAI (Atomic Time). UTC time is TAI + leap second offset from the announce message. The process is repeated up to 128 times per second. (Announce rate is lower than Sync rate) Packet Timing 2015-03-08 Page 19 19

The Telecom Profile (G.8265.n/G.8275.n) A profile is a subset of required options, prohibited options, and the ranges and defaults of configurable attributes e.g. for Telecom: Update rate, unicast/multicast, etc. PTP profiles are created to allow organizations to specify selections of attribute values and optional features of PTP that, when using the same transport protocol, inter-works and achieve a performance that meets the requirements of a particular application Other (non-telecom) profiles: IEEE C37 238 Power Distribution Industry 802.11AS AV bridging (AV over domestic LAN) Packet Timing 2015-03-08 Page 21 21

Impairments in Packet networks Typical Impairments in the packet networks Packet delay variations [PDV], depending on Network dimension Traffic load QoS Path dependent aspects Physical path asymmetry (particularly relevant for time synchronization) Path rerouting Interactions between the packet streams Packet Timing 2015-03-08 Page 22

Packet delay variation (PDV) Queuing Equipment Configuration Priority/ QoS Ingress Interface Classification Engines Forwarding Engines Switch Fabric Shaping/ Policing Engines Egress Interface Potential Queuing points/ delays Potential configuration dependent delay points Packet Timing 2015-03-08 Page 23

Packet delay variation (PDV), Cont. Head of line blocking High priority queue Low priority queue MTU size M byte Strict priority queue Egress link speed = G Mbits/s A packet arrives in the HPQ, just when a packet from the LPQ has begun transmission The packet from HPQ is blocked till the LPQ packet is transmitted With more complex prioritization scheme the delay due to head of line blocking could vary significantly M D s pp max G Ex. : at 100 Mbit/s, 1000 byte packet = 8 x 1000 / 100 x 106 = 80 s Packet Timing 2015-03-08 Page 24

Packet delay variation (PDV), Cont. Equipment implementation specifics e.g. the Delay variation through a single piece of equipment, with packet sizes 1024byte 576 byte 256 byte 64 byte Packet Timing 2015-03-08 Page 25

Path dependent impairments Asymmetry Static difference in paths between the forward and reverse paths. E.g difference in lengths of fiber Forward and reverse paths pass through different node Rerouting Leads change in path delays and can confuse the algorithms. Packet Timing 2015-03-08 Page 26

Key Aspects of Performance Packet Delay Variation (PDV) is a major contributor to clock noise Related to number of hops, congestion, line-bit-rate, queuing priority, etc. Time-stamp-error can be viewed as part of PDV Clock recovery involves low-pass-filter action on PDV Oscillator characteristics determine degree of filtering capability (i.e. tolerance to PDV) Higher performance oscillators allow for longer time-constants (narrower bandwidth == stronger filtering) Lower performance (less expensive) oscillators may be used (may require algorithmic performance improvements) Performance improvements can be achieved by Higher packet rate Controlling PDV in network (e.g. network engineering, QoS) Timing support from network (e.g. boundary clocks in PTP) Packet selection and/or nonlinear processing Packet Timing 2015-03-08 Page 30

Notion of Best Packets The impact of PDV can be mitigated by means of a suitable classification and selection of packets The minimum delay approach is presented as an example. Depending on the network characteristics other approaches may be more suitable The assumption that the path is constant over the interval of observation implies a PDV with a distribution function with a slowly changing floor (i.e. minimum delay that a packet can experience) In many cases it has been observed that a reasonable fraction (e.g. x%) of the total number of packets will traverse the network at or near this floor Using only these packets in the timing recovery mechanism would allow to significantly reduce the impact of the PDV on the quality of the recovered reference timing signal Packet Timing 2015-03-08 Page 31

Sync Metrics in Packet Networks The Network Element clock output metrics (computed from TIE measurements) can be the same (MTIE/MRTIE/TDEV) Clock output requirements are determined by existing (or modified) masks Some distinctions are required in case of packet clock integrated in the Base Station (no standardized output MTIE/TDEV by 3GPP) Specific Metrics have been defined to better characterize the behavior of packet networks (PDV) delivering the timing reference E.g. metrics that associate PDV with Frequency Offset or phase variation Tolerance masks/network limits are used by network operators and clock manufacturers Packet selection methods can be justified Packet Timing 2015-03-08 Page 32

Peak-to-peak jitter not sufficient phase pdf TDEV and mintdev Peak-to-peak jitter = 11.5ms Packet Timing 2015-03-08 Page 34 Peak-to-peak jitter = 10ms

Floor Packet Percentage Family of metrics based on counting amount of packets, observed for any window interval of t seconds within a fixed cluster range starting at the observed floor delay and having a size δ Floor Packet Percent (FPP) defined in terms of percentage of packets meeting these criteria Packet Timing 2015-03-08 Page 37

Time Synchronization via PTP: Asymmetry related impairments The basic principle is to distribute Time sync reference by means of two-way time stamps exchange Time Offset= t 2 t 1 Mean path delay Mean path delay = ((t 2 t 1 ) + (t 4 t 3 )) /2 M S t 1 t 2 t 4 t 3 As for NTP, also in case of PTP Symmetric paths are required: Basic assumption: t 2 t 1 = t 4 t 3 Any asymmetry will contribute with half of that to the error in the time offset calculation (e.g. 3 s asymmetry would exceed the target requirement of 1.5 s) Packet Timing 2015-03-08 Page 38

Asymmetry due to the transport technologies Different paths in Packet networks Traffic Engineering rules in order to define always the same path for the forward and reverse directions Different Fiber Lengths in the forward and reverse direction Additional problem: DCF (Dispersion Compensated Fiber) Different Wavelengths used on the forward and reverse direction Asymmetries added by specific access and transport technologies GPON VDSL2 Microwave OTN Packet Timing 2015-03-08 Page 39

Combined PTP-SyncE SyncE as frequency assistance to 1588 PRC UTC 1588 GM PTP Stream SyncE Node 1588 Packet Stream SyncE Physical Layer SyncE Node PTP Stream 1588 Client PSN PRC freq Gives immediate frequency lock to 1588 client SyncE & 1588 functionality may be in the same node/element SyncE might be used for Time sync holdover Packet Timing 2015-03-08 Page 40

Giulio Bottari References Packet Timing in ITU-T: ITU-T G.826x series, G.827x series, ITU-T general definitions: G.810, G.8260 NTP: IETF RFC 5905/6/7/8 PTP: IEEE 1588-2008 CES: RFC 5087, RFC 5086, RFC4533, ITU-T Y.1413, ITU-T Y.1453, MEF3, MEF 8 Packet Timing 2015-03-08 Page 41

Packet Timing 2015-03-08 Page 42