Resource scheduling method, electronic equipment and storage medium

The embodiment of the invention provides a resource scheduling method, electronic equipment and a storage medium, and relates to the field of computers. The method comprises the following steps: obtaining one or more to-be-processed tasks; detecting the running state of the processor; determining a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: CHU ENLAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a resource scheduling method, electronic equipment and a storage medium, and relates to the field of computers. The method comprises the following steps: obtaining one or more to-be-processed tasks; detecting the running state of the processor; determining a workload of the processor based on the operating condition; determining a working mode based on theworkload; and allocating resources to the one or more to-be-processed tasks based on the determined working mode. According to the method provided by the embodiment of the invention, the performance and power consumption of the processor of the SMT architecture can be balanced, so that the expectation of a user is achieved. 本申请实施例提供一种资源调度方法、电子设备及存储介质,涉及计算机领域,该方法包括:获取一个或多个待处理任务;检测处理器的运行状况;基于运行状况确定处理器的工作负荷;基于工作负荷确定工作模式;基于确定的工作模式对一个或多个待处理任务分配资源。本申请实施例提供的方法,能够对SMT架构的处理器在性能和功耗之间进行平衡,以达到用户的预期。