- vSphere High Performance Cookbook(Second Edition)
- Kevin Elder Christopher Kusek Prasenjit Sarkar
- 249字
- 2021-07-02 20:59:53
What is most important to monitor in CPU performance
Before you jump to conclusions as to what to monitor in CPU performance, you need to make sure that you know what affects CPU performance. Things that can affect CPU performance include:
- CPU affinity: When you pin down a virtual CPU to a physical CPU, it may happen that your resource gets imbalanced. So this is not advised, until you have a strong reason to do that.
- CPU prioritization: When CPU contention happens, the CPU scheduler will be forced to prioritize VMs based on entitlement and queue requests.
- SMP VMs: If your application is not multithreaded, then there is no benefit in adding more CPU resources in VMs. In fact, the extra idle vCPUs add overhead that prevents some more useful work from being done.
- Idle VMs: You may have too many idle VMs, which you think should not eat up resources. However, in reality, However, in reality, even idle VMs can affect CPU performance if the VM shares or reservations have been changed from their default values.
So, now you know what affects CPU performance. You can now look at what it takes to monitor it.
You can categorize the factors that should be monitored for CPU performance into three main sections:
- Host CPU usage
- VM CPU usage
- VM CPU ready time
To monitor these sections, you need to know the esxtop counters, and they are:
- PCPU Used (%)
- Per group statistics:
- %Used
- %Sys
- %RDY
- %Wait
- %CSTP
- %MLMTD
推薦閱讀
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- Practical UX Design
- Visual C++數(shù)字圖像模式識別技術詳解
- Access 2010數(shù)據(jù)庫基礎與應用項目式教程(第3版)
- JavaScript:Moving to ES2015
- Swift Playgrounds少兒趣編程
- Integrating Facebook iOS SDK with Your Application
- Webpack實戰(zhàn):入門、進階與調優(yōu)
- iOS自動化測試實戰(zhàn):基于Appium、Python與Pytest
- Raspberry Pi Robotic Blueprints
- 零基礎學Scratch 3.0編程
- QPanda量子計算編程
- Oracle 12c從入門到精通(視頻教學超值版)
- Getting Started with Electronic Projects
- SSH框架企業(yè)級應用實戰(zhàn)