How might the clocks in two computers that are linked by a local network be synchronized without reference to an external time source? What factors limit the accuracy of the procedure you have described? How could the clocks in a large number of computers connected by the Internet be synchronized? Discuss the accuracy of that procedure.

What will be an ideal response?


One of these is Cristian’s protocol. Briefly, the round trip time t to send a message and a reply between computer A and computer B is measured by repeated tests; then computer A sends its clock setting T to computer B. B sets its clock to T+t/2. The setting can be refined by repetition. The procedure is subject to inaccuracy because of contention for the use of the local network from other computers and delays in the processing the messages in the operating systems of A and B. For a local network, the accuracy is probably within 1 ms.
For a large number of computers, one computer should be nominated to act as the time server and it should carry out Cristian’s protocol with all of them. The protocol can be initiated by each in turn. Additional inaccuracies arise in the Internet because messages are delayed as they pass through switches in wider area networks. For a wide area network the accuracy is probably within 5-10 ms. These answers do not take into account the need for fault-tolerance.

Computer Science & Information Technology

You might also like to view...

When the data flow in and out of a parent process do not match the data flow in or out of a child diagram, it is called:

A) a primitive process. B) a disordered pair. C) a logical data flow diagram. D) unbalanced decomposition.

Computer Science & Information Technology

Emptying the Recycle Bin frees space on the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The new operator returns the address of the first reserved location or returns ____ if sufficient memory is not available.

A. zero B. one C. an error message D. NULL

Computer Science & Information Technology

When drawing borders, the default Pen Weight is measured in:

A) centimeters. B) inches. C) points. D) pixels.

Computer Science & Information Technology