Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: TS-7200: time sync issues



In message: <200812100356.mBA3uccU000394%ginger.cmf.nrl.navy.mil@localhost>
            Ken Hornstein <kenh%cmf.nrl.navy.mil@localhost> writes:
: >What you are describing here is a frequency error.  ntpd adjusts both
: >the phase of the clock, and its frequency.  Usually the initial
: >inspection period is sufficient to get the initial estimate to within
: >a tens or hundreds of microseconds, and the frequency to with a ppm or
: >two (later it gets much better).  This means in the 1000s that your
: >logs showed the clock should have drifted on the order of maybe 1ms.
: >Instead, it drifted by 200ms, 100x too much.
: 
: Sigh.  I don't know how to explain this any clearer.
: 
: RIGHT AFTER the clock is stepped, ntpd reports the time being off ... by
: a lot (that's the 100-900ms I was talking about).  During the 15 minutes
: or so that ntpd takes to reset itself, the this clock offset changes very
: little.  I don't understand how that can be a frequency error.  If it was
: a frequency error, it would never get in sync, but it does.

Also, you are reading the logs wrong.  ntpd does a poll every 1024
seconds.  It sees that the phase drift is .2 or .5 or .9 second, then
steps the clock and starts again.  It also adjusts the frequency as
well to try to make the next 15 minutes better.

Warner


Home | Main Index | Thread Index | Old Index