Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 2010 12:39:55 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Dave Cundiff <syshackmin@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Terrible Clock Skew
Message-ID:  <F480C997-FF20-4249-9DA1-82A5C03C613C@mac.com>
In-Reply-To: <AANLkTinjALniKqX2QBJ52SHVui=0uzaGsM8Tsi8r7idi@mail.gmail.com>
References:  <AANLkTinjALniKqX2QBJ52SHVui=0uzaGsM8Tsi8r7idi@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Dave--

On Dec 8, 2010, at 12:01 PM, Dave Cundiff wrote:
> Hi everyone,
> 
> I posted this to the forum as well but figured I'd try here since the
> same people might not subscribe to both.

I'm not sure which forum you're mentioning here, although it proves you right about the conclusion you'd made here.  :-)

> I've been experiencing some terrible clock skew and just can't figure
> it out. By terrible I mean I'm losing 30 minutes a day. The loss only
> occurs when I bring the system under heavy load. The load is multiple
> Rsync backups to a ZFS pool(with gzip compression) backed by a 16 disk
> Raid50. I'm using a hardware Raid controller for battery backed write
> caching.

That kind of slew rate is well past what ntpd can deal with; it suggests possibly that you're losing timer interrupts, or maybe that the "time of day" clock on the motherboard is broken or dead.  Output of "vmstat -i" might be informative for the former, for the latter check whether the BIOS can keep the clock sane while in the BIOS menu-- there should be a small Li battery on the motherboard which might be replaceable.

You might also double-check that you've got the latest BIOS version update, but that's less likely to help.

For a workaround, you can fire off "ntpdate -b" from cron every 5 minutes or similar to keep the clock from drifting too far.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F480C997-FF20-4249-9DA1-82A5C03C613C>