{"title":"Improved algorithms for synchronizing computer network clocks","authors":"D. Mills","doi":"10.1145/190314.190343","DOIUrl":null,"url":null,"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.","PeriodicalId":142337,"journal":{"name":"Proceedings of the conference on Communications architectures, protocols and applications","volume":"187 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1994-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"138","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the conference on Communications architectures, protocols and applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/190314.190343","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 138
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.
网络时间协议(NTP)被广泛部署在互联网上,通过电话调制解调器、无线电和卫星使计算机时钟相互同步,并与国际标准同步。协议和算法已经发展了十多年,产生了目前的NTP版本3规范和实现。在今天的互联网中,估计部署的100,000个NTP服务器和客户端中的大多数都享有几十毫秒内的同步。本文描述了为NTP Version 3开发的具体改进,这些改进提高了局域网和广域网的准确性、稳定性和可靠性。这包括对几种算法的工程改进,这些算法用于测量本地时钟和网络中许多对等时钟之间的时间差,以及从一组对等时钟中选择最佳集合,并将它们的差异组合在一起,以产生比集合中任何时钟都更好的时钟精度。本文还描述了用于调整本地时钟的时间和频率的算法的工程改进,它的功能是一个纪律振荡器。这些改进提供了消息交换间隔的自动调整,以便最小化客户机和繁忙服务器之间的网络流量,同时保持最佳的准确性。最后,本文描述了对Unix操作系统软件的一些改进,以便在快速工作站和网络中实现亚毫秒精度。