Causality-Preserving Timestamps in Distributed Programs

  • Authors:
  • Adam Beguelin;Erik Seligman

  • Affiliations:
  • -;-

  • Venue:
  • Causality-Preserving Timestamps in Distributed Programs
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

A tachyon is an improperly ordered event in a distributed program. Tachyons are most often manifested as messages which are received before they are sent, violating the principle of causality. Although tachyons are not possible in "real life", they may appear to occur in distributed parallel program traces due to coarse clock granularity or poor clock synchronization. In this paper, we establish that tachyons do in fact occur commonly in distributed programs on our Ethernet at Carnegie Mellon University, and we discuss some ways of eliminating them from program traces while preserving at least some knowledge of the length of time intervals in our programs. Our methods are based on Lamport-style clock corrections; when a process receives a message stamped with a later sending time, it sets its own clock ahead to a time at least as great as the sending timestamp. We have implemented this both in real time and in a more comprehensive post-processor for Xab.