This article discuses various methods of maintaining precise time on computer systems and describes how to use Internet NTP servers as accurate timing references.
Many computer systems keep very poor time. Often this is due to the low quality of the timing components utilised by the computer. In order to maintain low-cost, inferior timing components are utilised. However, there a number of hardware and software solutions to maintain precise time. This article discuses how GPS and radio based hardware clocks and Internet NTP servers can be used to provide a solution to computer time synchronisation.
There are a number of commercially available hardware time references that utilise GPS or National radio time and frequency broadcasts to maintain accurate time on computers. These hardware clocks generally have serial or USB interfaces that provide regular time updates. Software drivers constantly reads precise timing information from the hardware timing reference in order to maintain accurate system time. More sophisticated software may be available that provides a software interface between the hardware clock and the NTP software distribution. This allows a PC to be configured as a precise stratum 1 NTP server.
GPS hardware clock systems have a number of advantages. They are generally highly accurate providing timing precision to within nanoseconds of UTC. GPS is a global system that works anywhere on the face of the planet, provided the antenna can be provided with a good view of the sky. Radio based hardware clocks are generally less accurate and can only be received within the locality of the radio transmitter. However, they do have the advantage that generally a good signal can be received indoors close to the host computer. GPS clocks require an antenna with a good view of the sky, which can be impractical for many installations.
The Internet has developed precise timing algorithms to maintain accurate time on client computers. The Network Time Protocol (NTP) was developed over 25 years ago just to fulfil such a requirement and is now the dominant method of time synchronisation across a computer network. Many operating systems such as Microsoft Windows 2000, 2003, XP, LINUX, UNIX and Novell have adopted the NTP standard. There are a vast number of highly precise Internet NTP server systems that can be utilised free of charge to provide accurate computer time synchronisation.
Microsoft Windows 2000 and 2003 server operating systems provide a pre-installed SNTP (Simple Network Time Protocol) client that can synchronise to any NTP server. The Windows 2000/2003 Server SNTP time client is called 'Windows Time'; it runs in the service list and is configured by editing registry entries. Windows XP also has an integrated SNTP client that is configured from the 'Time Properties' applet in the control panel.
LINUX and UNIX operating systems have much more sophisticated timing applications. NTP was originally developed for the LINUX operating system and provides complex timing algorithms to provide a highly precise timing solution. The NTP software distribution is freely available and downloaded under the GNU public licence. Configuring NTP to utilise an external hardware reference clock provides a local stratum 1 NTP server for use on an intranet.
SNTP was originally developed to run on small computers and microcontrollers without the computing power required to run full-blown NTP. SNTP provides less accuracy, but most of the functionality of the NTP protocol. The Windows 2000/2003 Server operating systems utilise SNTP to provide network wide time synchronisation of its Kerberos authentication protocol. SNTP allows a client to synchronise to a NTP server but with some loss of precision.
To summarise, NTP and SNTP protocols are the standard means of time dissemination around the Internet and computer networks. Client PC's can ensure that their system time never varies by more than a few milliseconds. GPS and radio hardware clocks can provide accurate synchronisation of computer systems that have no access to the Internet or to provide a Stratum 1 NTP Server resource.
Why Does My Organisation Need a NTP Time Server?
This article attempts to clearly and simply describe what a NTP server is and why it is an essential part of a modern computer network infrastructure.Network Time Synchronisation using GPS
This article describes the components required to utilise GPS for computer timing applications. It also discusses how the GPS system can be used for computer network timing by using the Network Time Protocol (NTP) and NTP time servers.Installing a Radio Referenced NTP Server
Many networks in organisations suffer from a lack of time synchronisation between servers, workstations and other network components. This can lead to problems processing time critical information and transactions. However, a solution has been available for many years in the form of NTP.