On Sat, 2 Sep 2006 08:19:01 +0100, "Laurence Skinner"
<[EMAIL PROTECTED]> wrote:

>> It seemed to make just two
>> requests where it does 'fetch offset by NTP'
>
>It makes a request then if the score isn't 1* it immediately requests again.
>
>*: stratum is <=5 and the average of the receive and transmit timestamp 
>differences is <= 0.1

I thought Ask must have been referring to something else as he said he
had added to code specifically to check the response to multiple
requests.  As you say, this will only make a second request if the
first fails.

Anyway I've tried with the default:
| discard average 5 minimum 2
but I got the same result.  Four responses are accepted and then it
starts getting marked at -4 or -5.
However, if I remove 'limited' from the restrict line it seems to
work:
 
1157205110,"2006-09-02 13:51:50",0.00353491306304932,1,-21
1157203383,"2006-09-02 13:23:03",0.00109636783599854,1,-23.2
1157201730,"2006-09-02 12:55:30",0.00325429439544678,1,-25.5
1157200231,"2006-09-02 12:30:31",0.000536441802978516,1,-27.9
1157198732,"2006-09-02 12:05:32",0.00224494934082031,1,-30.4
1157197233,"2006-09-02 11:40:33",0.00528860092163086,1,-33
1157195503,"2006-09-02 11:11:43",0.00306951999664307,1,-35.8
1157193714,"2006-09-02 10:41:54",0.00355660915374756,1,-38.7
1157192114,"2006-09-02 10:15:14",0.00391280651092529,1,-41.8
removed 'limited' from restrict line
1157190375,"2006-09-02 09:46:15",0.0049818754196167,-5,-45.1
1157188635,"2006-09-02 09:17:15",0.00218427181243896,-5,-42.2
1157186881,"2006-09-02 08:48:01",0.0024416446685791,1,-39.2
1157185211,"2006-09-02 08:20:11",0.00539994239807129,1,-42.3
1157183711,"2006-09-02 07:55:11",0.00228250026702881,1,-45.6
1157182218,"2006-09-02 07:30:18",0.00317168235778809,1,-49
restarted ntpd
1157180713,"2006-09-02 07:05:13",0.00276684761047363,-4,-52.6
1157179213,"2006-09-02 06:40:13",0.00236272811889648,1,-51.2
1157177477,"2006-09-02 06:11:17",0.0248297452926636,1,-54.9
1157175706,"2006-09-02 05:41:46",0.00381577014923096,1,-58.9
1157174120,"2006-09-02 05:15:20",0.00407493114471436,1,-63
restarted ntpd
1157172376,"2006-09-02 04:46:16",0.00670599937438965,-4,-67.4

I reckon that at least the default 'limited' restriction ought to be
acceptable - so perhaps the code needs a tweak...

Since the marking is OK immediately following the restart of ntpd, I
think the problem could be that the requests from the monitoring code
contravene the default discard behaviour of 'limited'?  But then,
where does the time information come from?

Geoff

_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to