US 12,461,773 B2
Virtual machine operation controlling method, apparatus, device and medium
Yang Zhang, Beijing (CN); and Zhimin Feng, Beijing (CN)
Assigned to Beijing Volcano Engine Technology Co., Ltd., Beijing (CN)
Filed by Beijing Volcano Engine Technology Co., Ltd., Beijing (CN)
Filed on Jun. 17, 2024, as Appl. No. 18/745,895.
Claims priority of application No. 202310731722.3 (CN), filed on Jun. 19, 2023.
Prior Publication US 2024/0419479 A1, Dec. 19, 2024
Int. Cl. G06F 9/455 (2018.01)
CPC G06F 9/45558 (2013.01) [G06F 2009/45562 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45591 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A virtual machine operation controlling method, comprising:
in response to a creation request of a target virtual machine, creating the target virtual machine based on at least one processor on a first physical machine in a server cluster comprising a plurality of physical machines, each physical machine executing at least one or more virtual machines, wherein a limit of a processor operating frequency of the target virtual machine is set as a target frequency;
receiving sleep levels sent by virtual machines on other physical machines in the server cluster when detecting that corresponding processors are in the idle state, wherein the sleep levels are is determined by the virtual machines based on a candidate sleep level and an operating service;
determining, in the server cluster, at least one candidate physical machines from the other physical machines in the server cluster with a processor utilization rate less than a preset threshold;
monitoring a processor utilization rate of processors in an operating state of the first physical machine;
in response to determining that the processor utilization rate of the first physical machine exceeds the preset threshold, selecting a second physical machine, from the at least one candidate physical machine, satisfying a preset handover condition from the server cluster based on sleep levels corresponding to processors in an idle state on the other physical machines in the server cluster, wherein the preset handover condition is that a sleep power consumption corresponding to a processor in an idle state on the second physical machine meets a preset heat release index released by the processor in the idle state that reflects the processor in the idle state on the second physical machine, after turning into in an operating state, has a turbo capability against the processors in the operating state on the first physical machine, and the turbo capability supports the processor in the operating state on the second physical machine to operate at the target frequency; and
migrating the target virtual machine from the first physical machine to the second physical machine, and performing, based on the target frequency, turbo processing on a processor in an operating state on the migrated target virtual machine.