Which of the following methods could be used to guarantee a VM gets 100% of a CPU on the host when it needs it

It appears that a virtual machine (VM) is having performance problems because it does not have enough CPU resources available. Which of the following methods could be used to guarantee a VM gets 100% of a CPU on the host when it needs it? (Choose Two)

A.
set the CPU limit for this VM to 100%

B.
set CPU affinity on that VM, pinning it to CPU 1 and set CPU affinity on all other VMs so that they

C.
set CPU affinity on that virtual machine, pinning it to CPU 1

D.
set the CPU reservation for this VM to 100%

Explanation:
Resource Pool Attributes:
Field Reservation
Description – Guaranteed CPU or memory allocation for this resource pool. A nonzero reservation is subtracted from the unreserved resources of the parent (host or resource pool). Setting the CPU reservation for this VM to 100% will prevent any other VM from accessing this CPU.
CPU Affinity – A virtual machine should use only the processors on a given node. By Setting CPU affinity on that VM, pinning it to CPU 1 and setting CPU affinity on all other VMs so that they specifically cannot use CPU 1, will prevent any other VM from accessing this CPU.


Leave a Reply

Your email address will not be published. Required fields are marked *