diff mbox

[1/3] pseries: Increase maximum CPUs to 256

Message ID 1303178092-29891-2-git-send-email-david@gibson.dropbear.id.au
State New
Headers show

Commit Message

David Gibson April 19, 2011, 1:54 a.m. UTC
From: Anton Blanchard <anton@au1.ibm.com>

The original pSeries machine was limited to 32 CPUs, more or less
arbitrarily.  Particularly when we get SMT KVM guests it will be
pretty easy to exceed this.  Therefore, raise the max number of CPUs
in a pseries machine guest to 256.

Signed-off-by: Anton Blanchard <anton@au1.ibm.com>
Signed-off-by: David Gibson <dwg@au1.ibm.com>
---
 hw/spapr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Alexander Graf April 19, 2011, 7:38 a.m. UTC | #1
On 19.04.2011, at 03:54, David Gibson wrote:

> From: Anton Blanchard <anton@au1.ibm.com>
> 
> The original pSeries machine was limited to 32 CPUs, more or less
> arbitrarily.  Particularly when we get SMT KVM guests it will be
> pretty easy to exceed this.  Therefore, raise the max number of CPUs
> in a pseries machine guest to 256.

Are the 256 limited by technical limits or arbitrary as well? :)


Alex
David Gibson April 19, 2011, 12:44 p.m. UTC | #2
On Tue, Apr 19, 2011 at 09:38:58AM +0200, Alexander Graf wrote:
> 
> On 19.04.2011, at 03:54, David Gibson wrote:
> 
> > From: Anton Blanchard <anton@au1.ibm.com>
> > 
> > The original pSeries machine was limited to 32 CPUs, more or less
> > arbitrarily.  Particularly when we get SMT KVM guests it will be
> > pretty easy to exceed this.  Therefore, raise the max number of CPUs
> > in a pseries machine guest to 256.
> 
> Are the 256 limited by technical limits or arbitrary as well? :)

Still arbitrary, just bigger.
Alexander Graf April 19, 2011, 3:02 p.m. UTC | #3
On 04/19/2011 02:44 PM, David Gibson wrote:
> On Tue, Apr 19, 2011 at 09:38:58AM +0200, Alexander Graf wrote:
>> On 19.04.2011, at 03:54, David Gibson wrote:
>>
>>> From: Anton Blanchard<anton@au1.ibm.com>
>>>
>>> The original pSeries machine was limited to 32 CPUs, more or less
>>> arbitrarily.  Particularly when we get SMT KVM guests it will be
>>> pretty easy to exceed this.  Therefore, raise the max number of CPUs
>>> in a pseries machine guest to 256.
>> Are the 256 limited by technical limits or arbitrary as well? :)
> Still arbitrary, just bigger.

Can't we set it to the real, technical limit then?


Alex
David Gibson April 20, 2011, 6:31 a.m. UTC | #4
On Tue, Apr 19, 2011 at 05:02:21PM +0200, Alexander Graf wrote:
> On 04/19/2011 02:44 PM, David Gibson wrote:
> >On Tue, Apr 19, 2011 at 09:38:58AM +0200, Alexander Graf wrote:
> >>On 19.04.2011, at 03:54, David Gibson wrote:
> >>
> >>>From: Anton Blanchard<anton@au1.ibm.com>
> >>>
> >>>The original pSeries machine was limited to 32 CPUs, more or less
> >>>arbitrarily.  Particularly when we get SMT KVM guests it will be
> >>>pretty easy to exceed this.  Therefore, raise the max number of CPUs
> >>>in a pseries machine guest to 256.
> >>Are the 256 limited by technical limits or arbitrary as well? :)
> >Still arbitrary, just bigger.
> 
> Can't we set it to the real, technical limit then?

There is no clear real, technical limit.  It would depend on exactly
what generation of pSeries we're talking about, and be in the
thousands.
Alexander Graf April 20, 2011, 7:12 a.m. UTC | #5
On 20.04.2011, at 08:31, David Gibson wrote:

> On Tue, Apr 19, 2011 at 05:02:21PM +0200, Alexander Graf wrote:
>> On 04/19/2011 02:44 PM, David Gibson wrote:
>>> On Tue, Apr 19, 2011 at 09:38:58AM +0200, Alexander Graf wrote:
>>>> On 19.04.2011, at 03:54, David Gibson wrote:
>>>> 
>>>>> From: Anton Blanchard<anton@au1.ibm.com>
>>>>> 
>>>>> The original pSeries machine was limited to 32 CPUs, more or less
>>>>> arbitrarily.  Particularly when we get SMT KVM guests it will be
>>>>> pretty easy to exceed this.  Therefore, raise the max number of CPUs
>>>>> in a pseries machine guest to 256.
>>>> Are the 256 limited by technical limits or arbitrary as well? :)
>>> Still arbitrary, just bigger.
>> 
>> Can't we set it to the real, technical limit then?
> 
> There is no clear real, technical limit.  It would depend on exactly
> what generation of pSeries we're talking about, and be in the
> thousands.

So I suppose we should set the max to the thousands then? Why limit it arbitrarily?


Alex
diff mbox

Patch

diff --git a/hw/spapr.c b/hw/spapr.c
index 1782cc0..67dd1e5 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -51,7 +51,7 @@ 
 
 #define TIMEBASE_FREQ           512000000ULL
 
-#define MAX_CPUS                32
+#define MAX_CPUS                256
 #define XICS_IRQS		1024
 
 sPAPREnvironment *spapr;