Cyclone Time Technology Deriving Consistent Time Base Using Local Clock Information Ashok Agrawala Moustafa Youssef Bao Trinh University of Maryland College.

Slides:



Advertisements
Similar presentations
1 Process groups and message ordering If processes belong to groups, certain algorithms can be used that depend on group properties membership create (
Advertisements

Lecture 1: Logical, Physical & Casual Time (Part 2) Anish Arora CSE 763.
Utility Optimization for Event-Driven Distributed Infrastructures Cristian Lumezanu University of Maryland, College Park Sumeer BholaMark Astley IBM T.J.
1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Doc.: IEEE /404r0 Submission July 2001 Georg Dickmann, BridgeCo AG.Slide 1 AV Timing Limits BridgeCo AG Georg Dickmann
Chapter 7 - Local Stabilization1 Chapter 7: roadmap 7.1 Super stabilization 7.2 Self-Stabilizing Fault-Containing Algorithms 7.3 Error-Detection Codes.
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Routing in a Parallel Computer. A network of processors is represented by graph G=(V,E), where |V| = N. Each processor has unique ID between 1 and N.
Dead Reckoning Objectives – –Understand what is meant by the term dead reckoning. –Realize the two major components of a dead reckoning protocol. –Be capable.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
Parallel and Distributed Simulation Lookahead Deadlock Detection & Recovery.
Lookahead. Outline Null message algorithm: The Time Creep Problem Lookahead –What is it and why is it important? –Writing simulations to maximize lookahead.
1 PinPoint: An Asynchronous Time Based Location Determination System Moustafa Youssef, Adel Youssef, Chuck Rieger, UdayaShankar, Ashok Agrawala Presented.
Distributed Systems Spring 2009
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony L. T.
Time in Embedded and Real Time Systems Lecture #6 David Andrews
Ordering and Consistent Cuts Presented By Biswanath Panda.
CS 582 / CMPE 481 Distributed Systems Fault Tolerance.
Communication Systems Simulation - I Harri Saarnisaari Part of Simulations and Tools for Telecommunication Course.
CS 582 / CMPE 481 Distributed Systems
LSRP: Local Stabilization in Shortest Path Routing Hongwei Zhang and Anish Arora Presented by Aviv Zohar.
Dept. of Computer Science & Engineering, CUHK1 Trust- and Clustering-Based Authentication Services in Mobile Ad Hoc Networks Edith Ngai and Michael R.
Teaching material based on Distributed Systems: Concepts and Design, Edition 3, Addison-Wesley Copyright © George Coulouris, Jean Dollimore, Tim.
He Huang Introduction:The Flooding Time Synchronization Protocol.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 15th Lecture Christian Schindelhauer.
Computer Science Lecture 11, page 1 CS677: Distributed OS Last Class: Clock Synchronization Logical clocks Vector clocks Global state.
Geographic Gossip: Efficient Aggregations for Sensor Networks Author: Alex Dimakis, Anand Sarwate, Martin Wainwright University: UC Berkeley Venue: IPSN.
An Authentication Service Against Dishonest Users in Mobile Ad Hoc Networks Edith Ngai, Michael R. Lyu, and Roland T. Chin IEEE Aerospace Conference, Big.
Design, Implementation, and Evaluation of Differentiated Caching Services Ying Lu, Tarek F. Abdelzaher, Avneesh Saxena IEEE TRASACTION ON PARALLEL AND.
Performance Comparison of Existing Leader Election Algorithms for Dynamic Networks Mobile Ad Hoc (Dynamic) Networks: Collection of potentially mobile computing.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
Probability Grid: A Location Estimation Scheme for Wireless Sensor Networks Presented by cychen Date : 3/7 In Secon (Sensor and Ad Hoc Communications and.
Maximizing Path Durations in Mobile Ad- Hoc Networks Yijie Han and Richard J. La Department of ECE & ISR University of Maryland, College Park CISS, Princeton.
Correctness of Gossip-Based Membership under Message Loss Maxim Gurevich, Idit Keidar Technion.
Time, Clocks, and the Ordering of Events in a Distributed System Leslie Lamport (1978) Presented by: Yoav Kantor.
E 2 DTS: An energy efficiency distributed time synchronization algorithm for underwater acoustic mobile sensor networks Zhengbao Li, Zhongwen Guo, Feng.
EQ-BGP: an efficient inter- domain QoS routing protocol Andrzej Bęben Institute of Telecommunications Warsaw University of Technology,
Distributed Asynchronous Bellman-Ford Algorithm
Introduction Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
Localization With Mobile Anchor Points in Wireless Sensor Networks
Stochastic sleep scheduling (SSS) for large scale wireless sensor networks Yaxiong Zhao Jie Wu Computer and Information Sciences Temple University.
Topology aggregation and Multi-constraint QoS routing Presented by Almas Ansari.
Trust- and Clustering-Based Authentication Service in Mobile Ad Hoc Networks Presented by Edith Ngai 28 October 2003.
Statistical Sampling-Based Parametric Analysis of Power Grids Dr. Peng Li Presented by Xueqian Zhao EE5970 Seminar.
Parallel and Distributed Simulation Synchronizing Wallclock Time.
Aemen Lodhi (Georgia Tech) Amogh Dhamdhere (CAIDA)
Association Rule Mining in Peer-to-Peer Systems Ran Wolff Assaf Shcuster Department of Computer Science Technion I.I.T. Haifa 32000,Isreal.
1 Clock Synchronization for Wireless Sensor Networks: A Survey Bharath Sundararaman, Ugo Buy, and Ajay D. Kshemkalyani Department of Computer Science University.
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan Presented.
Computer Science 1 TinySeRSync: Secure and Resilient Time Synchronization in Wireless Sensor Networks Speaker: Sangwon Hyun Acknowledgement: Slides were.
A Trust Based Distributed Kalman Filtering Approach for Mode Estimation in Power Systems Tao Jiang, Ion Matei and John S. Baras Institute for Systems Research.
Research Unit in Networking - University of Liège A Distributed Algorithm for Weighted Max-Min Fairness in MPLS Networks Fabian Skivée
Time This powerpoint presentation has been adapted from: 1) sApr20.ppt.
KAIS T On the problem of placing Mobility Anchor Points in Wireless Mesh Networks Lei Wu & Bjorn Lanfeldt, Wireless Mesh Community Networks Workshop, 2006.
Energy-Efficient Data Caching and Prefetching for Mobile Devices Based on Utility Huaping Shen, Mohan Kumar, Sajal K. Das, and Zhijun Wang P 邱仁傑.
Tufts Wireless Laboratory School Of Engineering Tufts University Paper Review “An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks”,
Cooperative Location- Sensing for Wireless Networks Authors : Haris Fretzagias Maria Papadopouli Presented by cychen IEEE International Conference on Pervasive.
Backbone Topology Synthesis for Multi- Radio Meshed Wireless LANs Huei-jiun Ju and Izhak Rubin University of California, Los angeles(UCLA) Keon Jang, SA.
Global Clock Synchronization in Sensor Networks Qun Li, Member, IEEE, and Daniela Rus, Member, IEEE IEEE Transactions on Computers 2006 Chien-Ku Lai.
Hwajung Lee. Primary standard = rotation of earth De facto primary standard = atomic clock (1 atomic second = 9,192,631,770 orbital transitions of Cesium.
Superstabilizing Protocols for Dynamic Distributed Systems Authors: Shlomi Dolev, Ted Herman Presented by: Vikas Motwani CSE 291: Wireless Sensor Networks.
Querying the Internet with PIER CS294-4 Paul Burstein 11/10/2003.
KAIS T Location-Aided Flooding: An Energy-Efficient Data Dissemination Protocol for Wireless Sensor Networks Harshavardhan Sabbineni and Krishnendu Chakrabarty.
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
Presented by Edith Ngai MPhil Term 3 Presentation
University of Maryland
Privacy and Fault-Tolerance in Distributed Optimization Nitin Vaidya University of Illinois at Urbana-Champaign.
Student: Fang Hui Supervisor: Teo Yong Meng
FAST TCP : From Theory to Experiments
Presentation transcript:

Cyclone Time Technology Deriving Consistent Time Base Using Local Clock Information Ashok Agrawala Moustafa Youssef Bao Trinh University of Maryland College Park, MD 20742

Some Common Characteristics Peer-to-Peer Architecture –The scheme relies only on local information or what they can obtain from their immediate neighbors –No central/master clock Fast convergence

Clock Model Each node has a local clock which ticks at a constant rate The clock is stable in that its drift rate does not change rapidly  Local time can be recorded at any instant by reading the clock which is an integer register incremented every tick time Local time at any node A is represented as Where is the current local time at node A at time instant is the drift rate of the clock at node A, and is the offset

Two Nodes

Assumptions All nodes are connected in that there is a path from any node to every other node. The transit time for a message from Node A to Node B, Δ AB, is fixed ( relaxed later). Each node is capable of timestamping an incoming message with its local clock time to within a clock tick. Each node is capable of sending a message at a defined local time to within a clock tick If there is a variability in timestamping operation, this gets lumped into the variability in the transit time

Outline Introduction Drift correction scheme (Cyclone) Results Virtual Clock Scheme Conclusions

Scheme 1 Drift Correction (Cyclone) Goal : Correct drift at all nodes Each node sends a beat message at times it determines from its local information This message is only a time marker with no other information bits Each node uses a common constant number whose value is fixed at design time

Two Nodes Node A Node B  A (0)  A (1)  A (2) …  B (0)  B (1)  B (2) …

Algorithm 1.Initially each node sends the 0th beat at 2. Each node sends the 1 st beat at

Algorithm 3. For subsequent beats Node B calculates 4. It sends the (n+1)st beat at B KbKb π xkb B π x2 B π x1 B πBBπBB

Analysis Similarly Therefore

Analysis Matrix Notation Thus at each step we carry out a distributed calculation of As A is a stochastic matrix, this iteration converges with all items in the vector taking the same value. Convergence rate is determined by the second dominant eigen value.

Practical Considerations Transit delay –We assume it to be a constant. If it has some variability, it will have to be treated as a random variable. In that case the degree of clock synchronization depends on the jitter in the transit delay. –When transit time is much larger than the cycle time, special steps are required in the beginning of the operations Finite precision –The development above assumed an infinite precision arithmetic and infinite resolution clocks. –These are small perturbations to the calculations but have to make sure that their affects do not accumulate. –Require phase locking.

Outline Introduction Drift correction scheme (Cyclone) Results Virtual Clock Scheme Conclusions

Simulation Parameters Clock Tick Time – 100 ps (10 GHz) Cycle Time – 125  s (8000/sec) Latencies – Random 0 and 80 cycles Topologies –Chain –Star –Random Drift rate - ±100 ppm

Simulation Results Convergence achieved every time On convergence, jitter 1-2 clock ticks Long Term Stability –Similar jitter and no drift after 12 hours of simulation time.

Convergence Time for Different Network Topologies # Nodes Convergence time in Seconds StarChainBidirectionalRandom N/A N/A N/A

Effects of Perturbations Transit time –Varied by 10% –No more than the transit time change –Stabilizes very fast after that Clock Drift –Varied again by 10% Again, a step change results in immediate jitter determined by the change in clock drift Stabilizes very fast.

Transit Delay and Convergence

Latency Perturbations Node ID 0.01%0.10%1% CTJ % %0.008%0.055% %0.007%0.064% %0.008%0.074% %0.008%0.072% %0.007%0.083% %0.008%0.073% %0.007%0.072% %0.008%0.083%

Drift Rate Perturbation Node ID 100 PPM10 PPM1 PPM CTJ % %0.001%0.000% %0.001%0.000% %0.001%0.000% %0.002%0.000% %0.001%0.000% %0.002%0.000% %0.001%0.000% %0.001%0.000% %0.001%0.000%

Implications This scheme achieves clock synchrony in that all nodes achieve a common cycle value of  The local value  A is different at each node The beat instants are not synchronized –They do not drift How to achieve a common clock reading ??

Outline Introduction Drift correction scheme (Cyclone) Results Virtual Clock Scheme Conclusions

Virtual Global Clock A clock with parameters –  * and  * We define a scheme such that based only on local information any node can convert its local time to the time at this Virtual Global Clock. Key idea is to use a distributed consensus technique

Assumptions For the discussion right now we add two additional assumptions: –All connections are bidirectional –Transit time in two directions are the same

Approach Carry out the first scheme and reach convergence At convergence we note that The time when node A sends its n a th beat

Two Node Case As a part of the beat message node A also sends –Its converged cycle length –Current cycle number –Time –A value Node B sends similar values

Calculations Similar calculations are done by node B Node A can convert its local time to the time at Node B as

Multinode Operations When this phase starts –For each of its incoming links node A calculates It initializes

Multinode Operations For each subsequent cycle –It calculates the new values of A and B as averages of incoming values of A and B adjusted to the local scale.

On Convergence Node A has values It can convert its local clock values to Virtual global clock as

Current Status Simulation Results confirm the claims Working on prototype implementations using standard NICs

Comparisons CTTIEEE-1588NTPGPSTTPSERCOS Spatial extentGeneralA few subnetsWide area Local bus Communication s GeneralNetworkInternetSatelliteBus or starBus Target accuracySub-microsecond Few millisecondsSub-microsecond StyleDistributedMaster/slavePeer ensembleClient/serverDistributedMaster/Slave Resources Small network message and computatio n footprint Moderate network and computatio n footprint Moderate computatio n footprint Moderate Latency correction Yes ConfiguredNo Drift CorrectionYes No Protocol specifies security No (V2 may include security) YesNo AdministrationSelf organizing ConfiguredN/AConfigured Hardware? For highest accuracy No RF receiver and processor Yes Update intervalConfigured~2 seconds Varies, nominally seconds ~1 second Every TDMA cycle, ~ms

Concluding Remarks Use of consensus approach simplifies the clock synchronization As the scheme only depends on local information it is highly scalable Primary results to date –Analytic –Simulation –Implementations ? –Appropriate estimators/filters –Practical considerations Node Failure Node Joining …