[ntp:hackers] ntpd 4.2.8p1 startup behaviour
Harlan Stenn
stenn at ntp.org
Wed Feb 11 21:27:33 UTC 2015
See http://bugs.ntp.org/show_bug.cgi?id=2085
H
--
Ronan Flood writes:
>
> Harlan,
>
> on further investigation, this issue stems from a change in the
> root distance calculation, ntp_proto.c::root_distance().
>
> 4.2.6p5 has
>
> dtemp = (peer->delay + peer->rootdelay) / 2 + peer->disp +
> peer->rootdisp + clock_phi * (current_time - peer->update) +
> peer->jitter;
>
>
> 4.2.8p1 has
>
> dtemp = (peer->delay + peer->rootdelay) / 2
> + LOGTOD(peer->precision)
> + LOGTOD(sys_precision)
> + clock_phi * (current_time - peer->update)
> + peer->rootdisp
> + peer->jitter;
>
> Note that "peer->disp" is no longer added -- should it be?
> Putting it back appears to return to the previous behaviour.
>
> Thanks,
> Ronan Flood
>
>
More information about the hackers
mailing list