What is an effective means for evaluating time drift across thousands of virtual machines?
-
I would like to evaluate time spread between a large number virtual machines. Can I find this information within NTPd or is there a way to collect time drift on the client itself? I would like to emphasize that the machines in question are virtual machines, so they don't have direct access to the clock.
-
Answer:
The common implementation of the Network Time Protocol (NTP) can provide this information. NTP believes in absolute time, and attempts to carefully measure and control the clock frequency & drift of a given computer against an absolute notion of the correct (UTC) time. You can collect the system clock drift information with ntpdc(1) remotely over the network, or ntptime(1) on a given local system. NTP time synchronization accuracy (and thus drift measurement) is necessarily limited by both: (most pee cees have terrible system clocks, driven by cheap, uncalibrated, uncompensated crystals), and add further noise by poor interrupt processing, bad process scheduling, and/or other implementation flaws (ignorant, careless ... I mean "systems programmers"). Putting a in the middle of that is most likely to make things yet worse. NTP will accurately measure just how bad all of this is in total, but it cannot tell you the source of the drift: Is it a cheap crystal whose frequency wanders all over the place? Is it noise/drift induced by bad OS implementation? A combination of both? All NTP can do is measure the effect(s), and report. Just to complicate things yet more, you can have bias and jitter in the reference time samples introduced by the network interface cards and device drivers (and network protocol stack) that NTP uses to talk to the time references outside the local system (your NTP "peers"). NTP compensates for bias from network congestion by taking lots of samples over a relatively long baseline. It's quite amazing how subtle time & frequency measurement can be. "... chasing the decimals down into the noise." - Dr. Dave Mills,
Erik Fair at Quora Visit the source
Other answers
There is also IEEE1588 PTP v2 which, among other things, can also track clock drifts. You will need a master clock somewhere in the topology to compare against. VMs are fine. Look at Symmetricom web site or search for IEEE1588.
Krishna Sankar
Related Q & A:
- How to create some virtual machines in linux?Best solution by howtogeek.com
- Can anyone give me any tips for travelling to Castelfefells? What is the best means of transportation?Best solution by answers.yahoo.com
- What does "Active Paid" means from a magazine when you check your status?Best solution by Yahoo! Answers
- What does Archetypal criticism means?Best solution by Yahoo! Answers
- Can i apply for this job: What in/determinate employees means?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.