Subject: Re: acpi timer problems?
To: Steven M. Bellovin <>
From: Daniel Carosone <>
List: current-users
Date: 06/26/2006 13:44:45
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 25, 2006 at 11:30:14PM -0400, Steven M. Bellovin wrote:
> On Mon, 26 Jun 2006 02:07:22 +0000 (UTC), (Christos
> Zoulas) wrote:
> >=20
> > Does it do better with i8254?
> >=20
> I haven't run it that way for nearly as long, but the answer seems to be =
> it does better.

I presume this is what you were using as a timecounter until recently,
given TSC vs speedstep?

What you will probably find is that the ntp drift value needs to be
entirely different for each counter; each source has its own frequency
error and bias.  When you switch counters while using a drift value
calculated with different counter source, I've noticed it can take up
to several days to stabilise and re-adjust the drift accordingly
(maybe less, I wasn't checking so often after the first hour or two),
and in the meantime you get wider offsets because ntpd is compensating
for the incorrect drift.

So if you switched back to the same counter you were using previously
soon enough that the new one hadn't altered drift much, it doesn't
surprise me that ntpd does better quickly after restart.

I don't know whether zapping ntp.drift (ie, starting with 0 or
'undefined') will help ntp close in on a correct new drift value any
sooner than starting with a wrong value.


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.3 (NetBSD)