Core resource allocation method and apparatus and multi-core system

An allocation method and a technology for nuclear resources, which are applied in the fields of devices, many-core systems, and nuclear resource allocation methods, can solve problems such as the inability to allocate core resource partitions, reducing communication efficiency, and affecting the parallel processing capability of multi-core/many-core processors.

Active Publication Date: 2014-08-27
HONOR DEVICE CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] After core resource scheduling, different threads in the same process may be assigned to run on scattered cores that are far away. When information interaction between threads is required, it may have to pass through multiple cores that are running other tasks, resulting in Communication conflicts between threads, greatly reducing communication efficiency
In addition, the communication between threads can only be carried out after the core running other tasks is idle, which will also lead to low communication efficiency.
[0010] In addition, this method also lacks global and unified management of cores, which will generate a large number of scattered cores, resulting in the failure to allocate core resource partitions containing fewer core resources, and unable to use each core to respond to applications, resulting in core failures. The waste of resources affects the parallel processing capability of multi-core / many-core processors

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
  • Core resource allocation method and apparatus and multi-core system
  • Core resource allocation method and apparatus and multi-core system
  • Core resource allocation method and apparatus and multi-core system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0103] In order to enable those skilled in the art to better understand the solution of the present invention, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and implementation manners.

[0104] Before introducing the method for allocating core resources of the present invention, a brief introduction will be given to the process of multi-core cooperatively completing a task. Multiple threads in the same process can be assigned to run on different cores, specifically, they can be assigned to run on continuous cores, that is, multiple cores are located in a continuous area, for example, see figure 1 App3 in ; can also be assigned to run on the decentralized core, for example, see figure 1 Task FS in .

[0105] For app3, it is located in a continuous core resource partition, and the message exchange process between cores is fast and efficient; FS is located in a scattered core, and in order to comp...

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 present invention provides a method and an apparatus for allocating a core resource, and a many-core system, so as to allocate a core resource in a many-core platform. The method comprises: obtaining a quantity of idle cores required by a user process; finding at least two dispersed core subareas meeting the quantity request, each core subarea being a set of one or more cores and all cores in each core subarea being idle cores; forming a continuous core subarea by using the at least two dispersed core subareas; and allocating the formed continuous core subarea to the user process. In this manner, process interaction can be directly performed between different cores in the continuous core subarea allocated to the user process, and the efficiency of communication between processes is improved; in addition, waste of a core resource is effectively avoided, and the whole utilization rate and the parallel processing capability of a processor are improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a nuclear resource allocation method, device and many-core system. Background technique [0002] With the continuous development of computer technology, the processor has entered the multi-core / many-core era, increasing the number of schedulable cores in the computer system, assigning multiple threads in the same process to different cores to run in parallel, so that the multi-core can cooperate in parallel to complete specific tasks. In order to improve the utilization efficiency of multi-core / many-core processors and reduce application competition for core resources, cores can be physically partitioned to form multiple domains (representing core partitions). Each domain can contain multiple The cores of different domains can provide core resource sets of different domains to different applications to alleviate resource competition. [0003] In general, after co...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/50G06F9/5027G06F9/5061
Inventor 吴小科王伟
Owner HONOR DEVICE 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