×

Reserving a core of a processor complex for a critical task

  • US 10,275,280 B2
  • Filed: 08/10/2016
  • Issued: 04/30/2019
  • Est. Priority Date: 08/10/2016
  • Status: Active Grant
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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×