I am trying to figure out how to set the number of CPUs per socket in my VMs. My install of Win2003Server Enterprise should support at least 16 CPUs, but it sees only 8. I was told this is because by default, Xen 3 gives the guest OS vcpus at 1 per socket and W2k3E supports "8 sockets." How can I set Xen to give more than one CPU per socket? I have 32 CPUs available (8 quad-core opterons). I looked in the config file and it is claiming that my VM should have 16 CPUs, but it only shows 8. I have verified that as a host OS, W2k3Ent supports 16 CPUs on a 8-dual-core-opteron system. Thanks Patti _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Nov 24, 2008 at 05:39, PattiMichelle <miche1@earthlink.net> wrote:> I am trying to figure out how to set the number of CPUs per socket in my > VMs. My install of Win2003Server Enterprise should support at least 16 > CPUs, but it sees only 8. I was told this is because by default, Xen 3 > gives the guest OS vcpus at 1 per socket and W2k3E supports "8 sockets." > How can I set Xen to give more than one CPU per socket? I have 32 CPUs > available (8 quad-core opterons).See the thread titled "Windows and Multiple CPUS?", which was started on the 19th of September: http://lists.xensource.com/archives/html/xen-users/2008-09/msg00657.html -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn''t become a monster. Friedrich Nietzsche _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
There is an amazing problem between XEN and Windows 2003 SMP. For instance, a 1 CPU Windows VM takes 0.7 percent while running idle, but if you add a second CPU, still idle, the percentage shoots up to 3.6%. As a result, you can only have a few Windows SMP machines. Is there a solution to make the SMP simulation more efficient in XEN? Federico -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Rob MacGregor Sent: Monday, November 24, 2008 2:36 AM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] setting CPUs per socket in Xen? On Mon, Nov 24, 2008 at 05:39, PattiMichelle <miche1@earthlink.net> wrote:> I am trying to figure out how to set the number of CPUs per socket in my > VMs. My install of Win2003Server Enterprise should support at least 16 > CPUs, but it sees only 8. I was told this is because by default, Xen 3 > gives the guest OS vcpus at 1 per socket and W2k3E supports "8 sockets." > How can I set Xen to give more than one CPU per socket? I have 32 CPUs > available (8 quad-core opterons).See the thread titled "Windows and Multiple CPUS?", which was started on the 19th of September: http://lists.xensource.com/archives/html/xen-users/2008-09/msg00657.html -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn''t become a monster. Friedrich Nietzsche _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank You. The thread seems incomplete but perhaps that''s because it''s a problem yet to be resolved? (There are requests for the documentation and examples that haven''t been answered and are relevant to my original question.) Patti> Message: 1 > Date: Mon, 24 Nov 2008 07:35:50 +0000 > From: "Rob MacGregor" <rob.macgregor@gmail.com> > Subject: Re: [Xen-users] setting CPUs per socket in Xen? > To: xen-users@lists.xensource.com > Message-ID: > <43ea8d070811232335m43cff059xdfe09bdcd8c3f424@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Mon, Nov 24, 2008 at 05:39, PattiMichelle <miche1@earthlink.net> wrote: > >> I am trying to figure out how to set the number of CPUs per socket in my >> VMs. My install of Win2003Server Enterprise should support at least 16 >> CPUs, but it sees only 8. I was told this is because by default, Xen 3 >> gives the guest OS vcpus at 1 per socket and W2k3E supports "8 sockets." >> How can I set Xen to give more than one CPU per socket? I have 32 CPUs >> available (8 quad-core opterons). >> > > See the thread titled "Windows and Multiple CPUS?", which was started > on the 19th of September: > > http://lists.xensource.com/archives/html/xen-users/2008-09/msg00657.htm_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank You, Rob - I read all the posts in this list and the one relevant post didn''t quite provide enough information, and it''s not clear where to find this in the documentation in order to decode it and apply it to my situation (8 sockets = 32 processors). I found the solution to this problem, in my hvm windows config file I added: cpuid=''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxxxxxxxx'',''4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx''] vcpus=8 Which makes the 8 CPUs appear to the guest os as a single 8 core rather than 8 separate cpus, as windows is limited to 2 sockets it now sees all 8 cores in task manager. xen-users-request@lists.xensource.com wrote:> On Mon, Nov 24, 2008 at 05:39, PattiMichelle <miche1@earthlink.net> wrote: > >> I am trying to figure out how to set the number of CPUs per socket in my >> VMs. My install of Win2003Server Enterprise should support at least 16 >> CPUs, but it sees only 8. I was told this is because by default, Xen 3 >> gives the guest OS vcpus at 1 per socket and W2k3E supports "8 sockets." >> How can I set Xen to give more than one CPU per socket? I have 32 CPUs >> available (8 quad-core opterons). >> > > See the thread titled "Windows and Multiple CPUS?", which was started > on the 19th of September: > > http://lists.xensource.com/archives/html/xen-users/2008-09/msg00657.html > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I want to do the same. Can you please explain what the ''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx" means and where do we get the meaning of the "xxxx" Federico From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of PattiMichelle Sent: Tuesday, November 25, 2008 11:02 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Re: setting CPUs per socket in Xen? Thank You, Rob - I read all the posts in this list and the one relevant post didn''t quite provide enough information, and it''s not clear where to find this in the documentation in order to decode it and apply it to my situation (8 sockets = 32 processors). I found the solution to this problem, in my hvm windows config file I added: cpuid=''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxx xxxxxx'',''4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx''] vcpus=8 Which makes the 8 CPUs appear to the guest os as a single 8 core rather than 8 separate cpus, as windows is limited to 2 sockets it now sees all 8 cores in task manager. xen-users-request@lists.xensource.com wrote: On Mon, Nov 24, 2008 at 05:39, PattiMichelle <mailto:miche1@earthlink.net> <miche1@earthlink.net> wrote: I am trying to figure out how to set the number of CPUs per socket in my VMs. My install of Win2003Server Enterprise should support at least 16 CPUs, but it sees only 8. I was told this is because by default, Xen 3 gives the guest OS vcpus at 1 per socket and W2k3E supports "8 sockets." How can I set Xen to give more than one CPU per socket? I have 32 CPUs available (8 quad-core opterons). See the thread titled "Windows and Multiple CPUS?", which was started on the 19th of September: http://lists.xensource.com/archives/html/xen-users/2008-09/msg00657.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users