TASK SCHEDULING METHOD AND SYSTEM, AND HARDWARE TASK SCHEDULER

    公开(公告)号:US20240103913A1

    公开(公告)日:2024-03-28

    申请号:US18533561

    申请日:2023-12-08

    CPC classification number: G06F9/4881

    Abstract: 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.

Patent Agency Ranking