Solved

CPU performance 100%

Posted on 2008-06-19
2
1,754 Views
Last Modified: 2013-12-09
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
Comment
Question by:dgjlee
2 Comments
 
LVL 18

Assisted Solution

by:larstr
larstr earned 200 total points
ID: 21826235
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
 
LVL 11

Accepted Solution

by:
jfields71 earned 300 total points
ID: 21832795
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:

863 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

24 Experts available now in Live!

Get 1:1 Help Now