Invention Grant
- Patent Title: Method, apparatus, and electronic device for improving parallel performance of CPU
-
Application No.: US16945589Application Date: 2020-07-31
-
Publication No.: US11080094B2Publication Date: 2021-08-03
- Inventor: Ling Ma , Wei Zhou , Changhua He
- Applicant: Advanced New Technologies Co., Ltd.
- Applicant Address: KY Grand Cayman
- Assignee: Advanced New Technologies Co., Ltd.
- Current Assignee: Advanced New Technologies Co., Ltd.
- Current Assignee Address: KY Grand Cayman
- Agency: Fish & Richardson P.C.
- Priority: CN201910175628 20190308
- Main IPC: G06F9/50
- IPC: G06F9/50 ; G06F9/30 ; G06F9/38 ; G06F9/48

Abstract:
Implementations of the present specification provide a method, an apparatus, and an electronic device for improving parallel performance of a CPU. The method includes: attempting to acquire data requests that are of a same type and that are allocated to the CPU core; determining a number of requests that are specified by the acquired one or more data requests; and in response to determining that the number of requests is greater than or equal to a maximum degree of parallelism: executing executable codes corresponding to the maximum degree of parallelism, wherein the maximum degree of parallelism is a maximum number of parallel threads executable by the CPU, and wherein the executable codes comprise code programs that are compiled and linked based on the maximum degree of parallelism at a time that is prior to a time of the executing.
Information query