Thursday 17 August 2017

Virtual Machine - CPU (Reservations, Shares & Limits) Part 1(viii)

As I said, we"ll be covering the CPU - Reservation, Shares & Limits.

The SI Unit for CPU is hertz(Hz), frequency or clock cycles per second that were somewhat limited to the first generation CPUs. Now in the 21st Century, CPU's have larger processing capability with more clock cycles per second thereby measured in MHz(MegaHertz) i.e one million cycles per second & GHz(GigaHertz) i.e one billion cycles per second.

RESERVATION: Guaranteed minimum allocation of Resources.

LIMIT: Upper bound of given resource or the maximum amount of resource CONSUMER is entitled from physical(ESXi). 

SHARESPriority of a VM's access to a given resource.


In Case of CPU, Share values can be defined as Low, Normal, High & Custom.

In the 2 VMs named, CPU1(Girish01-2), CPU2(Girish01-3). I am running a script to increase the CPU activity.
In other 3 VMs named VM01(Low), VM02(Normal) & VM03(High) running normally with different share values.
                           


People are use to ask is there a performance impact on the VMs!! Nah!. There will be NO IMPACT till the time every one is not hungry for resource as soon as every one is hungry for the resource, there you go!!

As given in the screenshot with the help of CPU shares, the VM01 with high is getting more priority and henceforth.




Reference:Click here.





No comments:

Post a Comment