Reserving a core of a processor complex for a critical task
First Claim
Patent Images
1. A method, comprising:
- reserving a single core of a plurality of cores of a processor complex for execution of critical tasks, wherein execution of critical tasks is prioritized over execution of non-critical tasks, wherein no more cores other than the single core is reserved for the execution of critical tasks, and wherein the single core comprises fewer than 5% of a total number of the plurality of cores of the processor complex;
receiving, by a scheduler, a task for scheduling in the plurality of cores;
in response to determining that the task is a critical task, scheduling the task for execution in the reserved core, wherein the reserved core has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the reserved core and no other tasks besides the critical task are running on the reserved core at the time;
in response to the critical task being scheduled on the reserved core, the critical task secures exclusive access to the L1 cache and the L2 cache of the reserved core and executes a timeslice of the critical task on the reserved core, wherein if data is not found in the L1 cache of the reserved core then the data is retrieved from the L2 cache of the reserved core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache; and
in response to completion of the timeslice of the critical task, the scheduler schedules no task except for critical tasks on the reserved core.
1 Assignment
0 Petitions
Accused Products
Abstract
A plurality of cores are maintained in a processor complex. A core of the plurality of cores is reserved for execution of critical tasks, wherein it is preferable to prioritize execution of critical tasks over non-critical tasks. A scheduler receives a task for scheduling in the plurality of cores. In response to determining that the task is a critical task, the task is scheduled for execution in the reserved core.
47 Citations
25 Claims
-
1. A method, comprising:
-
reserving a single core of a plurality of cores of a processor complex for execution of critical tasks, wherein execution of critical tasks is prioritized over execution of non-critical tasks, wherein no more cores other than the single core is reserved for the execution of critical tasks, and wherein the single core comprises fewer than 5% of a total number of the plurality of cores of the processor complex; receiving, by a scheduler, a task for scheduling in the plurality of cores; in response to determining that the task is a critical task, scheduling the task for execution in the reserved core, wherein the reserved core has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the reserved core and no other tasks besides the critical task are running on the reserved core at the time; in response to the critical task being scheduled on the reserved core, the critical task secures exclusive access to the L1 cache and the L2 cache of the reserved core and executes a timeslice of the critical task on the reserved core, wherein if data is not found in the L1 cache of the reserved core then the data is retrieved from the L2 cache of the reserved core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache; and in response to completion of the timeslice of the critical task, the scheduler schedules no task except for critical tasks on the reserved core. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a memory; and a processor coupled to the memory, wherein the processor performs operations, the operations comprising; reserving a single core of a plurality of cores of a processor complex for execution of critical tasks, wherein execution of critical tasks is prioritized over execution of non-critical tasks, wherein no more cores other than the single core is reserved for the execution of critical tasks, and wherein the single core comprises fewer than 5% of a total number of the plurality of cores of the processor complex; receiving, by a scheduler, a task for scheduling in the plurality of cores; in response to determining that the task is a critical task, scheduling the task for execution in the reserved core, wherein the reserved core has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the reserved core and no other tasks besides the critical task are running on the reserved core at the time; in response to the critical task being scheduled on the reserved core, the critical task secures exclusive access to the L1 cache and the L2 cache of the reserved core and executes a timeslice of the critical task on the reserved core, wherein if data is not found in the L1 cache of the reserved core then the data is retrieved from the L2 cache of the reserved core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache; and in response to completion of the timeslice of the critical task, the scheduler schedules no task except for critical tasks on the reserved core. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product, the computer program product comprising a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations, the operations comprising:
-
reserving a single core of a plurality of cores of a processor complex for execution of critical tasks, wherein execution of critical tasks is prioritized over execution of non-critical tasks, wherein no more cores other than the single core is reserved for the execution of critical tasks, and wherein the single core comprises fewer than 5% of a total number of the plurality of cores of the processor complex; receiving, by a scheduler, a task for scheduling in the plurality of cores; in response to determining that the task is a critical task, scheduling the task for execution in the reserved core, wherein the reserved core has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the reserved core and no other tasks besides the critical task are running on the reserved core at the time; in response to the critical task being scheduled on the reserved core, the critical task secures exclusive access to the L1 cache and the L2 cache of the reserved core and executes a timeslice of the critical task on the reserved core, wherein if data is not found in the L1 cache of the reserved core then the data is retrieved from the L2 cache of the reserved core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache; and in response to completion of the timeslice of the critical task, the scheduler schedules no task except for critical tasks on the reserved core. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A storage system, comprising:
-
a first server; and a second server coupled to the first server, wherein the storage system is configurable to perform operations, the operations comprising; reserving a single core of a plurality of cores of a processor complex for execution of critical tasks, wherein execution of critical tasks is prioritized over execution of non-critical tasks, wherein no more cores other than the single core is reserved for the execution of critical tasks, and wherein the single core comprises fewer than 5% of a total number of the plurality of cores of the processor complex; receiving, by a scheduler, a task for scheduling in the plurality of cores; in response to determining that the task is a critical task, scheduling the task for execution in the reserved core, wherein the reserved core has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the reserved core and no other tasks besides the critical task are running on the reserved core at the time; in response to the critical task being scheduled on the reserved core, the critical task secures exclusive access to the L1 cache and the L2 cache of the reserved core and executes a timeslice of the critical task on the reserved core, wherein if data is not found in the L1 cache of the reserved core then the data is retrieved from the L2 cache of the reserved core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache; and in response to completion of the timeslice of the critical task, the scheduler schedules no task except for critical tasks on the reserved core. - View Dependent Claims (19, 20, 21)
-
-
22. A server computational device of a dual-server storage system, the server computational device comprising:
-
memory; and a processor coupled to the memory, wherein the processor performs operations, the operations comprising; reserving a single core of a plurality of cores of a processor complex for execution of critical tasks, wherein execution of critical tasks is prioritized over execution of non-critical tasks, wherein no more cores other than the single core is reserved for the execution of critical tasks, and wherein the single core comprises fewer than 5% of a total number of the plurality of cores of the processor complex; receiving, by a scheduler, a task for scheduling in the plurality of cores; in response to determining that the task is a critical task, scheduling the task for execution in the reserved core, wherein the reserved core has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the reserved core and no other tasks besides the critical task are running on the reserved core at the time; in response to the critical task being scheduled on the reserved core, the critical task secures exclusive access to the L1 cache and the L2 cache of the reserved core and executes a timeslice of the critical task on the reserved core, wherein if data is not found in the L1 cache of the reserved core then the data is retrieved from the L2 cache of the reserved core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache; and in response to completion of the timeslice of the critical task, the scheduler schedules no task except for critical tasks on the reserved core. - View Dependent Claims (23, 24, 25)
-
Specification