Which is a valid reason NOT to set affinity on a single virtual machine (VM)?

Which is a valid reason NOT to set affinity on a single virtual machine (VM)?

Which is a valid reason NOT to set affinity on a single virtual machine (VM)?

A.
Affinity settings are ignored as part of a VMotion

B.
Affinity can only be set on hyperthreaded systems.

C.
A VM with affinity might not receive 100 percent of the CPU.

D.
Setting affinity will monopolize a CPU making it unusable for other VMs on the server.

Explanation:
By specifying a CPU affinity setting for each virtual machine, you can restrict the assignment of virtual machines to a subset of the available processors in multiprocessor systems. By using this feature, you can assign each virtual machine to processors in the specified affinity set. In this context, the term CPU refers to a logical processor on a hyperthreaded system, but refers to a core on a non-hyperthreaded system. The CPU affinity setting for a virtual machine applies not only to all of the virtual CPUs associated with the virtual machine, but also to all other threads (also known as worlds) associated with the virtual machine. Such virtual machine threads perform processing required for emulating mouse, keyboard, screen, CD-ROM and miscellaneous legacy devices.
Consider your resource management needs before you enable CPU affinity on hosts using hyperthreading. For example, if you bind a high priority virtual machine to CPU 0 and another high priority virtual machine to CPU 1, the two virtual machines have to share the same physical core. In this case, it can be impossible to meet the resource demands of these virtual machines. Ensure that any custom affinity settings make sense for a hyperthreaded system.



Leave a Reply 3

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


Anitha

Anitha

Belive the answer is A

Potential Issues with CPU Affinity:

Before you use CPU affinity, you might need to consider certain issues.

Potential issues with CPU affinity include:

■ For multiprocessor systems, ESXi systems perform automatic load balancing. Avoid manual specification of virtual machine affinity to improve the scheduler’s ability to balance load across processors.

■ Affinity can interfere with the ESXi host’s ability to meet the reservation and shares specified for a virtual machine.

■ Because CPU admission control does not consider affinity, a virtual machine with manual affinity settings might not always receive its full reservation.

Virtual machines that do not have manual affinity settings are not adversely affected by virtual machines with manual affinity settings.

■ When you move a virtual machine from one host to another, affinity might no longer apply because the new host might have a different number of processors.

■ The NUMA scheduler might not be able to manage a virtual machine that is already assigned to certain processors using affinity.

■ Affinity can affect the host’s ability to schedule virtual machines on multicore or hyperthreaded processors to take full advantage of resources shared on such processors.

Vess

Vess

C is the correct answer. You can’t vMotion a machine with CPU affinity.

Rich

Rich

E. None of the Above.