From owner-freebsd-alpha Tue Jan 1 23: 6: 4 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 89C4F37B42A for ; Tue, 1 Jan 2002 23:05:50 -0800 (PST) Received: (qmail 30982 invoked from network); 2 Jan 2002 07:05:50 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Jan 2002 07:05:50 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <17F0EC17EF87D311BF65009027D3C39D01FC29F3@ais.msu.edu> Date: Tue, 01 Jan 2002 23:05:39 -0800 (PST) From: John Baldwin To: "Murphy, Patrick" Subject: RE: Clock Skew on 5.0-CURRENT SMP Alpha 2100A/250 3 engine machi 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 01-Jan-02 Murphy, Patrick wrote: > Can you point me to the place where the clock freq is determined/set? Also, > how do I tell if SMP is on? To tell if SMP is active, use #ifdef SMP and then if (mp_ncpus > 1). As far as where the clock freq is determined, I assume it's in alpha/alpha/clock.c somewhere, but not sure where. > Pat. > > -----Original Message----- > From: John Baldwin [mailto:jhb@FreeBSD.org] > Sent: Saturday, December 29, 2001 2:28 AM > To: Murphy, Patrick > Cc: freebsd-alpha@freebsd.org > Subject: RE: Clock Skew on 5.0-CURRENT SMP Alpha 2100A/250 3 engine > machi > > > > On 28-Dec-01 Murphy, Patrick wrote: >> Does anyone know a way to fix the clock skew on an SMP alpha machine? I > am >> running 5.0-CURRENT as of 2001/12/27. The system clock is falling behind >> quickly. The machine has 3 250Mhz engines. Running a "sleep 10" command >> actually sleeps for 20 seconds. >> >> I am not as concerned about sleep taking so long as I am keeping the clock >> accurate for system processes and file time stamps. >> >> Patrick Murphy >> Michigan State University > > Hmm, the clock on the 2100A is known to run at about 1/2 speed (or so it > feels > like) on an SMP kernel. Not sure how to fix this. You can try playing > around > with it. Perhaps halving the clock freq if SMP is detected for the 2100 > family? > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ -- 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