Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Clocks
Dr A K Singh
Professor, Computer Engineering
N I T Kurukshetra
2
3
4
5
6
7
8
9
10
11
The Berkeley Algorithm (Contd.)
a) The time daemon asks all the other machines for their clock values
b) The machines answer
c) The time daemon tells everyone how to adjust their clock
12
Limitations of Cristian’s Method
13
14
Network Time Protocol (NTP)
15
NTP Synchronization Modes
Multicast Mode
– One or more servers periodically multicast the time to other servers
– Low accuracy, hence, intended for use on a high speed LAN
Procedure-call Mode
– Similar to Christian’s method
– Higher accuracy than multicast
Symmetric Mode
– The highest accuracy (hence our concern)
16
26
27
28
29
30
31
32
33
Is it enough to synchronize physical clocks?
34