From: "Robert M. Riches Jr" <spamtrap42@verizon.net>
Subject: Re: ntp: clock drift under load
Date: Tue, 21 Oct 2003 17:02:09 GMT [thread overview]
Message-ID: <slrnbpapkg.mig.rob@one.localnet> (raw)
In-Reply-To: 1473315.C2p56bTQqq@ulrich.design-d.de
In article <1473315.C2p56bTQqq@ulrich.design-d.de>, Heinz Ulrich Stille wrote:
>
> I've got a problem with the clock on my "noname": under load (compiling
> software e.g.) it seems to lose clock cycles. ntpd usually runs fine with
> a "drift" value of around -35 or so, but when e.g. running a compiler, the
> clock slows, drift reaches -500, and ntpd gives up.
>
> I'm running kernel 2.6.0-test5 now, but behaviour was the same with kernel
> 2.4.20 and older. I tried ntpd from version 4.0.?? to 4.1.2. There are no
> IDE discs in the system, but the problem still might be disc i/o related.
>
> Has anybody else seen this?
That sounds like timer interrupts are getting dropped.
Being as this is a test release of a very early kernel, one
guess would be that perhaps interrupts are left disabled too
long somewhere in the kernel. Or, perhaps there's a
different bug with similar symptoms.
As I read your first paragraph, I immediately thought of my
experience with IDE after my Alpha died and I was forced to
downgrade to X86. By default, DMA and/or other
optimizations were disabled for the CDROM drives, which
caused the clock to run 3-4X too slow. (Tuning some hdparm
options have solved that problem.)
One interesting test would be to compare CPU-bound
vs. disk-bound loads to see which one (or both) cause the
drift you're seeing.
Good luck.
Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)
next prev parent reply other threads:[~2003-10-21 17:02 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 [this message]
2003-10-21 22:41 ` Keith Harwood
2003-10-22 16:11 ` Michal Jaegermann
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