Unix Tip: What is NTP?

September 30, 2004, 10:59 PM —  ITworld.com — 

Send in your Unix questions today!


See additional Unix tips and tricks


For some of us, the word "synchronize" brings up memories of the characters
on Mission Impossible synchronizing their watches so that they can complete
a seemingly impossible mission with split-second accuracy. While time
synchronization on computer systems seems far less dramatic, it is no less
critical. Time differences between systems running a complex application can
lead to some very troublesome problems -- such as when these time differences
make transactions appear to have happened out of order. To avoid this kind
of problem, a number of solutions for keeping system clocks in synch, have
been devised. NTP is the larges scale and most effective of these.

NTP, however, isn't just about synchronizing systems with each other. NTP is
about setting system clocks accurately. When derived from the most accurate
clocks in the world, after all, the time on systems on a network -- all
getting time ticks from an accurate time keeper -- will be both accurate and
synchronized.

Time Accuracy

Before we delve into the network time protocol, let's consider what it means
for a clock to be accurate and just how accurate a clock can be.

The most accurate time measurement devices available today are atomic clocks.
More reliable than the movement of the stars, these clocks rely on the
oscillation of the nucleus and electrons of an atom to measure a unit of time.

To get a picture of what time accuracy means, let's consider a simple analogy.
When I was a kid, I was told that the way to measure seconds was to preceed
each number with the word "Mississippi". So, I would count "Mississippi-1,
Mississippi-2, Mississippi-3" and so on. Just counting "one, two, three" and
so on wouldn't be accurate, my teachers told me, because I would say these
words too quickly making each of my seconds far too short. Mississippi worked
quite well for me. In fact, I sometimes still count seconds in this way. If
I count to 20 using the Mississippi Method, I am probably not off more than
5-10%. So, at the end of my alleged twenty seconds, maybe only 18 or as many
as 22 seconds have actually passed. That's fine for hide and seek, but it
probably doesn't cut it when we're timing synapses in the brain to analyze
some nervous system dysfunction or tracing the sequence of operations in a
security attack on our network.

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace