23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Clock Synchronization in Distributed Systems 18-7<br />

18.9 Network Time Protocol Strata<br />

A basic principle in NTP is to assign to every clock a so-called stratum. This hierarchically organized<br />

system of clock strata defines the accuracy of a computer’s clock or more precisely the distance to a reference<br />

clock. Within NTP, device strata are identified with an integer value starting at stratum-0. Like<br />

illustrated in Figure 18.5, these strata are defined as follows:<br />

• Stratum-0 devices have highly accurate clocks such as cesium or rubidium time normals. It<br />

has to be noted that devices with this stratum are never connected directly to a network—<br />

time and frequency transfer happens via serial interfaces or transmission of defined electrical<br />

pulses.<br />

• Stratum-1 nodes are always directly connected to devices with stratum-0. The usual way is to have<br />

these nodes act as time servers for stratum-2 clients.<br />

• Stratum-2 nodes communicate via NTP with stratum-1 servers. It is possible for these devices to<br />

peer with other stratum-2 nodes in order to obtain a more robust time source for all other devices<br />

in the so-called peer group. Again, in the usual case, these devices will act as servers for stratum-3<br />

clocks.<br />

• Stratum-3 is the class for the next hierarchical layer in NTP. These nodes perform basically the<br />

same tasks as NTP devices in the layer below, with the difference that time is obtained from<br />

stratum-2 devices. In general, NTP, depending on the version, allows strata higher than stratum-3<br />

(up to 256 depending on the version). Nevertheless, future developments will most likely restrict<br />

the NTP strata to 8–16.<br />

A study by Minar in 1999 [Minar1999] revealed that at the time of the study, at least 175,000 hosts use<br />

NTP in the Internet. Among those are more then 300 stratum-1 servers and 20,000 and 80,000 stratum-2<br />

and stratum-3 servers, respectively.<br />

Stratum-0<br />

Direct link<br />

e.g., RS232<br />

Stratum-1<br />

NTP link<br />

Stratum-2 peer group<br />

for increased accuracy<br />

Stratum-2<br />

Stratum-3<br />

FIGURE 18.5<br />

Example for an NTP network with node strata (NTPStratums.pdf).<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!