Patent · US Active

Adaptive lock list searching of waiting threads

US8954974B1 · kind B1 · utility

6Cited by
5References
13Claims
0Family size

Assignee

Inventors

Key dates

Filing dateNov 10, 2013
Grant dateFeb 10, 2015
Priority date
Expiry dateNov 10, 2033

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/526
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A system and technique for adaptive lock list searching of waiting threads includes logic executable by a processor to: determine an average service time for a lock associated with a shared computing resource; determine an average search time for selecting a thread to next receive the lock from a plurality of threads waiting for the lock; sum the average service time and the average search time; apply a search factor to the summed average service time and average search time to obtain a target search time for searching the waiting threads for selecting the next thread for obtaining the lock; determine a quantity of waiting threads to consider for next obtaining the lock based on the target search time and the average search time, the quantity being less than a total quantity of waiting threads; and identify the next thread to obtain the lock from the quantity.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.