DragonFly BSD
DragonFly users List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: NTPD unable to adjust local clock


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 6 Apr 2005 20:55:42 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Wed, Apr 06, 2005 at 11:47:47AM -0700, Matthew Dillon wrote:
>     What is likely happening is that it is doing one correction every 5 
>     minutes and since it is not correcting the frequency error the clock 
>     is sliding out of correction even as the first correction is being
>     applied, and then sliding out even worse after the system has finished
>     applying the correction.  At the next 5 minute mark ntpd applies
>     the next correction and the whole mess starts over.  You wind up with
>     an oscillating clock.

I think I found the reason for the problem. In client_update, it chooses
the offset with the smallest delay for the update, but it doesn't adjust
the offset based on the adjtime it does.

Joerg



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