From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c75be575b1173849 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-10-21 10:02:10 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc01.gnilink.net.POSTED!37d89e9d!not-for-mail Newsgroups: comp.os.linux.alpha From: "Robert M. Riches Jr" Subject: Re: ntp: clock drift under load References: <1473315.C2p56bTQqq@ulrich.design-d.de> Organization: none-at-all Reply-To: spamtrap42@verizon.net Message-Id: User-Agent: slrn/0.9.7.4 (Linux) Date: Tue, 21 Oct 2003 17:02:09 GMT NNTP-Posting-Host: 4.5.29.32 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1066755729 4.5.29.32 (Tue, 21 Oct 2003 13:02:09 EDT) NNTP-Posting-Date: Tue, 21 Oct 2003 13:02:09 EDT Xref: archiver1.google.com comp.os.linux.alpha:70 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.)