Clock Synchronization
Clock Synchronization
Hardware clocks
Physical clock of process q designated Rq(t)
Clocks have a drift rate ρ:
(1+ ρ)-1(t2-t1) Rp(t2)- Rp(t1) (1+ ρ) (t2-t1)
Implies that rate of drift is bounded by dr = ρ(2+ ρ)/(1+ ρ)
For Byzantine model assume nothing about the clock
May increase or decrease or return a random number
b
t+
)
(1+
( t)
C p
Clock Time
k ck:
l o
oc C
l C l
tua
l
+ a
de
a Vi
r
) -1 t
I
+
(1
b a
True Time
Authenticated Algorithm
Real systems
Sometimes stop the clock
Sometimes even run the clock backwards!
Better approach?
Pick a constant and synchronize during periods of time
long
If clock needs to be adjusted by , adjust at rate / over
the course of a period, value catches up
Avoids sudden discontinuities or stopping the clock
Summary