Re: polling algorithm
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Thu, 01 Sep 2005 16:09:17 -0400
Klas Bengtsson wrote:
Hi David,
and thanks for your answer. But I am still a bit confused over the behaviour I see here. I have peer printouts every minute and they look like this:
Tue Aug 16 08:43:53 JST 2005
remote refid st t when poll reach delay offset jitter
==============================================================================
*148.17.101.4 148.17.100.2 2 u 984 1024 377 1.209 -0.669 0.740
+148.17.101.5 148.17.100.2 2 u 990 1024 377 1.241 -0.764 0.362
Tue Aug 16 08:44:53 JST 2005
remote refid st t when poll reach delay offset jitter
==============================================================================
148.17.101.4 148.17.100.2 2 u 19 1024 377 0.962 1998.55 1999.22
148.17.101.5 148.17.100.2 2 u 24 1024 377 1.025 1998.71 1999.47
Here the synchronisation is lost, but the poll value remains at 1024. The poll value is 1024 until the next poll (17 minutes later), and then the poll value is decreased to 64 again, and the synchronisation is back.
. . .
Tue Aug 16 09:00:55 JST 2005
remote refid st t when poll reach delay offset jitter
==============================================================================
148.17.101.4 148.17.100.2 2 u 981 1024 377 0.962 1998.55 1999.22
148.17.101.5 148.17.100.2 2 u 986 1024 377 1.025 1998.71 1999.47
Tue Aug 16 09:01:56 JST 2005
remote refid st t when poll reach delay offset jitter
==============================================================================
*148.17.101.4 148.17.100.2 2 u 18 64 377 0.929 1990.20 8.349
+148.17.101.5 148.17.100.2 2 u 22 64 377 0.966 1997.48 1.230
Now to my question:
If we are just dealing with a lost packet here, why is the poll value decreased to 64 seconds when the synchronisation is back again after 17 minutes?
Has it something to do with the large jitter and offset values we see? In that case I still would expect the poll value to decrease to 64 seconds when the synchronisation is lost, not when it comes back into synchronisation again.
BR, Klas
From: "David L. Mills" <mills@xxxxxxxx> To: questions@xxxxxxxxxxxxxxxxx Subject: [ntp:questions] Re: polling algorithm Date: Thu, 25 Aug 2005 19:06:54 +0000
Klas,
Think about what you said. The only way the client knows the server is reachable is to poll it. Even if the server does not answer a poll you can't conclude it has become unreachable; a packet could have been lost.
The poll interval increases in the first place because the feedback loop has stabilized and doesn't need refresh very often. The design allows for some packets to be lost and for the server quality metric (synchronization distance) to accurately reflect the maximum error relative to that server. If the server comes back online after a few polls or a couple of hours, the clock discipline process just takes over as before and reducing the poll interval is unnecessary and counterproductive.
Dave
Something very odd is going on. Somebody's clock jumped or drifted nearly two seconds in the 1024 second interval between polls. If it was your clock that jumped or drifted, you need to get it fixed in order to have any hope of keeping stable and accurate time.
If it was the server's clock(s) that jumped, you need to use better servers or get them fixed. In any event you need more servers! A configuration with two servers is the worst possible since ntpd has no means of determining which server is correct when the two differ as they almost inevitably will. Four servers are the minimum necessary to unambiguously vote out a single false ticker. A configuration with seven servers can survive two false tickers.
.
- Follow-Ups:
- Re: polling algorithm
- From: David Schwartz
- Re: polling algorithm
- References:
- RE: polling algorithm
- From: Klas Bengtsson
- RE: polling algorithm
- Prev by Date: Re: polling algorithm
- Next by Date: Re: polling algorithm
- Previous by thread: Re: polling algorithm
- Next by thread: Re: polling algorithm
- Index(es):
Relevant Pages
|