Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Improved algorithms for synchronizing computer network clocks

Published: 01 October 1994 Publication History

Abstract

The Network Time Protocol (NTP) is widely deployed in the Internet to synchronize computer clocks to each other and to international standards via telephone modem, radio and satellite. The protocols and algorithms have evolved over more than a decade to produce the present NTP Version 3 specification and implementations. Most of the estimated deployment of 100,000 NTP servers and clients enjoy synchronization to within a few tens of milliseconds in the Internet of today.
This paper describes specific improvements developed for NTP Version 3 which have resulted in increased accuracy, stability and reliability in both local-area and wide-area networks. These include engineered refinements of several algorithms used to measure time differences between a local clock and a number of peer clocks in the network, as well as to select the best ensemble from among a set of peer clocks and combine their differences to produce a clock accuracy better than any in the ensemble.
This paper also describes engineered refinements of the algorithms used to adjust the time and frequency of the local clock, which functions as a disciplined oscillator. The refinements provide automatic adjustment of message-exchange intervals in order to minimize network traffic between clients and busy servers while maintaining the best accuracy. Finally, this paper describes certain enhancements to the Unix operating system software in order to realize submillisecond accuracies with fast workstations and networks.

References

[1]
Allan, D.W. Time and frequency (time-domain) estimation and prediction of precision clocks and oscillators. IEEE Trans. on Ultrasound, Ferroelectrics, and Frequency Control UFFC-34, 6 (November 1987), 647- 654. Also in: SuUivan, D.B., D.W. Allan, D.A. Howe and F.L. Walls (Eds.). Characterization of Clocks and Oscillators. NIST Technical Note 1337, U.S. Department of Commerce, 1990, 121-128.]]
[2]
Bishop, M. A security analysis of the NTP protocol. Report to the Privacy and Security Research Group. Department of Mathematics and Computer Science, Dartmouth College, June 1990.]]
[3]
Defense Advanced Research Projects Agency. Intemet Protocol. DARPA Network Working Group Report RFC-791, USC Information Sciences institute, September 1981.]]
[4]
Defense Advanced Research Projects Agency. Intemet Control Message Protocol. DARPA Network Working Group Report RFC-792, USC Information Sciences institute, September 1981.]]
[5]
Digital Time Service Functional Specification Version T. 1.0.5. Digital Equipment Corporation, 1989.]]
[6]
Deering, S.E., and D.R. Cheriton. Multicast routing in datagram intemetworks and extended LANs. ACM Trans. Computing Systems 8, 2 (May 1990), 85-100.]]
[7]
Data Encryption Standard. Federal Information Processing Standards Publication 46. National Bureau of Standards, U.S. Department of Commerce, 1977.]]
[8]
Levine, J., M. Weiss, D.D. Davis, D.W. Allan, and D.B. Sullivan. The NIST automated computer time service. J. Research National Institute of Standards and Technology 94, 5 (September-October 1989), 311-321.]]
[9]
Lindsay, W.C., and A.V. Kantak. Network synchronization of random signals. IEEE Trans. Communications COM-28, 8 (August 1980), 12~-1266.]]
[10]
Marzullo, K., and S. Owicki. Maintaining the time in a distributed system. ACM Operating Systems Review 19, 3 (July 1985), 44-54.]]
[11]
Mills, D.L. Network Time Protocol (version 2) - specification and implementation. DARPA Network Working Group Report RFC-1119, University of Delaware, September 1989.]]
[12]
Mills, D.L. Measured performance of the Network Time Protocol in the Internet system. ACM Computer Communication Review 20, 1 (January 1990), 65-75.]]
[13]
Mills, D.L. Interact time synchronization: the Network Time Protocol. iEEE Trans. Communications COM-39,10 (October 1991), 1482-1493. Also in: Yang, Z., and T.A. Marsland (F_.ds.). Global States and Time in Distributed Systems, ~ Press, Los Alamitos, CA, 91-102.]]
[14]
Mills, D.L. Network Time Protocol (Version 3) specification, implementation and analysis. DARPA Network Working Group Report RFC-1305, University of Delaware, March 1992, 113 pp.]]
[15]
Mills, D.L. Modelling and analysis of computer network clocks. Electrical Engineering Department Report 92-5-2, University of Delaware, May 1992, 29 pp.]]
[16]
Mills, D.L. Simple Network Time Protocol (SNTP). DARPA Network Working Group Report RFC- 1361, University of Delaware, August 1992, 10 pp.]]
[17]
Mills, D.L. Precision synchronizatin of computer network clocks. Electrical Engineering Department Report 93-11-1, University of Delaware, November 1993, 66 pp.]]
[18]
NIST Time and Frequency Dissemination Services. NBS Special Publication 432 (Revised 1990), National Institute of Science and Technology, U.S. Department of Commerce, 1990.]]
[19]
Postel, J. User Datagram Protocol. DARPA Network Working Group Report RFC-768, USC Information Sciences institute, August 1980.]]
[20]
Postel, J. Time protocol. DARPA Network Working Group Report RFC-868, USC Information Sciences Institute, May 1983.]]
[21]
Ramanathan, P., K.G. Shin and R.W. Buffer. Faulttolerant clock synchronization in distributed systems. IEEE Computer 23,10 (October 1990), 33-42.]]
[22]
MD5 Message-Digest Algorithm, RSA Data Security, Inc., 1990.]]
[23]
Shin, K.G., and P. Ramanathan. Clock synchronization of a large multiproc~ssor system in the presence of malicious faults. IEEE Trans. Computers C-36,1 (January 1987), 2-12.]]
[24]
Vasanthavada, N., and P.N. Marinos. Synchronization of fault-tolerant clocks in the presence of malicious failures. IEEE Trans. Computers C-37, 4 (April 1988), 440-448.]]

Cited By

View all
  • (2023)Understanding PTP Performance in Today’s Wi-Fi NetworksIEEE/ACM Transactions on Networking10.1109/TNET.2023.326774831:6(3037-3050)Online publication date: Dec-2023
  • (2013)Automated Analysis of Mutual Gaze in Human Conversational PairsEye Gaze in Intelligent User Interfaces10.1007/978-1-4471-4784-8_4(41-60)Online publication date: 2013
  • (2012)Time Synchronization at OS Level Using the IEEE 1588 ProtocolProceedings of the 2012 Brazilian Symposium on Computing System Engineering10.1109/SBESC.2012.37(153-156)Online publication date: 5-Nov-2012
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGCOMM Computer Communication Review
ACM SIGCOMM Computer Communication Review  Volume 24, Issue 4
Oct. 1994
318 pages
ISSN:0146-4833
DOI:10.1145/190809
  • Editor:
  • David Oran
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGCOMM '94: Proceedings of the conference on Communications architectures, protocols and applications
    October 1994
    328 pages
    ISBN:0897916824
    DOI:10.1145/190314
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 1994
Published in SIGCOMM-CCR Volume 24, Issue 4

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)96
  • Downloads (Last 6 weeks)23
Reflects downloads up to 18 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Understanding PTP Performance in Today’s Wi-Fi NetworksIEEE/ACM Transactions on Networking10.1109/TNET.2023.326774831:6(3037-3050)Online publication date: Dec-2023
  • (2013)Automated Analysis of Mutual Gaze in Human Conversational PairsEye Gaze in Intelligent User Interfaces10.1007/978-1-4471-4784-8_4(41-60)Online publication date: 2013
  • (2012)Time Synchronization at OS Level Using the IEEE 1588 ProtocolProceedings of the 2012 Brazilian Symposium on Computing System Engineering10.1109/SBESC.2012.37(153-156)Online publication date: 5-Nov-2012
  • (2008)Timed buffersComputer Communications10.1016/j.comcom.2008.05.00131:14(3209-3222)Online publication date: 1-Sep-2008
  • (2006)Synchronous state in a fully connected phase-locked loop networkMathematical Problems in Engineering10.1155/MPE/2006/523562006(1-12)Online publication date: 2006
  • (2006)On End-to-End Network Clock Offset Compensation Algorithm and Its Implementation2007 Chinese Control Conference10.1109/CHICC.2006.4347512(666-670)Online publication date: Jul-2006
  • (2006)A Time Synchronization Algorithm in CSCW2006 Chinese Control Conference10.1109/CHICC.2006.280534(1001-1003)Online publication date: Aug-2006
  • (2006)Distributed source-destination synchronization using inband clock distributionIEEE Journal on Selected Areas in Communications10.1109/49.48170114:1(153-161)Online publication date: 1-Sep-2006
  • (2005)Schemes for Indoor Network Synchronization in UWB PositioningKey Engineering Materials10.4028/www.scientific.net/KEM.277-279.233277-279(233-241)Online publication date: Jan-2005
  • (2005)HASSE: a tool for analyzing causal relationships in parallel and distributed systemsQuantitative Evaluation of Computing and Communication Systems10.1007/BFb0024321(269-283)Online publication date: 9-Jun-2005
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media