Archive for October, 2008

Time Server – The need for a reliable time source

A time server is a necessary part of any computer network. Time servers receive an authoritative time source that they then distribute amongst all devices on a network. Most time servers use a protocol such as NTP (Network Time Protocol) to distribute the single time source to all devices.

The accuracy of a time server depends entirely on the accuracy of the time source that it uses. Most networks require a UTC time source (coordinated universal time). UTC is a global timescale based on International atomic clock time (TAI) and used throughout the globe. Utilising UTC means that a computer network can be synchronised to the exact same time as a network on the other side of the globe allowing precise communications and time sensitive transactions to take place.

A time server can receive a UTC time source from only three places: the Internet, via a radio transmission or the GPS network.

The internet is by far the most commonly used source of UTC time. There are over a thousand time servers all claiming to relay UTC time. However, in surveys, less than half of these internet time sources are accurate and those that are, can be too far away to provide and real use as a timing source.

Using an internet timing source will also leave a computer network vulnerable. The hole left in the firewall to access the timing source can be used by malicious users and the built-in security method of NTP, authentication, can not ne utilised from across the Internet.

Fortunately, the two other methods of receiving UTC time offer both secure and reliable methods of receiving UTC time. The GPS network is available anywhere where there is a clear view of the sky whilst although not every country has a national time and frequency transmission, these longwave signals can be picked up by a radio referenced network time server from within a building.

Radio referenced time servers explained.

Atomic clocks use an atomic resonance frequency standard as their timekeeping element and are by far the most accurate chronometers possible with the latest Strontium based atomic clocks boasting a precision of a less than a second lost in several hundred million years.

The clocks maintain a continuous and stable time scale called International Atomic Time (TAI). However, for civil time, another time scale, Coordinated Universal Time (UTC)which  is derived from TAI, but synchronized using leap seconds to UTC, to keep it based on the rotation of the Earth.

UTC is a global timescale that is commonly used to synchronise the clocks on computer networks allowing machines from across the globe to communicate together and conduct time sensitive applications.

Unfortunately atomic clocks are highly expensive pieces of equipment and are generally only to be found in high technology physics laboratories or onboard satellites. However, several national physics laboratories broadcast the time told by their atomic clocks via a long wave radio transmission.

These signals are commonly picked up and utilized by radio controlled wall and desk clocks and by NTP time servers (Network Time Protocol).

The transmissions from the national standards agencies maintain an accuracy of 10-9 seconds per day (approximately 1 part in 1014). MSF is the signal broadcast by National Physical Laboratory in, Anthorn, Cumbria. Other countries boast their own signals the most common being the DCF77 transmission broadcast from Mainflingen near Frankfurt, Germany and the USA’s WWVB signal broadcast from Fort Collins, Colorado.

All these times signals work in a similar way. At the start of each second the strength of the signal is either reduced by between 6 and 10 dB

The Time Server – References and Strata

A time server is a computer server that reads the time from an accurate clock and distributes this information to its clients across a computer network.

The reference used by a time server is normally a UTC (coordinated universal time) time source. UTC is a global time scale adopted all over the world and based on the time told by atomic clocks The most common source for UTC time is now the GPS system (global positioning system).

The most widely-used protocol for distributing and synchronising time is Network Time Protocol (NTP) which has been around almost as long as the Internet itself, having been developed in 1985 by Professor David Mills.

NTP receives the time from the time server and then checks or clocks on its networks to see if they need advancing or retreat.

To prevent overload of networks requesting timing information, NTP is hierarchical.  The term “stratum” is used to label the nearness to a stratum 0 server – that atomic clock. The higher the stratum number the further away the server is. A GPS time server is normally a stratum 1 device as it receives time from a stratum 0 device. However, stratum 2 and stratum 3 devices can still synchronise with each other.