xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]x86: Increase the default NR_CPUS to 128.
@ 2010-03-09  1:51 Zhang, Xiantao
  2010-03-10 13:29 ` Jan Beulich
  0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Xiantao @ 2010-03-09  1:51 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Keir Fraser

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

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@intel.com>

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 #2: change-default-upper-limit-for-cpu-number.patch --]
[-- Type: application/octet-stream, Size: 689 bytes --]

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@intel.com>

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 #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-10 15:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09  1:51 [PATCH]x86: Increase the default NR_CPUS to 128 Zhang, Xiantao
2010-03-10 13:29 ` Jan Beulich
2010-03-10 14:21   ` Keir Fraser
2010-03-10 14:38     ` Jan Beulich
2010-03-10 15:27       ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).