public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how many cpus can linux support for SMP?
@ 2002-01-17  6:59 Barry Wu
  2002-01-17  7:36 ` Thomas Duffy
  2002-01-17  7:51 ` Robert Love
  0 siblings, 2 replies; 9+ messages in thread
From: Barry Wu @ 2002-01-17  6:59 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

Hi, all,

I am new to this mail list. I do not know how many CPUs linux can
support well using SMP. If some one knows, please give me
a reply. Thanks.

Barry


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-17  6:59 how many cpus can linux support for SMP? Barry Wu
@ 2002-01-17  7:36 ` Thomas Duffy
  2002-01-17  7:47   ` Anton Blanchard
  2002-01-17  8:29   ` Ralf Baechle
  2002-01-17  7:51 ` Robert Love
  1 sibling, 2 replies; 9+ messages in thread
From: Thomas Duffy @ 2002-01-17  7:36 UTC (permalink / raw)
  To: Barry Wu; +Cc: Linux Mailing List

On Wed, 2002-01-16 at 22:59, Barry Wu wrote:
> Hi, all,
> 
> I am new to this mail list. I do not know how many CPUs linux can
> support well using SMP. If some one knows, please give me
> a reply. Thanks.

there is a 32bit cpu mask, meaning 32 is the absolute max, although Ralf
Baechle has extended it to 64 in order to support SGI origin 2000's, but
realistically, linux can only do about 8 before falling on the ground...

depends on your workload really...you should be ok with 4 cpus.

-tduffy


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-17  7:36 ` Thomas Duffy
@ 2002-01-17  7:47   ` Anton Blanchard
  2002-01-17  8:29   ` Ralf Baechle
  1 sibling, 0 replies; 9+ messages in thread
From: Anton Blanchard @ 2002-01-17  7:47 UTC (permalink / raw)
  To: Thomas Duffy; +Cc: Barry Wu, Linux Mailing List

 
> there is a 32bit cpu mask, meaning 32 is the absolute max, although Ralf
> Baechle has extended it to 64 in order to support SGI origin 2000's, but
> realistically, linux can only do about 8 before falling on the ground...

Its actually the number of bits in a long so 64 bit archs can boot 64
cpus. I think Kanoj had a hack to do a 128 cpu boot on SGI hardware.

Anton

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-17  6:59 how many cpus can linux support for SMP? Barry Wu
  2002-01-17  7:36 ` Thomas Duffy
@ 2002-01-17  7:51 ` Robert Love
  2002-01-17 19:43   ` Randy.Dunlap
  1 sibling, 1 reply; 9+ messages in thread
From: Robert Love @ 2002-01-17  7:51 UTC (permalink / raw)
  To: Barry Wu; +Cc: linux-kernel@vger.kernel.org

On Thu, 2002-01-17 at 01:59, Barry Wu wrote:

> I am new to this mail list. I do not know how many CPUs linux can
> support well using SMP. If some one knows, please give me
> a reply. Thanks.

32.

"well" though may mean many things and the answer depends on your
workload.

	Robert Love


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-17  7:36 ` Thomas Duffy
  2002-01-17  7:47   ` Anton Blanchard
@ 2002-01-17  8:29   ` Ralf Baechle
  1 sibling, 0 replies; 9+ messages in thread
From: Ralf Baechle @ 2002-01-17  8:29 UTC (permalink / raw)
  To: Thomas Duffy; +Cc: Barry Wu, Linux Mailing List

On Wed, Jan 16, 2002 at 11:36:19PM -0800, Thomas Duffy wrote:

> > I am new to this mail list. I do not know how many CPUs linux can
> > support well using SMP. If some one knows, please give me
> > a reply. Thanks.
> 
> there is a 32bit cpu mask, meaning 32 is the absolute max, although Ralf
> Baechle has extended it to 64 in order to support SGI origin 2000's, but
> realistically, linux can only do about 8 before falling on the ground...

Actually Kanoj and me hacked it to work with 128.  The scalability was
already frightening with 32 and even more so with 128 ...

> depends on your workload really...you should be ok with 4 cpus.

Around 4 procs is certainly the sweet spot currently.

  Ralf

--
"Embrace, Enhance, Eliminate" - it worked for the pope, it'll work for Bill.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-17  7:51 ` Robert Love
@ 2002-01-17 19:43   ` Randy.Dunlap
  2002-01-19  0:30     ` James Cleverdon
  0 siblings, 1 reply; 9+ messages in thread
From: Randy.Dunlap @ 2002-01-17 19:43 UTC (permalink / raw)
  To: Robert Love; +Cc: Barry Wu, linux-kernel@vger.kernel.org

On 17 Jan 2002, Robert Love wrote:

| On Thu, 2002-01-17 at 01:59, Barry Wu wrote:
|
| > I am new to this mail list. I do not know how many CPUs linux can
| > support well using SMP. If some one knows, please give me
| > a reply. Thanks.
|
| 32.
|
| "well" though may mean many things and the answer depends on your
| workload.

On x86, using APICs, Pentium III maximum is 15 due to APIC addressing.
The IBM multiquad patch uses different APIC addressing (physical vs.
logical), so it goes beyond 15.
Pentium 4 APICs have addressing up to 255 IIRC, so they can do more
than P-III's 15.

-- 
~Randy


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-17 19:43   ` Randy.Dunlap
@ 2002-01-19  0:30     ` James Cleverdon
  2002-01-19  1:41       ` Maciej W. Rozycki
  0 siblings, 1 reply; 9+ messages in thread
From: James Cleverdon @ 2002-01-19  0:30 UTC (permalink / raw)
  To: Randy.Dunlap, Robert Love; +Cc: Barry Wu, linux-kernel@vger.kernel.org

On Thursday 17 January 2002 11:43 am, Randy.Dunlap wrote:
> On 17 Jan 2002, Robert Love wrote:
> | On Thu, 2002-01-17 at 01:59, Barry Wu wrote:
> | > I am new to this mail list. I do not know how many CPUs linux can
> | > support well using SMP. If some one knows, please give me
> | > a reply. Thanks.
> |
> | 32.
> |
> | "well" though may mean many things and the answer depends on your
> | workload.
>
> On x86, using APICs, Pentium III maximum is 15 due to APIC addressing.
> The IBM multiquad patch uses different APIC addressing (physical vs.
> logical), so it goes beyond 15.

Minor nitpick:  multiquad uses clustered logical (aka hierarchal) mode.

> Pentium 4 APICs have addressing up to 255 IIRC, so they can do more
> than P-III's 15.

Yup.  xAPICs (and SAPICs for IA64) are the only ones that can get beyond 14 
(0x0F is the broadcast ID) using physical addressing.  I'm kicking around 
some patches that use physical mode on a xAPIC NUMA box.

-- 
James Cleverdon, IBM xSeries Platform (NUMA), Beaverton
jamesclv@us.ibm.com   |   cleverdj@us.ibm.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-19  0:30     ` James Cleverdon
@ 2002-01-19  1:41       ` Maciej W. Rozycki
  2002-01-19 21:54         ` James Cleverdon
  0 siblings, 1 reply; 9+ messages in thread
From: Maciej W. Rozycki @ 2002-01-19  1:41 UTC (permalink / raw)
  To: James Cleverdon
  Cc: Randy.Dunlap, Robert Love, Barry Wu, linux-kernel@vger.kernel.org

On Fri, 18 Jan 2002, James Cleverdon wrote:

> > Pentium 4 APICs have addressing up to 255 IIRC, so they can do more
> > than P-III's 15.
> 
> Yup.  xAPICs (and SAPICs for IA64) are the only ones that can get beyond 14 
> (0x0F is the broadcast ID) using physical addressing.  I'm kicking around 
> some patches that use physical mode on a xAPIC NUMA box.

 Note that the original i82489DX supported up to 255 APICs (0xff being the
broadcast ID), so that's really nothing new and xAPICs are not the only
ones.  Of course, i82489DX provides 32-bits for addressing in the logical
mode. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how many cpus can linux support for SMP?
  2002-01-19  1:41       ` Maciej W. Rozycki
@ 2002-01-19 21:54         ` James Cleverdon
  0 siblings, 0 replies; 9+ messages in thread
From: James Cleverdon @ 2002-01-19 21:54 UTC (permalink / raw)
  To: Maciej W. Rozycki
  Cc: Randy.Dunlap, Robert Love, Barry Wu, linux-kernel@vger.kernel.org

On Friday 18 January 2002 05:41 pm, Maciej W. Rozycki wrote:
> On Fri, 18 Jan 2002, James Cleverdon wrote:
> > > Pentium 4 APICs have addressing up to 255 IIRC, so they can do more
> > > than P-III's 15.
> >
> > Yup.  xAPICs (and SAPICs for IA64) are the only ones that can get beyond
> > 14 (0x0F is the broadcast ID) using physical addressing.  I'm kicking
> > around some patches that use physical mode on a xAPIC NUMA box.
>
>  Note that the original i82489DX supported up to 255 APICs (0xff being the
> broadcast ID), so that's really nothing new and xAPICs are not the only
> ones.  Of course, i82489DX provides 32-bits for addressing in the logical
> mode.

True.  I wish that the ID size was the only thing that regressed when local 
APICs moved onto the CPU chip with the P54C.  Intel removing the ability to 
accept all interrupts and introducing new, poorly tested error states to 
"deal" with this limitation has haunted my code ever since....

-- 
James Cleverdon, IBM xSeries Platform (NUMA), Beaverton
jamesclv@us.ibm.com   |   cleverdj@us.ibm.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-01-19 21:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-17  6:59 how many cpus can linux support for SMP? Barry Wu
2002-01-17  7:36 ` Thomas Duffy
2002-01-17  7:47   ` Anton Blanchard
2002-01-17  8:29   ` Ralf Baechle
2002-01-17  7:51 ` Robert Love
2002-01-17 19:43   ` Randy.Dunlap
2002-01-19  0:30     ` James Cleverdon
2002-01-19  1:41       ` Maciej W. Rozycki
2002-01-19 21:54         ` James Cleverdon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox