Re: Time Synchronizing Between Two Servers



On Mon, 7 May 2007 12:30:29 -0700
Chuck Swiger <cswiger@xxxxxxx> wrote:

On May 4, 2007, at 9:10 AM, RW wrote:
On Thu, 03 May 2007 11:07:34 -0400
Chuck Swiger <cswiger@xxxxxxx> wrote:
Sun SPARC machines have good HW clocks, and also some of the newer
Macs also seem to have consistently low values in ntp.drift and
handle timekeeping well.

Does that matter?

A good question-- the answer seems to be that it depends.

The RTC time is almost immediately overridden by ntpdate. The
drift is a systematic error that ntpd allows for. I would
have thought that the only significant issue, is whether the system
loses timer interrupts under load.

There are limits to how rapidly ntpd will slew the clock via adjtime
(); the smaller the intrinsic drift of the HW clock, the sooner any
adjustment (beyond the initial stepping at system boot via ntpdate)
will complete.

As I understand it, ntpd uses it's own kernel interface, ntp_adjtime(),
which lets it share some of its internal state with the kernel. The
kernel knows about the time and frequency errors, and makes the
corrections itself every second.

If the time error is zeroed by ntpdate, and there's a drift-file, I
don't see that the actual drift value makes much difference. I suspect
that any quartz clock is overkill.

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Slow clock on AMD 740G chipset
    ... Slow to a point when ntpd wasn't successful to ... Before the "calibration" the clock were off by ~15 minutes per day. ... But today I tried newly released 2.6.29 kernel on one of the affected ... number which was used to compensate for slow clock on 2.6.2. ...
    (Linux-Kernel)
  • Re: Hardware clock fails to update.
    ... Ntpd on Linux does a system call that tells the kernel "I'm ... the kernel copies the system clock time to the hardware ... If you weren't running Ntpd, you'd have to keep your hardware ... The canonical program for manipulating the hardware clock is 'hwclock'. ...
    (comp.protocols.time.ntp)
  • weird clock problem
    ... ntpd but as it turns out it's my kernel. ... The problem became evident while copying vast amounts of data across to ... Xscreensaver kicked in displaying the clock and the first thing I ...
    (Linux-Kernel)
  • Re: Clock stabilization in VMWare hosted machines?
    ... I rebuilt the kernel with options HZ=100 and this seems to "fix" it -- ntpd sync'd immediately and the clock does not appear to drift. ...
    (freebsd-questions)
  • Re: Ftpd problems
    ... > Chuck Swiger writes: ... >>Iassen Anadoliev wrote: ... >>>I am running a ftp server and have some problems with large files. ... the kernel, not in ftpd. ...
    (freebsd-net)