Networking Forums

Networking Forums > Computer Networking > Linux Networking > Speed up ntp on boot

Reply
Thread Tools Display Modes

Speed up ntp on boot

 
 
John Thompson
Guest
Posts: n/a

 
      02-20-2008, 09:48 PM
When booting my computer I have to wait 2-3 minutes for it to
synchronize with an ntp server. Is there a way to speed this up,
perhaps allowing the loading to continue while ntp tries to connect?

I changed my ntp.conf to point to the time server on my local network,
instead of going out to north-america.pool.ntp.org, but it didn't seem
to make any difference.

ntpq -p
remote refid st t when poll reach delay offset jitter
================================================== ============================
rrcs-67-52-214- .INIT. 16 u - 1024 0 0.000 0.000 0.000
*phoenix 209.132.176.4 2 u 45 512 377 0.265 -7.436 0.798
+rbl.earlham.edu 69.93.111.178 3 u 173 512 377 44.119 -7.562 2.860


--

John ((E-Mail Removed))
 
Reply With Quote
 
 
 
 
Dale Dellutri
Guest
Posts: n/a

 
      02-20-2008, 10:09 PM
On Wed, 20 Feb 2008 16:48:35 -0600, John Thompson <(E-Mail Removed)> wrote:
> When booting my computer I have to wait 2-3 minutes for it to
> synchronize with an ntp server. Is there a way to speed this up,
> perhaps allowing the loading to continue while ntp tries to connect?


> I changed my ntp.conf to point to the time server on my local network,
> instead of going out to north-america.pool.ntp.org, but it didn't seem
> to make any difference.


> ntpq -p
> remote refid st t when poll reach delay offset jitter
> ================================================== ============================
> rrcs-67-52-214- .INIT. 16 u - 1024 0 0.000 0.000 0.000
> *phoenix 209.132.176.4 2 u 45 512 377 0.265 -7.436 0.798
> +rbl.earlham.edu 69.93.111.178 3 u 173 512 377 44.119 -7.562 2.860


You don't say what distro, but on Fedora 8, if you want to eliminate
this synchronization on startup, comment out all the lines in
/etc/ntp/step-tickers
the first line of which says:
# List of servers used for initial synchronization.
If there are no servers in that file (or they are all commented out),
it won't try to sync on startup.

--
Dale Dellutri <(E-Mail Removed)> (lose the Q's)
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      02-20-2008, 10:35 PM
On Feb 20, 3:09 pm, Dale Dellutri <ddelQQQl...@panQQQix.com> wrote:

> If there are no servers in that file (or they are all commented out),
> it won't try to sync on startup.


The correct solution depends on your distribution, but you definitely
want to make sure you are synchronizing on startup as efficiently as
possible.

DS
 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      02-21-2008, 12:03 AM
Is the "iburst" option supposed to help with that?

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
Stefan Monnier
Guest
Posts: n/a

 
      02-21-2008, 04:52 PM
> When booting my computer I have to wait 2-3 minutes for it to
> synchronize with an ntp server. Is there a way to speed this up,
> perhaps allowing the loading to continue while ntp tries to connect?


> I changed my ntp.conf to point to the time server on my local network,
> instead of going out to north-america.pool.ntp.org, but it didn't seem
> to make any difference.


> ntpq -p
> remote refid st t when poll reach delay offset jitter
> ================================================== ============================
> rrcs-67-52-214- .INIT. 16 u - 1024 0 0.000 0.000 0.000
> *phoenix 209.132.176.4 2 u 45 512 377 0.265 -7.436 0.798
> +rbl.earlham.edu 69.93.111.178 3 u 173 512 377 44.119 -7.562 2.860


1- make sure you don't use ntpdate (let "ntpd -g" set the time in the
background as soon as it finds out).
2- use `iburst' option on (some of) your servers in ntp.conf so that
ntpd will find out quickly.


Stefan
 
Reply With Quote
 
John Thompson
Guest
Posts: n/a

 
      02-21-2008, 10:20 PM
On 2008-02-20, Dale Dellutri <(E-Mail Removed)> wrote:

> On Wed, 20 Feb 2008 16:48:35 -0600, John Thompson <(E-Mail Removed)> wrote:
>> When booting my computer I have to wait 2-3 minutes for it to
>> synchronize with an ntp server. Is there a way to speed this up,
>> perhaps allowing the loading to continue while ntp tries to connect?

>
>> I changed my ntp.conf to point to the time server on my local network,
>> instead of going out to north-america.pool.ntp.org, but it didn't seem
>> to make any difference.

>
>> ntpq -p
>> remote refid st t when poll reach delay offset jitter
>> ================================================== ============================
>> rrcs-67-52-214- .INIT. 16 u - 1024 0 0.000 0.000 0.000
>> *phoenix 209.132.176.4 2 u 45 512 377 0.265 -7.436 0.798
>> +rbl.earlham.edu 69.93.111.178 3 u 173 512 377 44.119 -7.562 2.860


> You don't say what distro, but on Fedora 8, if you want to eliminate
> this synchronization on startup, comment out all the lines in
> /etc/ntp/step-tickers
> the first line of which says:
> # List of servers used for initial synchronization.
> If there are no servers in that file (or they are all commented out),
> it won't try to sync on startup.


Excellent; thank you. I am using Fedora8 and indeed there were 3 entries
for the fedora ntp server pool, as well as phoenix (local ntp server)
and earlham.edu, which explains why it was in the "ntpq -p" listing even
though it have been commented out of ntp.conf.

Since phoenix synchronizes with north-america.pool.ntp.org, I think that
should be adequate for my network.

--

John ((E-Mail Removed))
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexplained Download Speed versus Upload Speed - Any thoughts Appreciated crbutler01@yahoo.com Wireless Internet 9 12-30-2011 12:30 AM
Half speed wireless, full speed wired? ChasX Wireless Networks 1 08-26-2008 08:51 AM
Wired speed: excellent -- Wireless speed: like an 80s modem (tops). gabriel.salama@gmail.com Wireless Internet 0 10-07-2006 10:05 PM
pxelinux - boot image size for ms-dos boot Rudi Langhanki Linux Networking 0 03-22-2005 01:38 PM
Boot from EEPROM @ PCI-Card --> Boot from DHCPD/BOOTPD via Linux Daniel Schwager Linux Networking 3 07-06-2003 04:35 PM



1 2 3 4 5 6 7 8 9 10 11