Multi-thread resource scheduling method and device, equipment and medium

The invention provides a multi-thread resource scheduling method and device, equipment and a medium, and the method comprises the steps: binding a sub-resource pool associated with a resource pool of a system for all cores in the system; sequentially receiving resource application requests of one or...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: KONG XIANGFEI, QIN LONGSHENG, ZHAO SHULONG
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 invention provides a multi-thread resource scheduling method and device, equipment and a medium, and the method comprises the steps: binding a sub-resource pool associated with a resource pool of a system for all cores in the system; sequentially receiving resource application requests of one or more to-be-operated threads on the core bound with the sub-resource pools through the sub-resource pools; and based on the resource application request, judging whether the resource quantity cached in the sub-resource pool is smaller than the resource application quantity of the current to-be-operated thread or not, and according to a judgment result, confirming that resources are allocated by the sub-resource pool and/or the resource pool of the system. According to the scheme disclosed by the invention, the frequency of accessing the system resource lock by the thread is reduced, and the resource utilization rate is improved. 本发明提出一种多线程资源调度的方法、装置、设备及介质,其中,方法包括:为所述系统中的全部核心分别绑定一个与所述系统的资源池相关联的子资源池;通过所述子资源池依次接收与其绑定的