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-users

[Xen-users] Re: Windows and Multiple CPUS?

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: Windows and Multiple CPUS?
From: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>
Date: Fri, 19 Sep 2008 14:46:07 +0100
Delivery-date: Fri, 19 Sep 2008 06:46:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=dlSo1WdI25n4qaFTt1JZWtkIq1HPCjdEoLBn31hJRZI=; b=UCNndzSJJvpKyzwfQxpYzM7bK+bxzJut4YMkE2spJ/MPWngO4UIGwsyHnSE1giZ72o t/NBcrHIc5zSulu9TLueiuGPvamPHB+Ah3bEq6K7WkIv4BaW/YI29j7Srhs8LExFuNM6 dDyb7Oloj38I+BQmRZQwnJSYzAKvuWbQYcT+U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SF2lgCCEJc2X3VK1sVi30g3GUXKmemDrfIwXLhZp9rzryyxD7WGeU+NXO8aUY6C2t/ 2fzTRmnjEXO35Q3yvYQIhedmsGYzWcE2RNBGNbUFlvo32MDomoJ6u5Mx/skHn1ESxOa8 19gESLwPbzQ+hQ3OXOc0fpAxGBMv4g6ayFrVc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0809190639p55c70370yb809739422db36ed@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f4527be0809190639p55c70370yb809739422db36ed@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Sep 19, 2008 at 2:39 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> Hi,
>
> Am I correct in thinking that when Xen is running on a multi-core /
> smp system and several cpus are assigned to a VM they are "presented"
> as multiple single core cpus rather than 1 or more multi-core cpus?
>
> Microsoft CPU limits are for physical sockets, not cores.
>
> Windows XP and Vista are limited to two physical cpus, running under
> Xen the maximum cpus I have seen in task manager and system properties
> is 2, although device manager shows all of the assigned cpus (up to
> 8).
>
> Windows 2003 and 2008 standard edition are limited to 4 cpus, which is
> the limit I find under Xen, again device manager shows all assigned
> cpus (up to 8).
>
> Is there any way to make windows see the cpus as multi-core so that
> all 8 cores can be used ?
>
> Andy
>

I've also noticed that if I run "xm list" repeatedly as the VM is
starting up I can actually see the cpus being initialized, the value
matches the limit i find in windows:

A Windows 2003 R2 Standard Edition 32 Bit VM:

#grep vcpu Win2003x86.cfg
vcpus=8

xm list (several times during boot process)

Win2003x86                                  24  2048     1
Win2003x86                                  24  2048     2
Win2003x86                                  24  2048     3
Win2003x86                                  24  2048     4

But if i booted this version of windows on the raw hardware all 8 cpus
would be utilized.

Andy

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