×

Averting Lock Contention Associated with Core-Based Hardware Threading in a Split Core Environment

  • US 20180004571A1
  • Filed: 06/30/2016
  • Published: 01/04/2018
  • Est. Priority Date: 06/30/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing lock contention in a processor, comprising:

  • tracking a current total amount of time that one or more software threads are prevented from execution due to a lock;

    tracking a current utilization of one or more hardware threads in the processor;

    tracking a current number of dispatchable software threads;

    if the current total amount of time exceeds a predetermined threshold, performing a comparison of the current total amount of time, the current utilization, and the current number of dispatchable software threads to one or more past measurements;

    based on the comparison, determining if reducing a number of active hardware threads will reduce a wait time; and

    if reducing the number of active hardware threads will reduce the wait time, reducing the number of active hardware threads.

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