Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jan 2002 23:05:39 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Murphy, Patrick" <murphyp1@ais.msu.edu>
Cc:        freebsd-alpha@freebsd.org
Subject:   RE: Clock Skew on 5.0-CURRENT SMP Alpha 2100A/250 3 engine machi
Message-ID:  <XFMail.020101230539.jhb@FreeBSD.org>
In-Reply-To: <17F0EC17EF87D311BF65009027D3C39D01FC29F3@ais.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

-- 

John Baldwin <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020101230539.jhb>