Message ID | 1303178092-29891-2-git-send-email-david@gibson.dropbear.id.au |
---|---|
State | New |
Headers | show |
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
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.
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
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.
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 --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;