Solved

Xenserver - Windows 2008 - Only see 4 processors

Posted on 2009-04-14
9
5,082 Views
Last Modified: 2013-11-11
Gents

Running xenserver 5 update 3 on a test Dell Poweredge 2950 with 2 quad core processors, I am only able to see up to a maximum of four processors within either windows 2003 server or windows 2008 server standard.

I understand proc limitations on standard are per socket thus should be able to see 8

I can confirm that looking at memeory and vcpu settings I have assigedn 8 vcpus for both machines in question.

What am I missing here ?

Chose xen over esxi becuase it allows up to maximum of 8 vcpus, but now am back at square one.

Greatly appreciate any advice
0
Comment
Question by:malboteju
9 Comments
 
LVL 7

Expert Comment

by:kumarnirmal
Comment Utility
Which Windows Server version will your guest run - 32 Bit or 64-Bit ?
0
 

Author Comment

by:malboteju
Comment Utility
thanks for your reply.

have tried both windows 2008 64 bit and 2003 32 bit, no change.

I read somewhere that windows sees xenserver processors as physical processors althought they are only cores. I have a total of 8 cores across two sockets (dual quad cores)

surely there must be sa fix for this by xen/citrix, I wonder if this is the same with vmware
0
 

Expert Comment

by:sholford
Comment Utility
The problem is that XenServer virtualises each core as a separate physical processor in its own socket. Windows Server 2008 and 2003 are limited to 4 sockets, so you can only see 4 of your 8 cores in the task manager.

If you look in the Device Manger you'll see all 8 cores because Windows sees them all, but won't let you use them.

If you look in the XenServer Host console in the Hardware section, it will report 8 physical CPUs too.

The following solution has been claimed to work and I suggest you try it, but I haven't personally managed to get it to work.

In XenCenter set the VCPUs for your VM to 2.

Then enter the attached code snipped into the XenServer Host console. To find the UUID for your VM, type xe vm-list (select it, right click and copy then paste when you need to enter the UUID as it's quite long).

Now boot the VM and the task manager should show all 8 cores.




xe vm-param-set platform:cores-per-socket=4 uuid=xxxxxx
 

xe vm-param-set VCPUs-at-startup=8 uuid=xxxxxx
 

xe vm-param-set VCPUs-max=8 uuid=xxxxxxx

Open in new window

0
 

Author Comment

by:malboteju
Comment Utility
thanks that didnt work for me either...

I tried win2k3 vm on the same box same result

even tried setting cores-per-socket=2 instead but no effect
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Expert Comment

by:sholford
Comment Utility
This seems to be software problem that has only recently been discovered and is starting to be discussed.

http://forums.citrix.com/thread.jspa?messageID=1376811

Hopefully there will be a fix in the next update of XenServer.
0
 

Accepted Solution

by:
malboteju earned 0 total points
Comment Utility
switched to vmaware !
0
 

Expert Comment

by:CampusHosting
Comment Utility
Follow up comment, I ran up against the same problem and the solution from "sholford" worked great.  One note, I'm running XCP 0.5.0, two seperate machines.  The first is a slightly older Dell PE2950 with dual quad core Xeon E5410's (quad core but no hyperthreading).  The other is much newer with dual Xeon E5630's (quad core *and* HT).  On the first box I set cores-per-socket to 4, Vcpus Max and Startup to 8.  My Windows Server 2008 R2 Standard guest shows 2 cpu's in system properties, and Task Manager shows 8 as expected.

On the other system I set cores-per-socket to 8 to account for 4 cores and 2 HT threads per core, then Vcpus Max and Startup to 16.  That Windows Server 2008 guest also shows 2 cpu's in system properties, and 16 in Task Manager.

The real test came with SQL 2008 x64 Standard, which will use a maximum of 4 cpu's.  Previously on my PE2950 host the OS saw all 8 Vcpu's, but SQL Standard edition would only utilize 4 of them due to licensing contraints.  Now when I run a data scramble test against a DB for our product it fully utilizes all 8 Vcpu's because it see's the system as having only 2 sockets/cpus.

This was a particularly important issue for us because we license from Microsoft on a per-socket monthly fee, and SQL Server 2008 Enterprise is significantly more expensive than Standard, but Standard suits our needs just fine otherwise.
0
 

Expert Comment

by:dynasis
Comment Utility
I tried it on 2 differant XenServer v5.6 and it didn't work on either of them.
We are running Windows 2008 R2 Standard in the VM
0
 

Expert Comment

by:MMHDU
Comment Utility
The suggested solution works great except you need to set the max vcpu's before you set the startup vcpu's.

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

When upgrading from 5.5(in this case) to 6.0 and if you have an invalid vfat system(most of the times a coredump partition) upgrade will fail.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now