Automatic Communication Code Generation and Optimization for Distributed Memory Architecture
- Author
- DingRui
- Advisor
- ZhaoRongCai
- School
- PLA Information Engineering University
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 16
- Citations
- 0
- Distributed storage structure
- Code Generation
- Communication Optimization
- Neighboring communication
- Before communication
- Communication parallelism
Abstract
Parallelizing compiler technology to automatically identify potential parallelism in a serial program through a variety of technical means and efficient parallel programs using the equivalent transformation technique of serial program into equivalent translation technology . Parallelizing compiler , code generator belonging to the compiler backend tasks indicates that the result is based on the parallel recognition and transformed the middle , and automatically generate suitable for parallel programs running on the target parallel machine . The merits of the code generation directly determines the efficiency of the parallel program execution . The parallelizing compiler SW-KAP (Kit of Automatic Parallelizing complier) R \u0026 D background, to explore a communication automatic code generation and optimization of distributed storage structure , the main content and contribution of the research include : 1 , for embedded sets of loop input dependent flow dependence and the index does not appear due to the problem of redundant before communication automatically generated based on the exposure set before the communication code optimization algorithm , the algorithm can eliminate such redundancy . Serial communication code using MPI (Message Passing Interface) library group communication mechanisms to achieve the algorithm automatically generated after communication communication parallelism improvements , improved algorithm can effectively reduce the messaging step . 3, for the traditional algorithm does not distinguish between the neighboring communication and data re - communication, while uniform treatment caused by the small communication overhead problem , proposed by merge array variable generate the communication chain , the communication area is then calculated on the basis of the communication chain and generate neighboring communication code optimization algorithm, which can effectively reduce the communication overhead . The proposed algorithm has been developed by our team of SW-KAP system implementation and application , to verify the accuracy and efficiency of the algorithm .
Table of contents
List of Tables 6-7
List of Figures 7-8
summary 8-9
ABSTRACT 9-10
The first chapter 10-13
1.1 research significance 10
1.2 Related Research 10-11
1.3 content 11-12
1.4 papers organizational structure 12-13
Chapter II study background 13-17
2.1 system architecture 13-14 < br /> 2.2 redundant parallel execution model 14-15
2.3 intermediate representation 15
2.4 Notes 15-16
2.5 MPI About 16
2.6 Summary 16-17
Chapter inequality parallel recognition 17-26
3.1 linear inequality systems 17 -21
3.1.1 convex polyhedron inequalities 17
3.1.2 using linear inequalities iteration, arrays and processor space 17-18
3.1 the polyhedron generated .3 scan cycle nested 18-19
3.1.4 symbolic coefficient linear inequalities system 19-20
3.1.5 symbolic coefficient inequality elimination yuan 20-21
3.2 parallel decomposition the 21-24 the 3.2.1 data partitioning
21-22
3.2.2 calculate the division 22
3.2.3 virtual mapping and physical mapping 22-24
3.3 precise array data flow analysis 24-25
3.4 Summary 25-26 <br / Chapter IV before the communication code generation and optimization the 4.1 Knowledge 26-36
26-28
4.2 before communication algorithm and its implementation 28 - 31
4.2.1 inequality constraints 28-29
4.2.2 to generate communication code the 29-31 4.3 Case Study
31-35
4.4 Summary 35-36
Chapter communication parallelization 36-41
5.1 MPI group communication 36-37 <br / > 5.2 after communication code parallelization improved 37-40
5.3 performance test 40
5.4 Summary 40-41
Chapter nearest neighbor communication code generation and optimization 41-52
6.1 parallel decomposition and data flow analysis 41-43
6.1.1 parallelism, decomposition 41-42
6.1.2 Data flow analysis 42-43
6.2 the close neighbors Communications algorithm the 43-48
6.2.1 communication chain generated 43-45
6.2.2 communication code generation 45-48
6.3 Case Study 48-51
6.4 Summary 51-52
Chapter VII of the test results and analysis 52-56
7.1 test platform 52-53
7.2 test 53-54
7.2.1 Matrix use case testing 53
7.2.2 N-body case testing 53-54
7.2.3 the EP test cases 54
7.3 test analysis 54-56 < br /> Conclusion to References 56-57
57-61
Author resume studying for a master's degree during the completion of the main work 61-62
Acknowledgements 62
Related dissertations
- Research on Automatic Code Generation and Optimization in Parallelizing Compiler
- MPP machine code generation technology
- Electric Vehicle Charging and Discharging Machine Development Based on Embedded Code Generation System
- Simulation Software Development and Experimental Research of Active Vibration Control Based on LMSAdaptive Filter Algorithm
- Research on Automatic Code Generation Technology of Automatic Mechanical Transmission Based on Real-Time Workshop
- Design and Implementation of Compiler Directives for Tasks Parallelism in Message Passing Computing
- Research on Technologies for MPI Parallel Code Generation and Communication Optimization
- Design and Implementation of a Component-based Configuration Modeling Tool
- Research of Code Automation Based on Relationship-Reuse
- The Study and Design of Code Generation of Frontend and Backend Based on the User’s Guidance in the Development of Workflow
- Research and implementation of data driven tool architecture and automation support
- Research on Transformation Rule Modeling and Rule Code Generation
- Research and Application of Code Generation Technology in Management Information System
- Design and Implementation of Model Simulation in Hierarchical Modeling System
- The Reserch on Automatic Generation of Ice Application Framework
- Research and Implementation of Navigation and Code Generation in Hierarchical Modeling
- Study and Implementation of State Machine Code Generation Technology for Quantum Framework in Embedded Systems
- Research and Implementation of the System for Radar Modeling and Simulation
- Design and Application of Universal Radar Signal Processing Visualizaiton Platform
- Research on Software Process of Wireless Sensor Network Based on MDA and Evolutionary Computation