how many cpus can linux support for SMP?
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
Quoted 5 lines · Barry Wu
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
Quoted 3 lines · Barry Wu
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
Quoted 4 lines
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
Quoted 7 lines · Thomas Duffy
Quoted 3 lines
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 ...
Quoted 1 line
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.
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.
Signature · 1 line
~Randy
Quoted 11 lines · Randy.Dunlap
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Signature · 2 lines
James Cleverdon, IBM xSeries Platform (NUMA), Beaverton [email protected] | [email protected]
Quoted 6 lines · James Cleverdon
Quoted 2 lines
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 (
0x0Fis 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.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +
Quoted 4 lines · Maciej W. Rozycki
Quoted 3 lines · James Cleverdon
Quoted 2 lines
Pentium 4 APICs have addressing up to 255 IIRC, so they can do more than P-III's 15.
Quoted 8 lines
Quoted 3 lines
Yup. xAPICs (and SAPICs for IA64) are the only ones that can get beyond 14 (
0x0Fis 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 (
0xffbeing 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....
Signature · 2 lines
James Cleverdon, IBM xSeries Platform (NUMA), Beaverton [email protected] | [email protected]