nerdexam
Broadcom-VMware

2V0-620 · Question #78

What is the optimal configuration when building a virtual machine for a single-threaded Windows application?

The correct answer is A. Deploy single-threaded applications on uniprocessor virtual machines. Single-threaded applications cannot execute across multiple vCPUs simultaneously, so using a uniprocessor VM avoids unnecessary scheduling overhead.

Section 4 – Deploy and Administer VMware Virtual Machines

Question

What is the optimal configuration when building a virtual machine for a single-threaded Windows application?

Options

  • ADeploy single-threaded applications on uniprocessor virtual machines.
  • BDeploy single-threaded applications on symmetric multi-processor virtual machines.
  • CTune single-threaded applications to take advantage of symmetric multi-processor resources.
  • DTune Single-threaded applications at the hypervisor level.

How the community answered

(38 responses)
  • A
    89% (34)
  • B
    5% (2)
  • C
    3% (1)
  • D
    3% (1)

Why each option

Single-threaded applications cannot execute across multiple vCPUs simultaneously, so using a uniprocessor VM avoids unnecessary scheduling overhead.

ADeploy single-threaded applications on uniprocessor virtual machines.Correct

A single-threaded application uses only one execution thread at a time, meaning additional vCPUs provide no performance benefit; using a uniprocessor VM reduces vCPU co-scheduling overhead in the hypervisor, which can actually improve performance and reduce latency for that workload.

BDeploy single-threaded applications on symmetric multi-processor virtual machines.

Assigning multiple vCPUs to a single-threaded workload adds CPU scheduler complexity and co-scheduling overhead without any parallelism benefit, degrading rather than improving performance.

CTune single-threaded applications to take advantage of symmetric multi-processor resources.

Single-threaded applications are inherently sequential by design and cannot be tuned to distribute work across SMP resources without rewriting the application code.

DTune Single-threaded applications at the hypervisor level.

The hypervisor has no mechanism to make a single-threaded application exploit multiple CPUs; thread-level parallelism must be implemented at the application level.

Concept tested: vCPU sizing for single-threaded workloads

Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-C4B7A9C0-F9B0-4F5E-8A2D-6E1B8F9B8F1A.html

Topics

#VM sizing#single-threaded application#vCPU configuration#performance best practices

Community Discussion

No community discussion yet for this question.

Full 2V0-620 Practice