Solved

VMWare, esxtop and host CPU utilization

Posted on 2012-03-17
11
1,203 Views
Last Modified: 2012-06-27
I can bring my VM up to about 35 percent CPU in the OS, and 60 percent in the VM, as reported by the GUI

I want to see what the Host is doing in CPU

When I go to esxtop, it says that 'system' and 'helper' are at zero percent idle

When I am running something or not

How do I determine what the host CPU from esxtop ?

I thought I would judge this from 'system' and 'helper'
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 37733961
How many cores does the CPU have? How many vcpu did you assign the guest?
0
 
LVL 121
ID: 37734543
Don't forget CPU Usage is always available from the vSphere Client and Performance Monitor Graphs.

esxtop
CPU

CPU load average of 1.00 means full utilisation of all CPU’s. A load of 2.00 means the host is using twice as many physical CPU’s as are currently available, likewise 0.50 means half are being utilised.

CPU Screen

PCPU USED(%) – Physical hardware execution context. Can be a physical CPU core if hyperthreading is unavilable or disabled or a logical CPU (LCPU) or SMT thread if hyperthreading is enabled. This displays PCPU percentage of CPU usage when averaged over all PCPUs.

PCPU UTIL(%) - Physical CPU utilised. (real time) Indicates how much time the PCPU was busy, in an unhalted state, in the last snapshot duration. Might differ from PCPU USED(%) due to power management technologies or hyperthreading.

If hyper threading is enabled these figures can be different, likewise if the frequency of the PCPU is changed due to power management these figures can also be adjusted.

As an example if PCPU USED(%) is 100 and PCPU UTIL(%) is 50 this is because hyper threading is splitting the load across the two PCPUs. If you then look in the vSphere client you may notice that CPU usage is 100%. This is because the vSphere client will double the statistics if hyperthreading is enabled.

In a dual core system, each PCPU is charged by the CPU scheduler half of the elapsed time when both PCPUs are busy.
0
 

Author Comment

by:Los Angeles1
ID: 37735463
k, I think I understand what you are saying, but how do I determine the CPU utilization used by the actual hypervisor, or is that a concept that is used by VMWare
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 121
ID: 37735534
your question states CPU utilization of the host? the host runs the hypervisor, the Host OS.
0
 

Author Comment

by:Los Angeles1
ID: 37735574
In the example you showed, you discuss the CPU load average (util of all CPU),  PCPUUSED and PCUUTIL.

Still do not understand which of these numbers  are showing the utilization of the hypervisor

In the example you displayed above, what is the utilization of the CPU's used by the hypervisor ?  (ie, what number)
0
 
LVL 121
ID: 37735592
CPU

load average of 1.00 means 100% of ALL CPUs in the host.

0.5 is 50%

2.00 is x2 as many physical CPUs as available.

load average is 0.1 so 10%
0
 

Author Comment

by:Los Angeles1
ID: 37735622
1> So if I understand you correctly, the hypervisor util is ten percent ?

2> Can I assume from the example above that the hypervisor is running on 3 virtual CPUs

Thanks
0
 
LVL 121
ID: 37735626
1. correct

2. 2 VMs are using 3 vCPUs
0
 

Author Comment

by:Los Angeles1
ID: 37735717
So in the example below


11:10:57pm up 6 days  4:15, 323 worlds, 1 VMs, 8 vCPUs; CPU load average: 0.35, 0.07, 0.03

Open in new window


1> What is the hyperthreading CPU

2> what is the .35 number

3>  What is the .07 number

4>  What is the .03 number ?

Thanks
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37735727
Average load values over time.

The arithmetic mean of CPU loads in 1 minute, 5 minutes, and 15 minutes, based on 6-second samples.
0
 
LVL 121
ID: 37735734
I believe your original question has been answered. If this answer has been helpful please assign points. If you have any further questions about esxtop, please post another question and myself or other Experts will be happy to assit.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

734 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