- vSphere High Performance Cookbook(Second Edition)
- Kevin Elder Christopher Kusek Prasenjit Sarkar
- 343字
- 2021-07-02 20:59:54
How to do it…
Let's get started:
- Log in to the ESXi host using an SSH client (Putty).
- Run esxtop and monitor the statistics. The following screenshot is an example output:

- Now, look at the performance counters as mentioned previously. In the following example output, look at the different metrics:

In the preceding example, you can see our PCPU 0 and PCPU 1 are being used heavily (100 percent and 73 percent UTIL, respectively), and it shows the following figure:

Now in the preceding example, you see that the %Used value of the four CPU-hungry virtual machines is pretty high.
Also, look at the %RDY screen and you will see high ready time, which indicates a performance problem.
The following list is a quick explanation of each of these metrics:
- PCPU USED (%): This refers to the CPU utilization per physical CPU. %USED: This is the physical CPU usage per group.
- %SYS: This is the VMkernel system's activity time.
- %RDY: This is the ready time. It is referred to as the amount of time that the group spent ready to run but waiting for the CPU to be available. Note that this is not adjusted for the number of vCPUs. You should expand the group to see %Ready for each vCPU, or at least divide this by the number of vCPUs to use an average per vCPU.
- %WAIT: This is the percentage of time spent in the blocked or busy state. It includes idle time and also the time waiting for I/O from the disk or network.
- %CSTP: This is referred to as the percentage of time spent in VMkernel on behalf of the group for processing interrupts.
- %CSTP for a vCPU indicates how much time the vCPU has spent not running in order to allow extra vCPUs in the same VM to catch up. High values suggest that this VM has more vCPUs than it needs and the performance might be suffering.
- %MLMTD: This is the amount of time spent ready to run, but not scheduled because of a CPU limit.
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- Python編程自學手冊
- GraphQL學習指南
- HTML5 移動Web開發從入門到精通(微課精編版)
- Mastering Google App Engine
- 軟件架構:Python語言實現
- Learning Apache Mahout Classification
- HTML5+CSS3網頁設計
- Mastering Unity 2D Game Development(Second Edition)
- .NET 4.5 Parallel Extensions Cookbook
- Learning VMware vSphere
- Web前端開發技術:HTML、CSS、JavaScript
- Java EE實用教程
- Java 11 and 12:New Features
- 軟技能2:軟件開發者職業生涯指南