# US 2025/0086027 A1 · Resource scheduling method, apparatus, and device

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

- Number: US 2025/0086027 A1
- Document ID: US20250086027A1
- Status: Published application
- Kind: A1
- Application number: 18/956,180
- Filed: 2024-11-22
- Published: 2025-03-13
- Earliest claimed: 2022-05-23
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Zhou YU; Chuang SHAN
- Web page: https://patentgrep.com/patent/US20250086027A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5072: {Grid computing}
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2209/506: Constraint
- G06F 2209/509: Offload
- 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 resource scheduling method, an apparatus, and a device are provided. In this disclosure, a scheduling apparatus updates a configuration of a computing instance of a computing device in a running process of the computing instance, to schedule physical cores of the computing instance. In the computing device, the physical cores of the computing device include physical cores of a plurality of types. After determining that the configuration of the computing instance needs to be updated, the scheduling apparatus obtains a configuration solution of the computing instance based on status parameters of the physical cores included in a processor of the computing device and a resource allocation strategy, where the configuration solution indicates quantities of physical cores that are of different types and that are included in the computing instance; and updates the configuration of the computing instance based on the configuration solution of the computing instance.

## Claims

### Claim 1

A resource scheduling method, wherein the method is applied to a computing device, physical cores of a processor of the computing device comprise a first physical core and a second physical core, a computing capacity of the first physical core is different from a computing capacity of the second physical core, and the method comprises:
determining that a configuration of a first computing instance needs to be updated;
obtaining a configuration solution of the first computing instance based on status parameters of the physical cores comprised in the processor of the computing device and a resource allocation strategy, wherein the configuration solution indicates quantities of first physical cores and second physical cores comprised in the first computing instance; and
updating the configuration of the first computing instance based on the configuration solution of the first computing instance.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining that a configuration of a first computing instance needs to be updated comprises:
when a quantity of computing resources required by a task is greater than a computing capacity provided by the first computing instance, determining that the configuration of the first computing instance needs to be updated, wherein
the quantity of computing resources required by the task indicates a quantity of computing resources required by a task running on the first computing instance.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the determining that a configuration of a first computing instance needs to be updated comprises:
when a quantity of idle physical cores in the computing device mismatch a resource requirement of a to-be-created second computing instance, determining that the configuration of the first computing instance needs to be updated.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the physical cores comprise a target physical core, and the method further comprises:
determining that resource utilization of the target physical core is lower than a utilization threshold, and adjusting a type of the target physical core from the first physical core to the second physical core, wherein the computing capacity of the first physical core is higher than the computing capacity of the second physical core.

### Claim 5 (depends on 1)

The method according to claim 1, wherein after the updating the configuration of the first computing instance, the method further comprises:
configuring, for the first physical core or the second physical core comprised in the first computing instance, a task that needs to be executed.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the configuring, for the first physical core or the second physical core comprised in the first computing instance, a task that needs to be executed comprises:
obtaining the quantity of computing resources required by the task, wherein the quantity of computing resources required by the task indicates the quantity of computing resources required by the task running on the first computing instance; and
determining, based on the quantity of computing resources required by the task, the first physical core or the second physical core that executes the task.

### Claim 7 (depends on 2)

The method according to claim 2, wherein the quantity of computing resources required by the task is determined based on a performance parameter of the computing device in a running process of the task.

### Claim 8

A computing device, comprising a first processor, a second processor and a memory, wherein the first processor of the computing device comprises a plurality of physical cores, the plurality of physical cores comprising a first physical core and a second physical core, a computing capacity of the first physical core is different from a computing capacity of the second physical core, wherein the memory is configured to store instructions, and the second processor is configured to execute the instructions in the memory to:
determine that a configuration of a first computing instance needs to be updated;
obtain a configuration solution of the first computing instance based on status parameters of the physical cores comprised in the first processor of the computing device and a resource allocation strategy, wherein the configuration solution indicates quantities of first physical cores and second physical cores comprised in the first computing instance; and
update the configuration of the first computing instance based on the configuration solution of the first computing instance.

### Claim 9 (depends on 8)

The device according to claim 8, wherein the instructions further cause the second processor to:
determine that the configuration of the first computing instance needs to be updated, when a quantity of computing resources required by a task is greater than a computing capacity provided by the first computing instance, wherein
the quantity of computing resources required by the task indicates a quantity of computing resources required by a task running on the first computing instance.

### Claim 10 (depends on 8)

The device according to claim 8, wherein the instructions further cause the second processor to:
determine that the configuration of the first computing instance needs to be updated, when a quantity of idle physical cores in the computing device mismatch a resource requirement of a to-be-created second computing instance.

### Claim 11 (depends on 8)

The device according to claim 8, wherein the physical cores comprise a target physical core, and the instructions further cause the second processor to:
determine that resource utilization of the target physical core is lower than a utilization threshold, and adjust a type of the target physical core from the first physical core to the second physical core, wherein the computing capacity of the first physical core is higher than the computing capacity of the second physical core.

### Claim 12 (depends on 8)

The device according to claim 8, wherein the apparatus further comprises a task scheduling unit, and the instructions further cause the second processor to:
configure, for the first physical core or the second physical core comprised in the first computing instance, a task that needs to be executed.

### Claim 13 (depends on 12)

The device according to claim 12, wherein the instructions further cause the second processor to:
obtain a quantity of computing resources required by the task, wherein the quantity of computing resources required by the task indicates the quantity of computing resources required by the task running on the first computing instance; and
determine, based on the quantity of computing resources required by the task, the first physical core or the second physical core that executes the task.

### Claim 14 (depends on 9)

The device according to claim 9, wherein the quantity of computing resources required by the task is determined based on a performance parameter of the computing device in a running process of the task.

### Claim 15

A non-transitory computer readable medium, wherein the non-transitory computer readable medium deployed on a computing device, the computing device comprises a plurality of physical cores, the plurality of physical cores comprising a first physical core and a second physical core, a computing capacity of the first physical core is different from a computing capacity of the second physical core, and the non-transitory computer readable medium stores instructions, and when the instructions are run on the computing device, the computing device is enabled to:
determine that a configuration of a first computing instance needs to be updated;
obtain a configuration solution of the first computing instance based on status parameters of the physical cores comprised in the first processor of the computing device and a resource allocation strategy, wherein the configuration solution indicates quantities of first physical cores and second physical cores comprised in the first computing instance; and
update the configuration of the first computing instance based on the configuration solution of the first computing instance.
