Scheduling method and apparatus, and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsJikun Jin, Wenlin Cui, Ji Zhang, Xiandong Peng
Life of this patent
Estimating the term…
Abstract
A scheduling method is performed by an energy efficiency scheduling system. The energy efficiency scheduling system obtains running data of a plurality of cores, and inputs the running data of the plurality of cores and training data of the plurality of cores into an energy efficiency model, to adjust quantities of different types of cores. The different types of cores are cores that execute compute tasks according to different running policies.
Claims16
1-15. (canceled)
A scheduling method, performed by an energy efficiency scheduling system, the method comprising:
- obtaining running data of a plurality of cores, wherein the running data is state data of a core of the plurality of cores, the running data obtained when the core executes a compute task;
- and
- inputting the running data of the plurality of cores and training data of the plurality of cores into an energy efficiency model to obtain an adjustment policy, wherein the adjustment policy is for adjusting quantities of different types of cores, the training data is an attribute parameter of the core, the different types of cores are cores that execute compute tasks according to different running policies, and the running policy is a state parameter of the core used when the core executes the compute task.
A compute device, comprising:
- at least one memory;
- and
- at least one processor, wherein the at least one processor comprises a plurality of cores, and the at least one memory stores computer-readable instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
- obtaining running data of the plurality of cores, wherein the running data is state data of a core of the plurality of cores, the running data obtained when the core executes a compute task;
- and
- inputting the running data and training data of the plurality of cores into an energy efficiency model to obtain an adjustment policy, wherein the adjustment policy is for adjusting quantities of different types of cores, the training data is an attribute parameter of the core, the different types of cores are cores that execute compute tasks according to different running policies, and the running policy is a state parameter of the core used when the core executes the compute task.
A computer program product, comprising non-transitory computer-readable instructions, wherein when the non-transitory computer-readable instructions are executed by a compute device, the compute device is caused to perform operations comprising:
- obtaining running data of a plurality of cores, wherein the running data is state data of a core of the plurality of cores, the running data obtained when the core executes a compute task;
- and
- inputting the running data and training data of the plurality of cores into an energy efficiency model to obtain an adjustment policy, wherein the adjustment policy is for adjusting quantities of different types of cores, the training data is an attribute parameter of the core, the different types of cores are cores that execute compute tasks according to different running policies, and the running policy is a state parameter of the core used when the core executes the compute task.
Dependencies are inferred from the claim text.