WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH]x86: Increase the default NR_CPUS to 128.

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]x86: Increase the default NR_CPUS to 128.
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Tue, 9 Mar 2010 09:51:52 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 08 Mar 2010 17:54:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq/Kxb7O0LKSR7fQI6k95NuAt+8PA==
Thread-topic: [PATCH]x86: Increase the default NR_CPUS to 128.
x86: Increase the default NR_CPUS to 128.

We have newer systems which have more than 64 CPUs, and users
often complain some cpus can't be waken up when play with Xen.
Certainly, MAX_PHYS_CPUS option also can support more CPUs, but
it is still inconvenient for them, so change the default value to 128. 

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>

diff -r 1afa8d7bb9ad xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Mon Mar 08 21:34:43 2010 +0000
+++ b/xen/include/asm-x86/config.h      Tue Mar 09 09:41:37 2010 +0800
@@ -49,7 +49,7 @@
 #ifdef MAX_PHYS_CPUS
 #define NR_CPUS MAX_PHYS_CPUS
 #else
-#define NR_CPUS 64
+#define NR_CPUS 128
 #endif
 
 #ifdef __i386__

Attachment: change-default-upper-limit-for-cpu-number.patch
Description: change-default-upper-limit-for-cpu-number.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel