Vmware Slot Size Calculation

Vmware Slot Size Calculation

VMWare vShpere Slot Calculation

Vmware slot size calculation calculator

Vmware Slot Size Calculation Calculator

Vmware

Each of them has its own calculation. If there are no virtual machine resource reservations in the cluster, then the slot size (for ESXi 5 at least) is 32 Mhz for CPU and 0 MBs + overhead for memory. (I’ve used 80 MBs as my memory overhead in the examples) On to an incredibly simplistic diagram. If I go to run time info of cluster in vmware I can it has used 32MHz 1, Virtual CPU and 40MB memory slot size. Then it says total slot is 691 and failover slot is 422. I tried both by using slot size of 32Mhz and 40MB memory and also using highest assigned cpu and memory in the powered on VMs but none of these calculation give the vlaue as in. Given this information, what is the correct slot size for the cluster? The CPU Reservation should be set to 32MHz and the memory reservation should be set to 32MB plus memory overhead. The CPU reservation should be set to 1 GHz and the memory reservation should be set to 0MB plus memory overhead. Slot Policy (powered-on VMs) Select a slot size policy that covers all powered on VMs or is a fixed size. You can also calculate how many VMs require multiple slots. Dedicated failover hosts: Select hosts to use for failover actions. Failovers can still occur on other hosts in the cluster if a default failover host does not have enough resources. The Slot size is calculated by the CPU and Memory Reservations at the individual Virtual Machine level in the whole cluster, the largest VM's CPU and Memory reservation determines the slot size. For more information on the slot size calculations on the different versions.

What is SLOT?
As per VMWare's Definition,
'A slot is a logical representation of the memory and CPU resources that satisfy the requirements for any powered-on virtual machine in the cluster.'
If you have configured reservations at VM level, It influence the HA slot calculation. Highest memory reservation and highest CPU reservation of the VM in your cluster determines the slot size for the cluster.
Here is the Example,
If you have the VM configured with the highest memory reservation of 8192 MB (8 GB) and highest CPU reservation of 4096 MHZ. among the other VM's in the cluster, then the slot size for memory is 8192 MB and slot size for CPU is 4096 MHZ. in the cluster.
If no VM level reservation is configured , Minimum CPU size of 256 MHZ and memory size of 0 MB + VM memory overhead will be considered as CPU and Memory slot size.
Calculation for Number of Slots in cluster :-
Once we got the Slot size for memory and CPU by the above method , Use the below calculation
Num of CPU Slots = Total available CPU resource of ESX or cluster / CPU Slot Size
Num of memory slots = Total available memory resource of ESX or cluster minus memory used for service console & ESX system / Memory Slot size
Let's take a Example,
I have 3 host on the cluster and 6 Virtual machine is running on the cluster and Each host capacity as follows
RAM = 50 GB per Host
CPU = 8 X 2.666 GHZ per host
Cluster RAM Resources = 50 X 3 = 150 GB - Memory for service console and system = 143 GB
Cluster CPU resources = 8 X 2.6 X 3 = 63 GHZ (63000 MHZ) of total CPU capacity in the cluster - CPU Capacity used by the ESX System = 60384 MHZ



I don't have any memory or CPU reservation in my cluster, So, the default CPU slot size 256 MHZ and one of my Virtual machine is assigned with 8 vcpu and its memory overhead is 344.98 MB (which is the highest overhead among my 6 virtual machines in the cluster)
Let's calculate the num of CPU & Memory slots
Num of CPU Slots = Total available CPU resource of cluster / CPUSlot size in MHZ
No of CPU Slots = 60384 MHZ / 256 MHZ = 235.875 Approx
Num of Memory Slots = Total available Memory resource of cluster / memory Slot Size in MB
Num of Memory Slots = 146432 / 345 = 424 Approx
The most restrictive number among CPU and Memory slots determines the amount of slots for this cluster. We have 235 slots available for CPU and 424 Slots available for Memory. So the most restrictive number is 235.
So, Total number of slots for my cluster is 235 Approx. Please find the below snapshot

Please refer my blog post on Understanding Total Slots, Used Slots & Available slots in VMware HA Slot to understand Total Slots, Used Slots & Available slots
I hope you understand the post..Thanks For Reading !!!!!

Vmware Slot Size Calculation