[ntp:questions] peerstat update frequency

A C agcarver+ntp at acarver.net
Sat Mar 24 00:41:31 UTC 2012


On 3/23/2012 17:25, Dave Hart wrote:
> 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
>

The thing is that according to ntpq, the data has changed (offset, 
jitter and delay) after a poll.  But that isn't reflected in the 
peerstats file if peerstats is looking for changes.


More information about the questions mailing list