Multi-process scheduling method and device, electronic equipment and storage medium
The invention discloses a multi-process scheduling method and device, electronic equipment and a storage medium. The method comprises the following steps: monitoring at least one to-be-executed task; a scheduler is used for selecting a ready process from the thread pool according to a preset schedul...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a multi-process scheduling method and device, electronic equipment and a storage medium. The method comprises the following steps: monitoring at least one to-be-executed task; a scheduler is used for selecting a ready process from the thread pool according to a preset scheduling mode so as to run the to-be-executed task, and the scheduling mode is that each process in the thread pool is controlled to circularly run according to the distributed running time; and the running sequence of each process in the thread pool is a running sequence of each process in the next running round by performing priority ranking according to the running time in the previous running round from small to large. The technical problem that the management requirement of the current cluster on operation and maintenance cannot be met is solved.
本申请公开了一种多进程的调度方法、装置、电子设备以及存储介质。该方法包括:监测到至少一个待执行的任务;使用调度器按照预定的调度模式从线程池中选择就绪的进程,以运行待执行的任务:其中,调度模式为控制线程池中的每个进程按照分配的运行时间循环轮转运行,且线程池中的每个进程的运行顺序为按照上一运行轮次中运行时间从小到大进行优先级排序,作为各个进程在 |
---|