Get the App
SLTechnology News&Howtos  ›  Servers  › 

VSphere Resource allocation Calculator

Shulou Source: shulou.com Published: 2022-06-02 17:04:08 11月12日 Update

The CPU and memory resource allocation of vSphere is calculated according to the "share" occupied by each virtual machine, which has only relative meaning and no absolute meaning.

I used EXCEL to make a table to calculate the resources obtained by 2 to 10 virtual machines based on the "share":

The usage is to enter the total capacity of the resource at Total capacity:

Then enter the name of the virtual machine and its share, and the allocated resources will be automatically given later.

In addition, when writing the formula, I found that the percentage of resource allocation shown by vSphere is rounded, so there is an error, which increases with the number of virtual machines. At 10 virtual machines, the cumulative total of resources will be much smaller than the total amount of resources entered:

Because I don't know the specific algorithm of vSphere, and in order to show that the result is the same as that of vCenter, I still use this error algorithm. If you want to be accurate, you can change the formula and still round it.

Link: http://down.51cto.com/data/2453541

Tags: Resource allocation share input resource allocation rounding formula capacity total meaning algorithm result quad same memory only at the same time name time percentage Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno NVidia macOS Shulou Technology vpn