Public resource allocation method and device for CPU (Central Processing Unit) and related equipment

A technology of public resources and allocation methods, applied in the computer field, which can solve problems such as limiting application performance

Pending Publication Date: 2022-05-31
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing technology that uses CAT to allocate common resources for different cores, the competition of core resources within the application is not considered, thus limiting the performance of the application

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Public resource allocation method and device for CPU (Central Processing Unit) and related equipment
  • Public resource allocation method and device for CPU (Central Processing Unit) and related equipment
  • Public resource allocation method and device for CPU (Central Processing Unit) and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Embodiments of the present application provide a CPU public resource allocation method, device, and related equipment, which are applied in the computer field and can improve the performance of target applications. Exemplarily, the features or contents marked with dotted lines in the drawings involved in the embodiments of the present application may be understood as optional operations or optional structures of the embodiments.

[0036] With the rapid development of computer processors, the number of cores mounted on modern computer processors is increasing day by day. These cores perform computing services by utilizing various resources. These resources are private to each core, such as the first-level cache L1Cache, the second-level cache L2Cache, and shared by each core, such as the third-level cache LLC (also called the last level cache), memory bandwidth, etc. The resources shared by each core are also called Public resource. When these cores work together, the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a common resource allocation method for a CPU (Central Processing Unit), which is applied to the field of computers, and comprises the following steps: a first device obtains target data, the target data is the size of a target common resource allocated to a target application by the CPU of the first device, and the target common resource comprises three-level cache or memory bandwidth; the first device determines N pieces of first data according to the target data and a first mapping relation, a public resource corresponding to each piece of first data belongs to a target public resource, and the N pieces of first data are in one-to-one correspondence with N threads allocated to the target application; and the first equipment allocates public resources to the N threads according to the N pieces of first data. According to the application, the target public resource allocated to the target application can be reallocated, so that the performance of the target application can be improved.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a CPU public resource allocation method, device and related equipment. Background technique [0002] With the rapid development of computer processors, the number of cores mounted on modern computer processors is increasing day by day. These cores perform computing services by utilizing various resources. These resources are private to each core, such as the first-level cache L1Cache, the second-level cache L2Cache, and shared by each core, such as the third-level cache LLC (also called the last level cache), memory bandwidth, etc. When these cores work together, the public resources are in short supply, and each core begins to compete for the public resources, which leads to unreasonable resource allocation and the failure to maximize the performance of the computer system. [0003] In order to solve this problem, chip suppliers Inter and ARM respectively proposed resour...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F12/0842G06F12/0893G06F9/50
CPCG06F12/0842G06F12/0893G06F9/5016Y02D10/00
Inventor 何铭健周可王桦郭畅
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products