Re: [SLUG] Why is time slipping?

From: Paul M Foster (paulf@quillandmouse.com)
Date: Thu Feb 08 2007 - 16:49:12 EST


Eben King wrote:

<snip>

>>> and it keeps being bad, the daemon should be able to query the time
>>> servers more frequently. But I can't find an option to increase the
>>> frequency with which ntpd consults time servers.
>
> I saw one once, when I was trying to set up ntpd, before Ubuntu did it
> for me. The argument was n where it polls the server every 2^n seconds,
> but I don't recall the flag. Sorry.
>

In the man page, this is called "minpoll" and "maxpoll". You're right
about them being logarithms. The normal values are 6 (2^6 = 64 seconds)
and 10 (2^10 = 1024 seconds ~= 17min). Max values are 4 (2^4 = 16
seconds) and 17 (2^17 = 17.4 hours).

Assuming (since I haven't specified values for these) that ntpd is using
the default range, it's polling servers every 1 to 17 minutes. And yet
I'm losing up to 10 minutes per hour on this box. And that certainly
doesn't make sense.

Paul

-- 
Paul M. Foster
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:23:08 EDT