Patent · US Active

Method, apparatus, and electronic device for improving CPU performance

US10983839B2 · kind B2 · utility

1Cited by
3References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 15, 2020
Grant dateApr 20, 2021
Priority date
Expiry dateJan 15, 2040

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/176
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Implementations of this specification provide a method, an apparatus, and an electronic device for improving performance of a central processing unit (CPU) comprising a plurality of CPU dies. The method includes the following: enabling threads in each CPU die of the CPU to compete for a mutex of a respective CPU die; identifying the plurality of threads that have obtained the mutexes; enabling the plurality of threads that have obtained the mutexes to compete for a spin lock of the CPU; identifying, from the plurality of threads, a target thread that has obtained the spin lock; executing a critical section corresponding to the target thread that has obtained the spin lock; and releasing the mutex and the spin lock that are obtained by the target thread.

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