The Statistics of Computer Clocks and the Design of Synchronization Algorithms
Author:
Open Access
- 25 February 2020
- journal article
- research article
- Published by National Institute of Standards and Technology (NIST) in Journal of Research of the National Institute of Standards and Technology
- Vol. 125, 125008
Abstract
In this study, I used standard statistical tools (such as the various forms of the two-sample Allan variance) to characterize the clocks in computers, and I show how the results of this study are used to design algorithms to synchronize the computer clocks. These synchronization algorithms can be used to synchronize the time of a computer to a local reference clock or to a remote server. The algorithms by themselves are not intended to be a simple replacement for software that implements the Network Time Protocol (NTP) or any other similar application. Instead, they describe the statistical principles that should be used to design an algorithm to synchronize any computer clock by using data from any external reference received in any format. These algorithms have been used to synchronize the clocks of the computers that support the Internet Time Service operated by the National Institute of Standards and Technology (NIST), and I illustrate the performance of the algorithm with real-time data from these servers. In addition to presenting the design principles of the algorithm, I illustrate the principles with two specific examples: synchronizing a computer clock to a local reference signal, and the design of a synchronization process that is based on time-difference data received from a remote server over the public Internet. The message exchange between the local system and the remote server in this configuration is realized in NTP format, but that is not a fundamental requirement.Keywords
Funding Information
- Physical Measurement Laboratory
This publication has 19 references indexed in Scilit:
- An Efficient and Configurable Preprocessing Algorithm to Improve Stability AnalysisIEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, 2015
- The IERS and adjustments to Coordinated Universal Time2014
- Improvements to the NIST network time protocol serversMetrologia, 2008
- Estimating the Allan variance in the presence of long periods of missing data and outliersMetrologia, 2008
- A frequency-domain view of time-domain characterization of clocks and time and frequency distribution systems2002
- An algorithm to synchronize the time of a computer to universal timeIEEE/ACM Transactions on Networking, 1995
- The BIPM and the accurate measurement of timeProceedings of the IEEE, 1991
- GPS time transferProceedings of the IEEE, 1991
- The NIST automated computer-time serviceJournal of Research of the National Institute of Standards and Technology, 1989
- Accurate Time and Frequency Transfer During Common-View of a GPS Satellite1980