Power state-aware thread scheduling mechanism
First Claim
Patent Images
1. A method comprising:
- based on power state information for each of a plurality of thread units, maintaining a system power state filter to indicate which of the thread units are in a low-latency power state; and
utilizing said system power state filter to schedule said task on one of the thread units that is in said low-latency power state.
2 Assignments
0 Petitions
Accused Products
Abstract
A system filter is maintained to track which single-thread cores [or which multi-threaded logical CPUs] are in a low-latency power state. For at least one embodiment, low-latency power states include an active C0 state and a low-latency C1 idle state. The system filter is used to filter out any cores/thread contexts in a high-latency state during task scheduling. This may be accomplished by filtering the OS-provided task affinity mask by the system filter. As a result, tasks are scheduled only on available cores/logical CPUs that are in an active or low-latency idle state. Other embodiments are described and claimed.
41 Citations
25 Claims
-
1. A method comprising:
-
based on power state information for each of a plurality of thread units, maintaining a system power state filter to indicate which of the thread units are in a low-latency power state; and utilizing said system power state filter to schedule said task on one of the thread units that is in said low-latency power state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system comprising:
-
a processor including a plurality of thread units; a power management module to maintain an indicator to reflect whether each of the thread units is in a high-latency power state; and a scheduler to select one of the thread units for a current task, based on the indicator; wherein the scheduler is to decline to schedule the task on any of the cores that is in the high-latency power state. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. An article comprising a machine-accessible medium including instructions that when executed cause a system to:
-
receive power state information for a plurality of cores of a processor package; determine which of the cores are available for scheduling of a task; filter said availability to remove any of the cores that are in a high-latency power state to determine a set of cores having task affinity; and schedule said task on one of the cores in the set. - View Dependent Claims (22, 23, 24, 25)
-
Specification