[ntp:questions] peerstat update frequency

Dave Hart hart at ntp.org
Sat Mar 24 00:25:33 UTC 2012


On Sat, Mar 24, 2012 at 00:13, A C <agcarver+ntp at acarver.net> wrote:
> On 3/23/2012 17:07, Dave Hart wrote:
>> I presume every response is logged, which may be slightly less often
>> than every poll interval in case of lost traffic.  Are you seeing
>> something else?
>
> Yeah, in my case the peerstats updates every poll for the refclocks but on
> Internet servers it's updating only once every 4-8 polls.

A quick look at ntp_proto.c clock_filter() confirms it's similar to
loopstats -- a new entry is logged only when the result changes.  If
the most recent response is not the minimum delay of the last 8 polls,
the results are unchanged.

Cheers,
Dave Hart


More information about the questions mailing list