From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] asm, x86: Set max CPUs to 512 instead of 256. Date: Thu, 22 Jan 2015 17:04:12 +0000 Message-ID: <54C12D8C.50604@citrix.com> References: <1421945520-2928-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YELB3-0002w7-Dz for xen-devel@lists.xenproject.org; Thu, 22 Jan 2015 17:04:17 +0000 In-Reply-To: <1421945520-2928-1-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk , xen-devel@lists.xenproject.org, JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org On 22/01/15 16:52, Konrad Rzeszutek Wilk wrote: > Contemporary servers sport now 480 CPUs or such. We should crank > up the default amount of CPUs to a higher level to take advantage > of this without having the distro to use 'max_phys_cpus' override. > > Signed-off-by: Konrad Rzeszutek Wilk /me would really like to try something that big out, but I have not had the opportunity yet to hit the 256 limit. I wonder which variables grow as a result of this change. We might want to see about making more things dynamically allocated after reading the apci tables, if we can. ~Andrew > --- > xen/include/asm-x86/config.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h > index 2fbd68d..d450696 100644 > --- a/xen/include/asm-x86/config.h > +++ b/xen/include/asm-x86/config.h > @@ -64,7 +64,7 @@ > #ifdef MAX_PHYS_CPUS > #define NR_CPUS MAX_PHYS_CPUS > #else > -#define NR_CPUS 256 > +#define NR_CPUS 512 > #endif > > /* Linkage for x86 */