Search:

Home | Computer


Accurate Computer Time Using an NTP Server

By: David Evans

Computers utilise real-time clock chips and crystal oscillators to maintain internal system time. However, due to the need to keep costs low, relatively cheap components are utilised. Therefore, computer systems are notoriously poor at maintaining accurate system time and can drift by many seconds each day. This article discuses various methods of maintaining precise time on computer systems and describes how to use Internet NTP servers as accurate timing references.

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. The GPS system is also global, so that GPS hardware clocks can be utilised anywhere in the world. 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 much of the functionality of full-blown NTP without the more sophisticated algorithms. Microsoft adopted the SNTP protocol for use with its Windows 2000 and 2003 server operating systems. SNTP allows a client to synchronise to a NTP server but with some loss of precision.

To conclude, NTP is utilised throughout the internet as a standard way of synchronising computers and network infrastructure to the precise time. 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.

Article Source: http://www.a1-articledirectory.com

D. Evans is an experienced technical author who has published a number of articles in the field of computer network time synchronisation. David has also provided a number of time server manufacturers with a technical authoring resource. Please click here for more detailed information about NTP server systems.

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Computer Articles Via RSS!
Unlimited
Autoresponders by AWeber
Copyright 2008, A1-Optimization

Powered by Article Dashboard