Mastering VMware vSphere 6.5
上QQ阅读APP看书,第一时间看更新

Processor metrics

Statistically, most servers have low overall CPU usage (< 25%), which is the main reason why server virtualization is so effective and used for server consolidation. But you have also to consider the peaks, which could be near 100% in some cases and, depending on how frequent they are, how long in duration, and how they are correlated, could become critical for the virtual infrastructure sizing.

CPU is usually overcommitted and depending on the workload, a 4:1 ratio between virtual and physical resource could be a reasonable target if you don't have CPU-intensive (or CPU-bound) workloads. Note that the ratio should be calculated on the physical (real) cores, not the logical processors that VMware ESXi sees, because hyper-threading could increase this number. It could be also important to define how the workload could be scale with more cores or socket and how could be dependent by the architecture (not all applications perform the same on different types of processor family) or simply the speed of the processor (some old applications just require GHz instead of cores).

For the CPU, the following table suggests the main metrics to be considered:

Table 3.1: Main metrics to be considered in CPU

Finally, remember to compare apples with apples; a different processor may perform differently, and an application may perform differently by simply changing the type of processors.