Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@compaq.com
To: axp-list@redhat.com
Subject: Re: SMP problem....maybe ??
Date: Wed, 08 Dec 1999 23:37:52 -0500	[thread overview]
Message-ID: <199912090437.XAA13034@alpha2.estabrook.org> (raw)
In-Reply-To: Your message of Wed, 08 Dec 1999 23:02:16 -0500. <Pine.LNX.4.10.9912082238200.4976-100000@talisman.mv.com>


>>> Rich Payne said:
> 
> 
> I noticed that regardless of how many processors are present in the box
> (this is either UP2000 or DP264) /proc/cpuinfo reports "cpus detected 2",
> followed by "CPUs probed x" where x is the real number of CPUs, now it
> does this even on a machine with 1 cpu and a uni kernel!
> 
> Now this value comes from hwrpb->nr_processors, which seems to be related
> to the INIT_HWRPB struct in aboot (am I even close here ?)

Oh, yes, you *are* close... ;-}

> So I guess the question is does anybody know why this is reporting 2 on
> SMP Tsunami machines? regardless of what's really there?

Yes, there is/was a bug in the CPU detection code, which goes away with
2.2.14 (the patch has been in there since pre9 or so, IIRC).

The HWRPB may say there's 2 or 4 CPUs, for a given architecture, in the
"nr_processors" field, and one is required to look deeper, at the per-CPU
data, to determine how many are really there.

TSUNAMI machines will always say 2 CPUs, I believe; RAWHIDE may say 4.

--Jay++

---------------------------------------------------------------
Jay A Estabrook                       Alpha Engineering - LINUX
Compaq Computer Corp. - MRO1-2/K20    (508) 467-2080
200 Forest Street, Marlboro MA 01752  Jay.Estabrook@compaq.com
---------------------------------------------------------------


      parent reply	other threads:[~1999-12-09  4:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-09  4:02 SMP problem....maybe ?? Rich Payne
1999-12-09  4:21 ` Greg Lindahl
1999-12-09 20:50   ` Bill Nottingham
1999-12-09  4:37 ` Jay.Estabrook [this message]
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