Method and apparatus for scheduling virtual machine thread
OwnerZhimin Fenginventor
Life of this patent
Estimating the term…
Loading patent…
OwnerZhimin Fenginventor
Estimating the term…
Embodiments of the present disclosure provide a method and an apparatus for scheduling a virtual machine thread includes: determining, by a load balancing scheduler, processor affinity of a first virtual central processing unit (VCPU) thread on a virtual processor of a virtual machine in response to receiving a scheduling instruction for the first VCPU thread; determining, based on the processor affinity of the first VCPU thread, a second hyper-threading logical processor in the target physical processor as processor affinity of a second VCPU thread in the virtual processor; scheduling, based on the processor affinity of the first VCPU thread, the first hyper-threading logical processor to run the first VCPU thread; and scheduling, based on the processor affinity of the second VCPU thread, the second hyper-threading logical processor to run the second VCPU thread.
A method for scheduling a virtual machine thread, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium, storing computer-executable instructions which, when executed by a processor, cause the processor to:
Dependencies are inferred from the claim text.