Optimization and Engineering

, Volume 11, Issue 1, pp 107–123 | Cite as

Least squares timestamp synchronization for local broadcast networks

  • Florian Jarre
  • Wolfgang Kiess
  • Martin Mauve
  • Magnus Roos
  • Björn Scheuermann
Article
  • 61 Downloads

Abstract

The analysis of computer network experiments strongly relies on event log files recorded by the participating network nodes during the experiment. Timing related issues play an important role here for a number of central parameters like, e.g., end-to-end delay. As each node uses its local clock to timestamp the events in the log files, the large deviation of standard crystal oscillator based clocks imposes some big problems. We look at this issue in the case of networks with local broadcast media, where occurring transmissions can often be observed by multiple network nodes. We have developed a method to correct the timestamps in such an environment in a previous paper. Here, we present a second solution. For this new solution, we give bounds on the synchronization quality and compare the two approaches by means of simulation.

Keywords

Timestamps Offline time synchronization Least squares Optimization Maximum likelihood Linear programming 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ashton P (1995) Algorithms for off-line clock synchronization. Technical Report TR COSC 12/95, Department of Computer Science, University of Canterbury Google Scholar
  2. Duda A, Harrus G, Haddad Y, Bernard G (1987) Estimating global time in distributed systems. In: ICDCS ’87: proceedings of the 7th international conference on distributed computing system, pp 299–306 Google Scholar
  3. Elson J, Girod L, Estrin D (2002) Fine-grained network time synchronization using reference broadcasts. In: OSDI ’02: proceedings of the 5th symposium on operating systems design and implementation, pp 147–163 Google Scholar
  4. Golub GH, Loan CFV (1993) Matrix Computations. Johns Hopkins University Press, Baltimore Google Scholar
  5. Karp RM, Elson J, Papadimitriou CH, Shenker S (2004) Global synchronization in sensornets. In: LATIN ’04: proceedings of the 6th Latin American symposium on theoretical informatics, pp 609–624 Google Scholar
  6. Mills DL (1992) Network time protocol (version 3) specification, implementation and analysis RFC 1305 (draft standard) Google Scholar
  7. Mills DL (1994) Internet time synchronization: the network time protocol. In: Yang Z, Marsland TA (eds) Global states and time in distributed systems. IEEE Computer Society Press, Los Alamitos Google Scholar
  8. Mock M, Frings R, Nett E, Trikaliotis S (2000) Continuous clock synchronization in wireless real-time applications. In: SRDS ’00: proceedings of the 19th IEEE symposium on reliable distributed systems, pp 125–132 Google Scholar
  9. Moon SB, Skelly P, Towsley DF (1999) Estimation and removal of clock skew from network delay measurements. In: INFOCOM ’99: proceedings of the 18th annual joint conference of the IEEE computer and communications societies, pp 227–234 Google Scholar
  10. Ns-2 network simulator, version 2.29 (2005) http://www.isi.edu/nsnam/ns/
  11. Perkins CE, Royer EM (1999) Ad-hoc on-demand distance vector routing. In: WMCSA ’99: proceedings of the 2nd IEEE workshop on mobile computing systems and applications, pp 90–100 Google Scholar
  12. Römer K, Blum P, Meier L (2005) Time synchronization and calibration in wireless sensor networks. In: Stojmenovic I (ed) Handbook of sensor networks: algorithms and architectures. Wiley, New York, pp 199–237 Google Scholar
  13. Scheuermann B, Kiess W, Roos M, Mauve M, Jarre F (2008) On the time synchronization of distributed log files in networks with local broadcast media. IEEE/ACM Transactions on Networking (in press) Google Scholar
  14. Veríssimo P, Rodrigues L, Casimiro A (1997) CesiumSpray: a precise and accurate global time service for large-scale systems. Real-Time Syst 12(3):243–294 CrossRefGoogle Scholar
  15. Zhang L, Liu Z, Xia C (2002) Clock synchronization algorithms for network measurements. In: INFOCOM ’02: proceedings of the 21st annual joint conference of the IEEE computer and communications societies, pp 160–169 Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2008

Authors and Affiliations

  • Florian Jarre
    • 1
  • Wolfgang Kiess
    • 2
  • Martin Mauve
    • 2
  • Magnus Roos
    • 2
  • Björn Scheuermann
    • 2
  1. 1.Mathematical DepartmentHeinrich Heine UniversityDüsseldorfGermany
  2. 2.Computer Science DepartmentHeinrich Heine UniversityDüsseldorfGermany

Personalised recommendations