skip to main content
article
Free Access

Synchronizing clocks in the presence of faults

Published:01 January 1985Publication History
Skip Abstract Section

Abstract

Algorithms are described for maintaining clock synchrony in a distributed multiprocess system where each process has its own clock. These algorithms work in the presence of arbitrary clock or process failures, including “two-faced clocks” that present different values to different processes. Two of the algorithms require that fewer than one-third of the processes be faulty. A third algorithm works if fewer than half the processes are faulty, but requires digital signatures.

References

  1. 1 DOLEV, D.The Byzantine Generals strike again. J. Algor. 3, 1 (1982), 14-30.Google ScholarGoogle Scholar
  2. 2 DOLEV, D., AND STRONG, R.Authenticated algorithms for Byzantine Agreement. SIAM. J. 12, 4 (Nov. 1983), 656-666.Google ScholarGoogle Scholar
  3. 3 HALPERN, J., SIMONS, B., ANt) STRONG, R.An efficient fault-tolerant algorithm for clock synchronization. IBM Tech. Rep. RJ-4094, IBM Thomas J. Watson Research Center, Yorktown Heights, N.Y., 1983.Google ScholarGoogle Scholar
  4. 4 LAMPORT, L.The implementation of reliable distributed multiprocess systems. Comput. Netw. 2 (1978),95-114.Google ScholarGoogle Scholar
  5. 5 LAMPORT, L.Using time instead of timeout for fault-tolerant distributed systems. ACM Trans. Prog. Lang. Syst., to appear. Google ScholarGoogle Scholar
  6. 6 LAMPORT, L., SHOSTAK, R., AND PEASE, M.The Byzantine Generals problem. ACM Trans. Prog. Lang. Syst. 4, 3 (July 1982), 382-401. Google ScholarGoogle Scholar
  7. 7 PEASE, M., SHOSTAK, R., AND LAMPORT, L.Reaching agreement in the presence of faults. J. ACM 27, 2 (Apr. 1980), 228-234. Google ScholarGoogle Scholar
  8. 8 STRONG, H. R., AND DOLEV, D.Byzantine Agreement. In Intellectual Leverage for the Information Society (Compcon). New York: IEEE Computer Society Press, pp. 77-82.Google ScholarGoogle Scholar
  9. 9 DOLEV, D., HALPERN, J. Y., AND STRONG, H. R. On the possibility and impossibility of achieving clock synchronization. In Proceedings of 16th Annual ACM Symposium on Theory of Computing (Washington, D.C., Apr. 30-May 2). ACM, New York, 1984, pp. 504-511. Google ScholarGoogle Scholar
  10. 10 WENSL~Y, J., ET AL.SIFT: Design and analysis of a fault-tolerant computer for aircraft control. Proceedings of the jrEEE 66, 10 (Oct. 1978).Google ScholarGoogle Scholar

Index Terms

  1. Synchronizing clocks in the presence of faults

    Recommendations

    Reviews

    Robert Joel Hofkin

    Virtually all distributed system work assumes that independent local clocks remain in agreement to form a single time base. In fact, the clocks drift and must be resynchronized periodically. Despite its shortcomings, a classic paper by Lamport [1] convinced most researchers that clocks could be synchronized arbitrarily well, and the problem was ignored. The present paper revisits the mechanisms for clock synchronization and presents three algorithms that work despite clock or process failures. The treatment is theoretical and based on Byzantine Generals solutions. It is assumed that communication delays are short and predictable (the paper suggests 2 &mgr;sec.), and that the clocks are reasonably accurate as well (suggested error 1 &mgr;sec.). These assumptions will hold in some, but certainly not all, distributed systems. Of course there is no free lunch: the best clock synchronization comes from frequent updates over predictable links. Analysis is lacking for less predictable, but very common, links such as CSMA.

    Access critical reviews of Computing literature here

    Become a reviewer for Computing Reviews.

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image Journal of the ACM
      Journal of the ACM  Volume 32, Issue 1
      Jan. 1985
      246 pages
      ISSN:0004-5411
      EISSN:1557-735X
      DOI:10.1145/2455
      Issue’s Table of Contents

      Copyright © 1985 ACM

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 January 1985
      Published in jacm Volume 32, Issue 1

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader