[ntp:questions] Re: ntpd, boot time, and hot plugging

Tom Smith smith at cag.lkg.hp.com
Fri Feb 4 21:55:32 UTC 2005


Steve Kostecke wrote:
> On 2005-02-04, Tom Smith <smith at cag.lkg.hp.com> wrote:
> 
> 
>>So you're suggesting that the requirements for initial acquisition of
>>an estimated time necessary to get ntpd off the grounbd are different
>>from the requirements for long-term maintenance of an accurate and
>>stable time.
>>
>>I certainly agree.
> 
> 
> One way to handle this is to run 'ntpd -gq -c /etc/ntp.boot' followed by
> a normal ntpd start-up.
> 
> /etc/ntp.boot would contain a list of servers (perhaps fewer than in
> /etc/ntp.conf) _and_ the new tuning knob to speed up acquisition.
> 

Ever eager to be of assistance:

# time ntpd -gq -c ntp.boot [just the original 3 servers used with ntpdate
                              with iburst and minpoll 4]
ntpd: time slew 0.003270s

real    0m38.00s
user    0m0.11s
sys     0m0.55s

# time ntpdate -b [same 3 (original) servers]
  4 Feb 16:50:56 ntpdate[207762]: step time server 16.105.85.200 offset 0.002266 sec

real    0m0.71s
user    0m0.00s
sys     0m0.00s

Sorry. Don't have the new tuning knob.

________________________________________________________________________
Tom Smith                       smith at alum.mit.edu,smith at cag.lkg.hp.com
Hewlett-Packard Company                          Tel: +1 (603) 884-6329
110 Spit Brook Road ZKO1-3/H42                   FAX: +1 (603) 884-6484
Nashua, New Hampshire 03062-2698, USA           Mobile: +1 978 397 3411



More information about the questions mailing list