Re: NTP - orphan mode with SAME stratum ("tos orphan 6") FAIL to sync.



On 2009-04-06, Unruh <unruh-spam@xxxxxxxxxxxxxx> wrote:

Steve Kostecke <kostecke@xxxxxxx> writes:

On 2009-04-06, Unruh <unruh-spam@xxxxxxxxxxxxxx> wrote:

ntp can take 10 hours or more to sync.

I believe you mean "ntp can take 10 hours or more to amortize a
clock's offset within the limits of the hardware."

Yes, that is what I meant.

Please stop spreading FUD, then.

"Sync" is usually defined as "calculating the offset between a clock
and a reference standard, stepping or initiating a slew to correct the
offset, and becoming ready to serve time to others". ntpd is capable
of "syncing" in under 10 minutes. Even less if the initial offset is
less than 128ms and/or 'iburst' is used on the server lines.

If serving a time that ntp knows to be wrong by say 120ms is OK, then
yes, I agree that ntp can sync in much less time.

ntpd is able to serve time when it is synced to a time source. There is
no "maximum allowed offset" setting.

It is imcumbent on the operator of an ntpd (or some "ntp client") to
use enough time sources so that an outlier that is off by 120ms will be
detected and voted out.

--
Steve Kostecke <kostecke@xxxxxxx>
NTP Public Services Project - http://support.ntp.org/
.



Relevant Pages

  • Re: The libntp resumee...
    ... Those conflicting requirements make assumptions about the environment in which NTP is operating. ... Having said that, one shouldn't just set minpoll and maxpoll low, but should actually measure the results and find optimum values for the actual conditions. ... Setting it low, improves convergence on startup, and re-convergence after a temperature change, which is why there is so much use of it - ntpd is failing to meet a market demand, and setting both these low has become the urban folklore solution. ... It also tends to minimise the value of "offset" at other times, but that is not necessarily good, as offset is not the same thing as error, and, ideally, would be uncorrelated with it. ...
    (comp.protocols.time.ntp)
  • Re: ntp discipline of local time?
    ... Principles and Precision Time Synchronization briefings on the NTP project page are old but applicable. ... The details you are asking for are carefully explained in the NTPv4 spec. ... like the clock state machine and poll-adjust algorithm continue in the daemon. ... factor from CPU cycles to time) and get rid of the offset. ...
    (comp.protocols.time.ntp)
  • Re: ntp discipline of local time?
    ... Principles and Precision Time Synchronization briefings on the NTP ... does two things-- set the system clock frequency (ie adjust the conversion ... factor from CPU cycles to time) and get rid of the offset. ... frequency and phase errors. ...
    (comp.protocols.time.ntp)
  • Re: Choice of local reference clock seems to affect synchronization on a leaf node
    ... You have a broken interpretation on how the NTP discipline algorithm ... My own experiments with chrony and ntpd with a network ... With the aggressive elimination of measurements by the clock filter ... Starting NTP weith an initial ten-year offset is not a frequent ...
    (comp.protocols.time.ntp)
  • Re: Windows and Wi-Fi - starts well, frequency steps?
    ... I might be that occasionally one of the paths from wireless to ... computer gets shorter and ntpd will then take that ... I can't think of a physical relation between delay and offset, so if NTP ...
    (comp.protocols.time.ntp)