Which of the following methods could be usedto 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.)

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 specifically cannot use CPU 1

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

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

Explanation:
vSphere Resource Management Guide, ESX 4.0, ESXi 4.0, vCenter Server 4.0, page 37,
75.
Table 4-1. 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 1

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


seenagape

seenagape

I agree with the answer. BD