Academia.eduAcademia.edu

Outline

Robust synchronization of software clocks across the internet

2004, Proceedings of the 4th ACM SIGCOMM conference on Internet measurement

https://doi.org/10.1145/1028788.1028817

Abstract

Accurate, reliable timestamping which is also convenient and inexpensive is needed in many important areas including real-time network applications and network measurement. Recently the TSC register, which counts CPU cycles in popular PC architectures, was proposed as the basis of a new software clock which in terms of rate performance performs as well as more expensive GPS alternatives. Smooth and precise clock rate is essential to measure time differences accurately. We show how to define a TSC based clock which is also accurate with respect to absolute time. The clock is calibrated by processing, in a novel way, timestamps contained in the usual flow of Network Time Protocol (NTP) packets between a NTP server and the existing software clock, and TSC timestamps made independently on the host side. Using real measurements over 4 months, validated with a GPS synchronized hardware timing solution, the algorithm measured absolute time with a median error of only 30 microseconds when using a nearby stratum-1 NTP server. Results for two other servers are given. We also provide new algorithms for the robust determination of clock rate. We exploit the reliability of the available hardware to design synchronization algorithms which are inherently robust to many factors including packet loss, server outages, route changes, temperature environment, and network congestion.

References (14)

  1. REFERENCES
  2. D.L. Mills, "Internet time synchronization: the network time protocol," IEEE Trans. Communications, vol. 39, no. 10, pp. 1482-1493, October 1991, Condensed from RFC-1129.
  3. C. Liao et al., "Experience with an adaptive globally synchronizing clock algorithm," in Proc. of 11th ACM Symp. on Parallel Algorithms and Architectures, June 1999.
  4. Vern Paxson, "On calibrating measurements of packet transit times," in Proceedings of the 1998 ACM SIGMETRICS joint international conference on Measurement and modeling of computer systems. 1998, pp. 11-21, ACM Press.
  5. Jonas Andren, Magnus Hilding, and Darryl Veitch, "Understanding end-to-end internet traffic dynamics," in IEEE Global Telecommunications Conference (Globecom'98), Sydney, Australia, Nov. 1998, vol. 2, pp. 1118-1122.
  6. Attila Pásztor and Darryl Veitch, "PC based precision timing without GPS," in Proceeding of ACM Sigmetrics 2002 Conference on the Measurement and Modeling of Computer Systems, Del Rey, California, 15-19 June 2002, pp. 1-10.
  7. "RIPE NCC Test Traffic Measurements," http://www.ripe.net/ttm/.
  8. Attila Pásztor and Darryl Veitch, "Software infrastructure for accurate active probing," http://www.cubinlab.ee. mu.oz.au/probing/software.shtml/.
  9. Jörg Micheel, Ian Graham, and Stephen Donnelly, "Precision timestamping of network packets," in Proc. of the SIGCOMM IMW, November 2001.
  10. D.L. Mills, "The network computer as precision timekeeper," in Proc. Precision Time and Time Interval (PTTI) Applications and Planning Meeting, Reston VA, December 1996, pp. 96-108.
  11. Attila Pásztor and Darryl Veitch, "A precision infrastructure for active probing," in Passive and Active Measurement Workshop (PAM2001), Amsterdam, The Netherlands, 23-24 April 2001, pp. 33-44.
  12. Victor Yodaiken, "The RTLinux Manifesto," Tech. Rep., Department of Computer Science, New Mexico Institute of Technology, 1999, available at http://www.rtlinux.org.
  13. P. Abry, D. Veitch, and P. Flandrin, "Long-range dependence: revisiting aggregation with wavelets," Journal of Time Series Analysis, vol. 19, no. 3, pp. 253-266, May 1998, Bernoulli Society.
  14. "Cooperative Association for Internet Data Analysis (CAIDA) Skitter project," http://www.caida.org/ tools/measurement/skitter/.