×

Providing exclusive use of cache associated with a processing entity of a processor complex to a selected task

  • US 10,248,457 B2
  • Filed: 08/10/2016
  • Issued: 04/02/2019
  • Est. Priority Date: 08/10/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • maintaining a plurality of processing entities in a processor complex;

    in response to determining that a task is a critical task, dispatching the critical task to a scheduler, wherein it is preferable to prioritize execution of critical tasks over non-critical tasks;

    in response to dispatching the critical task to the scheduler, determining, by the scheduler, which processing entity of the plurality of processing entities has a least amount of processing remaining to be performed for currently scheduled tasks;

    moving tasks queued on the determined processing entity to other processing entities, and completing the currently scheduled tasks on the determined processing entity;

    in response to moving tasks queued on the determined processing entity to other processing entities and completing the currently scheduled tasks on the determined processing entity, dispatching the critical task on the determined processing entity, wherein the plurality of processing entities comprise a plurality of cores, and wherein the determined processing entity corresponds to a determined core that has a clean L1 cache and a clean L2 cache at a time at which the critical task is scheduled for execution in the determined core and no other tasks besides the critical task are running on the determined core at the time; and

    in response to the critical task being scheduled on the determined core, the critical task secures exclusive access to the L1 cache and L2 cache of the determined core, wherein if data is not found in the L1 cache of the determined core then the data is retrieved from the L2 cache of the determined core, and wherein each core of the plurality of cores have different sets of L1 cache and L2 cache but share a L3 cache.

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