• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1777
  • Last Modified:

CPU performance 100%

My VM host is ESX3, 8 CPU x 3.00GHZ, Hyper threading Active. Its currently host around 20 VM's with no performance issues.

I have just introduced a new guest Windows 2003 server standard. We have used our defaults of 1Gb of ram and 1 CPU (no reservations and no limits). This guest is running a multi threaded application called FloSuite. Whenever our users perform "tasks" on this server the guest CPU is maxing out at 100%. I have tried adding another virtual CPU to this server and it improved performance but not by much. I note that memory is not an issue.

I have read many differing articles about using multiple virtual CPU's in a guest and I am confused as to what the best practise would be to improve CPU performance in this instance. Sorry for being vague but should I throw more virtual CPU's at the server? Guidance on how to increase the guest performance would be appreciated.
0
dgjlee
Asked:
dgjlee
2 Solutions
 
larstrCommented:
Have you tried using task manager inside the guest to see what process(es) that are causing this load?
It would also be interesting to see the %USED %RDY and %CSTP values of this virtual machine as seen from esxtop (as run from the Service Console).

Adding another virtual cpu might give extra performance to the VM if the applications inside it are written to take advantage of it. By doing so you're putting extra load to your server as  using vsmp causes some extra virtualization overhead. One should always start with one virtual cpu and add more if needed after testing the VM.

Lars
esx-esxtop.jpg
0
 
jfields71Commented:
You could investigate giving the VM with performance issues a reservation for CPU.  This would ensure it gets a base amount of CPU, even when the ESX host is under load.  You can do something similar with CPU shares, as well.  As larst mentioned, adding another CPU is only recommended if you can be sure the app is written for multiple CPUs.  Otherwise, it can cause performance issues to use multiple CPUs in the VM on the ESX host.  A discussion about why can be found here: http://communities.vmware.com/thread/131269.

Try running perfmon inside the VM to see more about what is doing what inside the VM.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now