主权项 |
1. A method comprising:
detecting, by a processor executing a guest operating system of a virtual machine, when a measure of system load for a virtual processor exceeds a threshold; and in response to the detection, transmitting to a hypervisor, by the guest operating system, a request for an additional virtual processor for the virtual machine, wherein a memory of the virtual machine is non-uniform memory access (NUMA), wherein the request by the guest operating system specifies a virtual NUMA node within the virtual machine for the additional virtual processor, and wherein the measure of system load for the virtual processor is based on a percentage of processor cycles consumed by context switches between threads executed by the virtual machine, a count of context switches per unit of time between threads executed by the virtual processor and a count of threads in a runnable state executing concurrently. |