





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






PagePage 11
[email protected]^ Paul Krzyzanowski
Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5 License. Page 2
PagePage 33
Page 4
Page 5
Page 6
Page 7
UTC
UTC
Page 9
Physical clocks in computers
Problem
Page 11
Sept 18, 2006 8:00:
Page 12
Oct 23, 2006 8:00: Skew = +84 seconds^ 8:01:24^ 8:01: +84 seconds/35 days Drift = +2.4 sec/day +108 seconds/35 days^ Skew = +108 seconds Drift = +3.1 sec/day
Page 19
Compensating for a fast clock
UTC time, t
C
Page 20
Compensating for a fast clock
Page 21
Resynchronizing
Page 22
Getting accurate time
Page 23
Getting accurate time
Time server
Page 24
RPC
Page 25
Cristian’s algorithm
Tserver
Page 26
Cristian’s algorithm
server
Tserver
= estimated overhead in each direction
Page 27
Error bounds
Page 28
Error bounds server
Tserver
message arrives Latest time message leaves
Page 29
Cristian’s algorithm: example
Cristian’s algorithm: example If best-case message time=200 msec server
Tserver
200 200
T T T (^01) s = 5:08:15.100= 5:08:15.900= 5:09:25: Tmin = 200msec
Page 37
Berkeley Algorithm: example
Page 38
Network Time Protocol, NTP
Page 39
NTP Goals
NTP servers
connected directly to accurate time source
1 2 3 4
Page 41
NTP Synchronization Modes
NTP messages
Page 43
NTP message structure
NTP message structure
Page 45
NTP message structure
Page 46
NTP’s validation tests
Page 47
SNTP
Page 48
SNTP
Roundtrip delay: d = (T 4 - T 1 ) - (T 2 - T 3 )
server
Time offset: