Teach Time Encyclopedia - Learn About Our World
Home Page
Teach Time
Featured Topics

United States
by state

CITYology

Academic Disciplines

Historical Timelines

Themed Timelines

Calendars

Reference Tables

Biographies

How-tos



Tuesday, May 20, 2008

Network Time Protocol

The Network Time Protocol (NTP) is a standard for synchronising the clocks of computer systems over packet-switched data networks. Although NTP is most commonly used as part of the UDP/IP protocol suite, it can also be transported over other network protocols such as TCP/IP. It is designed particularly to resist the effects of variable latency.

NTP uses the Marzullo algorithm (invented by Keith Marzullo of UC-San Diego in his dissertation) with the UTC time scale, including support for features such as leap seconds. NTPv4 can usually maintain time to within 10 milliseconds over the public Internet, and can achieve accuracies of 200 microseconds or better in local area networks under ideal conditions.

It makes use of variations in latency in transmitting data packets across a network to synchronize computer clocks.

NTP is one of the oldest TCP/IP protocols still in use. NTP was originally designed by Dave Mills of the University of Delaware, who still maintains it. The current version is NTP version 4.

The NTP daemon is a user-level process that runs continuously on a machine that supports NTP, and most of the protocol is implemented in this user process. To get the best performance from NTP, it is important to have the standard NTP clock phase-locked loop implemented in the operating system kernel, rather than using only the intervention of the external NTP daemon: all recent versions of the Linux operating system have this support.

NTP uses a hierarchical system of "clock strata", where stratum 1 systems are synchronised to an accurate external clock such as a GPS clock or other radio clock. NTP stratum 2 systems derive their time from one or more stratum 1 systems, and so on. (Note that this is different from the notion of clock stratum used in telecommunications systems).

The 64-bit timestamps used by NTP consist of a 32-bit seconds part and a 32-bit fractional second part, giving NTP a time scale of 232 seconds, with a theoretical resolution of 2-32 seconds. Although the NTP timescale wraps round every 232 seconds, implementations should disambiguate NTP time using a knowledge of the approximate time from other sources. Since this only requires time accurate to a few decades, this is not a problem in general use.

The operational details of NTP are illustrated in RFCs 778, 891, 956, 958, 1305, and 2030.

See also:

External links



Internet Hotel Solutions

Site Sponsors
AC Units
Baltimore Harbor
Boot Camp Grads
Bra Size
Burkittsville
College Hotels
Digital Harbor
Free Cell Phones
Golden Hare Travel
Golf Vacations
Golf Courses
Gourmet
Hair Styles
Hippodrome
iWoman
Lesson Plans
Maryland Hotels
MD Genealogy
Minor League Stuff
Motel Site
Ocean City
OC Real Estate
Old Agers
Office Supplies
Orlando
Pet Friendly Hotel
Room Prices
Savannah, GA
Ski Vacations
South Baltimore
Student Teaching
Travel Sources
University Hotels
Visit Military Bases
Washington, DC

Brought to you by NoChildLeftBehind.com and the Beaches and Towns Network, LLC.