Unlock instant, AI-driven research and patent intelligence for your innovation.

Global data memory management method based on multi-core multi-processor parallel system

A technology of memory management and global data, applied in electrical digital data processing, instruments, multi-program devices, etc., can solve the problems of thread interaction failure, system crash, data error, etc.

Pending Publication Date: 2021-03-12
CSIC WUHAN LINCOM ELECTRONICS
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When multiple threads in a multi-core multi-processor parallel system access the same global resource at the same time, if access control is not performed on the global resource, data errors are prone to occur, resulting in thread interaction failure or even system crash.

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
  • Global data memory management method based on multi-core multi-processor parallel system
  • Global data memory management method based on multi-core multi-processor parallel system
  • Global data memory management method based on multi-core multi-processor parallel system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0065] It should be noted:

[0066] 1) if figure 1 As shown, the present embodiment is an embodiment implemented on an embedded multi-core multi-processor parallel system;

[0067] 2) The embedded multi-core multi-processor parallel system applied in this embodiment includes four processing boards, which are respectively S 0 , S 1 , S 2 , S 3 , where processing board S 0 , S 1 , S 2 Contains two MPC8641D dual-core processors and one SRIO switching device, processing board S 3 Contains one MPC8641D dual-core processor and one SRIO switching device, each MPC8641D processor contains two e600 processing cores, and the processing cores are C 0 , C 1 ,...,C i ,...,C 13 , the selected processing core C 0 main processing core;

[0068] 3) Process Core C 0 There is a thread A, which is used to apply for access to the global data memory; the processing core C 13 There is a thread B, which is used to apply for the release of global data memory access rights;

[0069] 4) T...

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 global data memory management method based on a multi-core multi-processor parallel system. The method comprises the following steps: initializing each processing core system; creating a thread by each processing core, creating a user heap from the user heap buffer pool and the data buffer pool corresponding to the processing core to which the thread belongs, and fillingthe user heap information into a global data memory name table; creating a global data memory from a global data memory buffer pool and a user heap corresponding to the processing core to which the thread belongs, and filling global data memory information into a global data memory name table; managing mutual exclusion access of the global data memory through the global semaphore, so that the access right of the global data memory is obtained or released. According to the method, the mutual exclusion access of the global data memory is controlled by utilizing the global semaphore, so that theaccess right of the global data memory is obtained or released, and the data error problem caused by the fact that multiple threads in a multi-core multi-processor parallel system access the same global resource at the same time is avoided.

Description

technical field [0001] The invention relates to a memory management method, in particular to a global data memory management method based on a multi-core multi-processor parallel system, and belongs to the field of embedded computers. Background technique [0002] With the development of computer systems and the increasing demand for real-time and parallelism in field applications, multi-core multi-processor parallel systems have become an important trend in the development of embedded computer systems. [0003] With the increase of the number of cores and processor nodes in the parallel system of multi-core processors, the system needs to provide a complete set of efficient and reliable multi-core thread interaction mechanism to complete the collaborative work between multi-core processors and realize resource sharing access and thread allocation. [0004] When multiple threads in a multi-core multi-processor parallel system access the same global resource at the same time,...

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/54G06F9/50G06F9/52G06F15/177
CPCG06F9/544G06F9/5016G06F9/5022G06F15/177G06F9/526G06F2209/5011G06F2209/5018Y02D10/00
Inventor 舒红霞胡舒婷常轩
Owner CSIC WUHAN LINCOM ELECTRONICS