The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Mar. 08, 2022

Filed:

Apr. 19, 2021
Applicant:

Advanced New Technologies Co., Ltd., Grand Cayman, KY;

Inventors:

Ling Ma, Hangzhou, CN;

Changhua He, Hangzhou, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/52 (2006.01); G06F 9/50 (2006.01); G06F 9/38 (2018.01); G06F 16/176 (2019.01); G06F 13/36 (2006.01);
U.S. Cl.
CPC ...
G06F 9/526 (2013.01); G06F 9/3851 (2013.01); G06F 9/50 (2013.01); G06F 9/5022 (2013.01); G06F 9/5027 (2013.01); G06F 9/5044 (2013.01); G06F 9/52 (2013.01); G06F 13/36 (2013.01); G06F 16/176 (2019.01);
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.


Find Patent Forward Citations

Loading…