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
Subject: [Xen-users] Re: Windows and Multiple CPUS?
From: PattiMichelle <miche1@xxxxxxxxxxxxx>
Date: Thu, 29 Jan 2009 17:44:22 -0800
Delivery-date: Thu, 29 Jan 2009 17:45:33 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=XZWGbGuZ4XzqmeFUNlFitU3OliqD6YE3ORE6YOHNK7oYsDD7yixafo3Jya7+OeVN; h=Received:Message-ID:Disposition-Notification-To:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-ELNK-Trace:X-Originating-IP;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200901291356.1lsC3Z3GQ3Nl34g0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <200901291356.1lsC3Z3GQ3Nl34g0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20081227)
openSuSE 11.0 (with a Xen kernel) boots multi-cpu and shows 32 CPUs, and Xen will give 8 (the max number of sockets Win2k3ServerEnt. supports) CPUs to the VM.  So I need to know how to get Xen to, say, give 2 VCPUs per socket to the VM.

------------------------------

Message: 3
Date: Thu, 29 Jan 2009 11:38:33 -0500
From: tmac <tmacmd@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Windows and Multiple CPUS?
To: PattiMichelle <miche1@xxxxxxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID:
	<73699aa30901290838r5d3e3f6apab23e02694ed3ef9@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Have you tried looking in the BIOS?

I have noticed that many boards have the "multi-core feature" disabled
by default.

Probably worth a reboot/check?

--tmac

RedHat Certified Engineer #804006984323821 (RHEL4)
RedHat Certified Engineer #805007643429572 (RHEL5)

Principal Consultant




On Thu, Jan 29, 2009 at 10:34 AM, PattiMichelle <miche1@xxxxxxxxxxxxx> wrote:
  
OK, I bought the paperback book "Running Xen" and the only reference to this
issue I could find was hotplugging CPUs, which won't work for me since
Win2K3Server supports 8 sockets and I'm seeing now 8 CPUs (obviously
8 single-CPU processors).  I need to set more CPUs per socket (I have
8 quad-cores).  I also searched for the example file:

/etc/xen/ xmexample.hvm-stubdom

but it was not in my root directory tree.  The example *almost*
looks like a binary format but seems obscure.  How would one set,
say 4 CPUs per socket for all CPUs?

Thank You Very Much,
Patti  :^)

=================================================================
=================================================================

To: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>,<Dustin.Henning@xxxxxxxxxxx>
Subject: RE: [Xen-users] Re: Windows and Multiple CPUS?
From: "Robert Dunkley" <Robert@xxxxxxxxx>
Date: Mon, 29 Sep 2008 15:02:13 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Sep 2008 07:04:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@xxxxxxxxxxxxxxxxxxx?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@xxxxxxxxxxxxxxxxxxx>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>,
<mailto:xen-users-request@xxxxxxxxxxxxxxxxxxx?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>,
<mailto:xen-users-request@xxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
References:
<f4527be0809190639p55c70370yb809739422db36ed@xxxxxxxxxxxxxx><f4527be0809190646p1cfd103dj60e15abdeb4c57df@xxxxxxxxxxxxxx><f4527be0809280644w29ad82b0wa9496b27cb382d87@xxxxxxxxxxxxxx><5872164101243113643@unknownmsgid>
<f4527be0809290650jbbed5e7ie74fc00d24ecaf09@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckiOj7K4pP/4wY5TjC446yZxU9N4wAAUFqA
Thread-topic: [Xen-users] Re: Windows and Multiple CPUS?

Hi Andrew,

Very interesting.

The trouble is that I don't understand the examples. Can anyone advise
on how to make 2,3 and 4 AMD cpu assigned VMs appear as a single
multicore CPU? I'm interested in how doing this may affect software
optimizations and NUMA type detection within HVMs.

Thanks,

Rob

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Andrew Lyon
Sent: 29 September 2008 14:51
To: Dustin.Henning@xxxxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: Windows and Multiple CPUS?

You need Xen 3.3, examples are shown in /etc/xen/ xmexample.hvm-stubdom:

#   Expose to the guest multi-core cpu instead of multiple processors
# Example for intel, expose a 8-core processor :
#cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
#          ebx=xxxxxxxx00010000xxxxxxxxxxxxxxxx',
#     '4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
#  - CPUID.1[EDX][HT] : Enable HT
#  - CPUID.1[EBX] : Number of vcpus * 2
#  - CPUID.4,0[EAX] : Number of vcpus * 2 - 1
#vcpus=8



I used a single line to set the cpuid:

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
vcpus=8

Andy
    

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