Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-18 Thread David Taylor
On 17/06/2013 23:05, Steve Kostecke wrote: [] Contributing (i.e. embedding and not merely linking) this article/topic/page to the Community Supported Documentation at http://support.ntp.org/support is the best way to make this information useful to the NTP Community. I've added a link to:

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-18 Thread Miroslav Lichvar
On Mon, Jun 17, 2013 at 07:02:09PM +0100, David Taylor wrote: Thanks, Steve. My knowledge of the source tree is even more limited than my knowledge of C! In refclock_shm.c, it does say that the peek routine is called every second, so if the type 28 driver has an internal poll of one second,

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-18 Thread David Taylor
On 18/06/2013 08:41, Miroslav Lichvar wrote: [] IIRC, the one second interval is used only to collect the SHM samples and store them in a buffer. In the minpoll/maxpoll interval the collected samples are processed in a median filter and one final sample is used to update the clock. This improves

[ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread David Taylor
What should the poll be for the shared memory driver (type 28)? This Web page: http://www.eecis.udel.edu/~mills/ntp/html/drivers/driver28.html suggests that the driver internally has a poll interval of 1 second, another document I've seen suggests setting: server 127.127.28.1 minpoll 1

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread David Lord
David Taylor wrote: What should the poll be for the shared memory driver (type 28)? This Web page: http://www.eecis.udel.edu/~mills/ntp/html/drivers/driver28.html suggests that the driver internally has a poll interval of 1 second, another document I've seen suggests setting: server

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread Steve Kostecke
On 2013-06-17, David Taylor david-tay...@blueyonder.co.uk.invalid wrote: another document I've seen suggests setting: server 127.127.28.1 minpoll 1 prefer and yet in the ntpq -p billboard the poll is shown as 8 seconds. Loopstats are reported at 8 second intervals, and the poll interval

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread David Taylor
On 17/06/2013 17:36, Steve Kostecke wrote: [] grepping the source tree is very informative... According to ./ntpd/ntp_peer.c: /* * It is an error to set minpoll less than NTP_MINPOLL or to * set maxpoll greater than NTP_MAXPOLL. However, minpoll is * clamped not greater than NTP_MAXPOLL

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread David Taylor
On 17/06/2013 17:12, David Lord wrote: [] I've used type-28 + radioclkd2 for many years with MSF and for a while with DCF. I've never set minpoll/maxpoll but it has always defaulted to 6, ie 64 sec. DCF has a phase shift second marker but is too distant for that to useful. When DCF reception was

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread Steve Kostecke
On 2013-06-17, David Taylor david-tay...@blueyonder.co.uk wrote: On 17/06/2013 17:36, Steve Kostecke wrote: [] grepping the source tree is very informative... [snip: relevant quotes from the NTP Reference Implementation source] Thanks, Steve. My knowledge of the source tree is even more

Re: [ntp:questions] What should the poll be for the shared memory driver (type 28)?

2013-06-17 Thread Harlan Stenn
Steve Kostecke writes: On 2013-06-17, David Taylor david-tay...@blueyonder.co.uk wrote: Sorry if I'm asking very basic questions, but if I'm going to write a small Web page about this I would rather the contents be accurate and, if possible, best practice. Contributing (i.e. embedding and