[ntp:questions] initial delay with ntpd

Steve Kostecke kostecke at ntp.isc.org
Mon Feb 5 13:39:17 UTC 2007


On 2007-02-01, md salauddin <salauddin537 at yahoo.co.in> wrote:

>Ntpd on my linux machine is taking 5 to 6 minutes before it is in sync
>with NTP server.

If you are not running any time-sensitive services / applications this
should not be a problem.

>How to reduce initial delay?

Use 'iburst' on your server lines.

>Why it takes so much time initially.

ntpd needs to poll a remote time server several times before it has
enough information to calculate the time. The default poll interval is
64 seconds, so 5 polls is 320 seconds (or a little over 5 minutes),

>What is iburst?

iburst tells ntpd to send the initial 8 polls at 2 second intervals
instead of the default interval (usually 64 seconds). This allows ntpd
to choose a time source in ~20 seconds.

-- 
Steve Kostecke <kostecke at ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/




More information about the questions mailing list