TASK SCHEDULING METHOD AND SYSTEM, AND HARDWARE TASK SCHEDULER
A task scheduling method and system, and a hardware task scheduler are disclosed, and pertain to the field of computer technologies. The hardware task scheduler provides task scheduling for a central processing unit CPU core to select a candidate task. After selecting the candidate task, the CPU cor...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A task scheduling method and system, and a hardware task scheduler are disclosed, and pertain to the field of computer technologies. The hardware task scheduler provides task scheduling for a central processing unit CPU core to select a candidate task. After selecting the candidate task, the CPU core actively sends metadata of the candidate task to a first storage area, and actively sends a context of the candidate task to a cache, where the first storage area is located in storage space whose access speed is higher than that of a memory. When performing task switching, the CPU core reads the metadata of the candidate task from the first storage area, and reads the context of the candidate task from the cache. In this way, latency of obtaining the metadata and the context of the candidate task by the CPU core is reduced, and low-latency task switching is implemented. |
---|