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.
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)- A89% (34)
- B5% (2)
- C3% (1)
- D3% (1)
Why each option
Single-threaded applications cannot execute across multiple vCPUs simultaneously, so using a uniprocessor VM avoids unnecessary scheduling overhead.
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.
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.
Single-threaded applications are inherently sequential by design and cannot be tuned to distribute work across SMP resources without rewriting the application code.
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
Community Discussion
No community discussion yet for this question.