# US 2025/0094313 A1 · Method for identifying underlocking risks in public cloud and electronic device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0094313 A1
- Document ID: US20250094313A1
- Status: Published application
- Kind: A1
- Application number: 18/829,013
- Filed: 2024-09-09
- Published: 2025-03-20
- Earliest claimed: 2023-09-19
- Assignees: Beijing Volcano Engine Technology Co., Ltd.
- Applicants: Beijing Volcano Engine Technology Co., Ltd.
- Inventors: Pengcheng DU
- Web page: https://patentgrep.com/patent/US20250094313A1

## CPC

- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3495: {for systems}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/301: {where the computing system is a virtual computing platform, e.g. logically partitioned systems (virtual machines G06F9/45533; logical partitioning of resources G06F9/5077)}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 2201/815: Virtual
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for identifying underclocking risks in a public cloud, an electronic device, and a storage medium are provided. The method includes collecting frequency fluctuations of CPU units in a host in a public cloud environment; wherein each of the CPU units includes a plurality of cores; collecting CPU utilization rates of tenant virtual machines in the host; and sifting out risky virtual machines from the tenant virtual machines according to the frequency fluctuations of the CPU units and the CPU utilization rates of the tenant virtual machines.

## Claims

### Claim 1

A method for identifying underclocking risks in a public cloud, comprising:
collecting frequency fluctuations of CPU units in a host in a public cloud environment, wherein each of the CPU units comprises a plurality of cores;
collecting CPU utilization rates of tenant virtual machines in the host; and
sifting out risky virtual machines from the tenant virtual machines according to the frequency fluctuations of the CPU units and the CPU utilization rates of the tenant virtual machines.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the sifting out risky virtual machines from the tenant virtual machines according to the frequency fluctuations of the CPU units and the CPU utilization rates of the tenant virtual machines comprises:
sifting out, from the tenant virtual machines, at least one tenant virtual machine with a CPU utilization rate larger than a preset CPU utilization rate threshold, to determine as the risky virtual machine, in response to the frequency fluctuation of underclocking of any target CPU unit exceeding a preset fluctuation threshold.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the method, after the risky virtual machine is sifted out, further comprises:
detecting whether the risky virtual machine is a target virtual machine being affected by underclocking according to a preset detection rule.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the detecting whether the risky virtual machine is a target virtual machine being affected by underclock according to a preset detection rule comprises:
judging whether a tenant corresponding to the risky virtual machines belongs to a preset tenant set, and if the tenant corresponding to the risky virtual machines belongs to the preset tenant set, determining that the risky virtual machine is not the target virtual machine being affected by underclocking; and/or
judging whether the host is exclusive to the risky virtual machines, and if the host is exclusive to the risky virtual machines, then determining that the risky virtual machine is not the target virtual machine being affected by underclocking; and/or
detecting whether the risky virtual machine is the target virtual machine being affected by underclocking according to a number of cores of the target CPU unit used by the risky virtual machine.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the detecting whether the risky virtual machine is the target virtual machine being affected by underclocking according to a number of cores of the target CPU unit used by the risky virtual machine comprises:
determining that the risky virtual machine is the target virtual machine being affected by underclocking, if the number of cores of the target CPU unit used by the risky virtual machine is not 0 and smaller than a preset number-of-core threshold; or
ranking, according to the number of used cores of the target CPU unit, the risky virtual machine which number of used cores of the target CPU unit is not 0, and determining, in the ranking, one or more risky virtual machines which use the least number of cores of the target CPU unit, as the target virtual machine being affected by underclocking; or
determining that the risky virtual machine is not the target virtual machine being affected by underclocking, if the number of cores of the target CPU unit used by the risky virtual machines is 0.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the method, after determining that the risky virtual machine is the target virtual machine being affected by underclocking, further comprises:
causing the target virtual machine to migrate.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the causing the target virtual machines to migrate comprises:
causing one or more target virtual machines which number of used cores of the target CPU unit is not 0 and which use the least number of cores of the target CPU unit, to migrate.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the causing the target virtual machine to migrate comprises:
judging whether the target virtual machine is allowed to migrate; and
causing the target virtual machine to migrate if it is determined that the target virtual machine is allowed to migrate.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the judging whether the target virtual machine is allowed to migrate comprises:
determining that the target virtual machines are allowed to migrate, if a migration-allowed label is preset for the target virtual machines and/or a protection grade for the target virtual machine satisfies a migration-allowed protection grade.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the collecting frequency fluctuations of CPU units in a host in a public cloud environment comprises:
collecting the frequency fluctuations of the CPU units in the host at intervals of a first preset time and adding the frequency fluctuations to a message queue, consuming the frequency fluctuations of the CPU units in the message queue through a streaming data processing engine, and filtering the frequency fluctuations of the same CPU unit to filter out abnormal frequency fluctuations.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the collecting frequency fluctuations of CPU units in a host in a public cloud environment comprises:
acquiring, for any of the CPU units, frequency differences between actual operating frequencies and expected operating frequencies of each core of the CPU unit; and
aggregating the frequency differences of each core of the CPU unit to obtain the frequency fluctuation of the CPU unit.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising:
acquiring historical CPU usage rates of the tenant virtual machines, and adding labels to the tenants based on the historical CPU usage rates, the labels comprising a high-load service type label and a low-load service type label; and
determining, upon reception of a virtual machine creation request from any of the tenants, a host and/or a CPU unit for creating the tenant virtual machine according to the label of the tenant and creating the tenant virtual machine according to the virtual machine creation request.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the acquiring historical CPU usage rates of the tenant virtual machines comprises:
collecting the CPU utilization rates of the tenant virtual machines at intervals of a second preset time, and storing the CPU utilization rates in an analytical database; and
determining CPU utilization rates to which preset quantiles of the CPU utilization rates of the same tenant virtual machine at different times are corresponding by using the analytical database to determine as the historical CPU usage rates of the tenant virtual machine.

### Claim 14

An electronic device, comprising: at least one processor and at least one memory;
wherein the at least one memory is stored with computer executable instructions;
the at least one processor executes the computer executable instructions stored in the at least one memory, such that the at least one processor executes a method for identifying underclocking risks in a public cloud, which comprises:
collecting frequency fluctuations of CPU units in a host in a public cloud environment, wherein each of the CPU units comprises a plurality of cores;
collecting CPU utilization rates of tenant virtual machines in the host; and
sifting out risky virtual machines from the tenant virtual machines according to the frequency fluctuations of the CPU units and the CPU utilization rates of the tenant virtual machines.

### Claim 15 (depends on 14)

The electric device according to claim 14, wherein the sifting out risky virtual machines from the tenant virtual machines according to the frequency fluctuations of the CPU units and the CPU utilization rates of the tenant virtual machines comprises:
sifting out, from the tenant virtual machines, at least one tenant virtual machine with a CPU utilization rate larger than a preset CPU utilization rate threshold, to determine as the risky virtual machines, in response to the frequency fluctuation of underclocking of any target CPU unit exceeding a preset fluctuation threshold.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein the method, after the risky virtual machine is sifted out, further comprises:
detecting whether the risky virtual machine is target virtual machine being affected by underclocking according to a preset detection rule.

### Claim 17 (depends on 16)

The electronic device according to claim 16, wherein the detecting whether the risky virtual machine is target virtual machine being affected by underclocking according to a preset detection rule comprises:
judging whether a tenant corresponding to the risky virtual machines belongs to a preset tenant set, and if the tenants corresponding to the risky virtual machines belong to the preset tenant set, determining that the risky virtual machine is not the target virtual machine being affected by underclocking; and/or
judging whether the host is exclusive to the risky virtual machines, and if the host is exclusive to the risky virtual machines, then determining that the risky virtual machine is not the target virtual machine being affected by underclocking; and/or
detecting whether the risky virtual machine is the target virtual machine being affected by underclocking according to a number of cores of the target CPU unit used by the risky virtual machine.

### Claim 18 (depends on 17)

The electronic device according to claim 17, the detecting whether the risky virtual machine is the target virtual machine being affected by underclocking according to a number of cores of the target CPU unit used by the risky virtual machine comprises:
determining that the risky virtual machine is the target virtual machine being affected by underclocking, if the number of cores of the target CPU unit used by the risky virtual machine is not 0 and smaller than a preset number-of-core threshold; or
ranking, according to the number of used cores of the target CPU unit, the risky virtual machines which number of used cores of the target CPU unit is not 0, and determining, in the ranking, one or more risky virtual machines which use the least number of cores of the target CPU unit, as the target virtual machine being affected by underclocking; or
determining that the risky virtual machines are not the target virtual machine being affected by underclocking, if the number of cores of the target CPU unit used by the risky virtual machines is 0.

### Claim 19 (depends on 16)

The electronic device according to claim 16, wherein the method, after determining that the risky virtual machine is the target virtual machine being affected by underclocking, further comprises:
causing the target virtual machines to migrate.

### Claim 20

A non-transient computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and the processor, when executing the computer executable instructions, implements a method for identifying underclocking risks in a public cloud, comprising:
collecting frequency fluctuations of CPU units in a host in a public cloud environment, wherein each of the CPU units comprises a plurality of cores;
collecting CPU utilization rates of tenant virtual machines in the host; and
sifting out risky virtual machines from the tenant virtual machines according to the frequency fluctuations of the CPU units and the CPU utilization rates of the tenant virtual machines.
