Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@gortel.phys.ualberta.ca>
Subject: Re: ntp: clock drift under load
Date: Wed, 22 Oct 2003 16:11:02 +0000 (UTC)	[thread overview]
Message-ID: <bn6a6m$240$1@tabloid.srv.ualberta.ca> (raw)
In-Reply-To: nCilb.160524$bo1.147143@news-server.bigpond.net.au

Keith Harwood <vitalmis@bigpond.net.au> wrote:
> 
> I have had a similar problem, but persistent. Using 2.2.14
> and 2.4.20 the system clock runs slow all the time. It
> doesn't seem to be related to load. The hardware clock does
> much better. All the books say the system clock is better
> than the hardware clock, so there is something wrong. I
> haven't ben able to find out what is happening. Anyone got
> any ideas?

There is a clock calibration routine in time.c in alpha specific
parts of a kernel code.  It goes like that "if a measured frequency
is too wildly off from an expected value then assume that this
measurement is botched and use a frequency from a table".
The problem is that this "wildly off" limits are set too crude
and on various occasions were rejecting for me good values
and as a result my clock was getting differences of few seconds
per hour.  Changing that function not to be so quick on rejects
resulted in a very good system clock without an external reference.

   Michal


  reply	other threads:[~2003-10-22 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-21 10:45 ntp: clock drift under load Heinz Ulrich Stille
2003-10-21 17:02 ` Robert M. Riches Jr
2003-10-21 22:41 ` Keith Harwood
2003-10-22 16:11   ` Michal Jaegermann [this message]
2003-10-22 22:41     ` Keith Harwood
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox