From owner-freebsd-alpha Tue Nov 12 11:57:42 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6474837B401 for ; Tue, 12 Nov 2002 11:57:40 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C36043E88 for ; Tue, 12 Nov 2002 11:57:38 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 8969 invoked from network); 12 Nov 2002 19:57:44 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 12 Nov 2002 19:57:44 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gACJva2D005393; Tue, 12 Nov 2002 14:57:36 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3DD12AA2.8D84B3E2@engineering.uiowa.edu> Date: Tue, 12 Nov 2002 14:57:37 -0500 (EST) From: John Baldwin To: "Dr. Michael Mackey" Subject: Re: Extreme time drift in SMP mode Cc: freebsd-alpha@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 12-Nov-2002 Dr. Michael Mackey wrote: > You're right, the clock on the Lynx (2100a) is an 8254: > > (from the output of dmesg) > FreeBSD 5.0-CURRENT #0: Mon Nov 11 15:31:50 CST 2002 > mackey@home.:/usr/src/sys/alpha/compile/HOME > Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00006c2000. > DEC AlphaServer 2100A > AlphaServer 2100A 5/300, 291MHz > 8192 byte page size, 2 processors. > CPU: EV5 (21164) major=5 minor=5 > OSF PAL rev: 0x4000100020116 > real memory = 199155712 (189 MB) > avail memory = 187490304 (178 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > --- snip --- > Timecounters tick every 0.976 msec > Timecounter "i8254" frequency 1193182 Hz > --- snip --- Hmm, what does it look like with a UP kernel? It would be using the "alpha" timecounter right? Also, how often do timecounters tick with the UP kernel? It's usually every 10 msec on all the systems I have that are running current. > John Baldwin wrote: >> >> On 11-Nov-2002 Andrew Gallatin wrote: >> > >> > Michael A. Mackey writes: >> > > It takes precisely twice as long (20 seconds) to run `sleep 10`. >> > > >> > > Why can't ntpd keep things in line? >> > > >> > >> > Because its not desgined to fix a clock which is that broken -- it >> > only increments a second or so at a time. Far too slow for your >> > purposes. >> >> So the clock is running at half-speed now? Hmm, the 2100[A] are >> Tincup, not Turbolaser, right? So it should be using the i8254 for >> its timecounter. Maybe the 8254 timecounter isn't setup right on >> the 2100a? >> >> -- >> >> John Baldwin <>< http://www.FreeBSD.org/~jhb/ >> "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > -- > Prof. Michael A. Mackey (michael-mackey@uiowa.edu) > Biomedical Engineering / Radiology > University of Iowa, Iowa City, Iowa > Voice: 319-335-6058 Fax: 319-335-5631 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message