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-ia64-devel

Re: [Xen-ia64-devel] PATCH: increase MAX_VIRT_CPUS to 64

To: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: Re: [Xen-ia64-devel] PATCH: increase MAX_VIRT_CPUS to 64
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Fri, 07 Apr 2006 00:52:20 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Apr 2006 08:52:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200604041011.06525.Tristan.Gingold@xxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200604041011.06525.Tristan.Gingold@xxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tristan,

Good work. I applied your patch and my following patch and tested the 
xen/ia64. As a result, the xen/ia64 ran on 16 cpus.

Best regards,
 Kan

diff -r 2133fb78dba3 xen/include/asm-ia64/config.h
--- a/xen/include/asm-ia64/config.h     Wed Apr  5 12:19:52 2006 -0600
+++ b/xen/include/asm-ia64/config.h     Fri Apr  7 00:46:58 2006 +0900
@@ -25,8 +25,8 @@
 
 #ifdef CONFIG_XEN_SMP
 #define CONFIG_SMP 1
-#define NR_CPUS 8
-#define CONFIG_NR_CPUS 8
+#define NR_CPUS 64
+#define CONFIG_NR_CPUS 64
 #else
 #undef CONFIG_SMP
 #define NR_CPUS 1

# xm info
host                   : tiger156
release                : 2.6.16-xen
version                : #1 SMP Fri Apr 7 00:34:47 JST 2006
machine                : ia64
nr_cpus                : 16
nr_nodes               : 1
sockets_per_node       : 8
cores_per_socket       : 1
threads_per_core       : 2
cpu_mhz                : 0
hw_caps                : 
00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:
total_memory           : 2
free_memory            : 1164
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-ia64 hvm-3.0-ia64
platform_params        : virt_start=0xf000000000000000
xen_changeset          : Wed Apr  5 12:19:52 2006 -0600 9492:2133fb78dba3
cc_compiler            : gcc バージョン 3.4.4 20050721 (Red Hat 3.4.4-2)
cc_compile_by          : root
cc_compile_domain      : 
cc_compile_date        : 2006年  4月  7日 金曜日 0

Tristan Gingold wrote:
>Hi,
>
>this patch increases MAX_VIRT_CPUS limit and adds checks.
>This is required to run Xen on more than 4 cpus.
>
>Tested by boot+halt of dom0+domU.
>
>Tristan.
>______________________________________________________________________
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel


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