Parallel Program Execution Model on Data Communication Optimization
- Author
- FangWei
- Advisor
- ChenGuoLiang
- School
- University of Science and Technology of China
- Major
- Computer Software and Theory
- Classification
- TP338.6 Parallel computer
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 88
- Citations
- 0
- Parallel computing
- Layered Parallel Computational Model
- Parallel Program Execution Model
- data communication
- Three Dimensional Fast Fourier Transformation
- Parallel Rendering
- Process Mapping
- Collective communication
Abstract
Parallel computational model is one of the most important contents in parallel com-puting. Along with the development of high performance computing, the complexity of hardware/software structure in parallel computing has been increasing for decades. The hardware is getting more and more complex, many technologies have been intro-duced to parallel computing, such as multi-core/many-core processors, heterogeneous platforms and various of high-speed networks. At the same time, the software of paral-lel computing is getting more abstract. This leads to the fact that it’s difficult to predict and analyze the execution behaviors of parallel programs. The conventional unified parallel computational model has been unable to meet the rapid development of par-allel computing. Layered parallel computational model has been proposed to handle this difficulty, by considering the model into three levels:algorithm design, program implementation and program execution.Parallel program execution model is an essential part in layered parallel compu-tational model. The data communication process is important in parallel program ex-ecution model, because it’s related to many other contents in parallel computing, such as the topologies of parallel system, the communication topologies of application, the performance of network, the synchronization and load balance of computing nodes. Based on the study of several parallel applications, this dissertation aims to build a par-allel program execution model on date communication optimization. The main idea is dividing the data communication process into three sub-processes:data preparation pro-cess, communication preparation process and date transmission process, each of which has heavy impact on the efficiency of date communication. These three processes have tight connections between each other, but also have their own independence. We did extensive research on these processes by analyzing three different instances of paral-lel application, from different angle to reveal the optimization methods on data com-munication. Specifically, our major research contribution and main innovation can be summarized as follows:(1) Parallel program execution model on data communication optimization Based on the study of details of data communication in MPI implementation, We sum-marized several factors affecting the efficiency of data communication in parallel programs, divided the data communication process into three subprocesses:data preparation, communication preparation and data transmission, analyzed each pro-cess’ contents and characteristic, proposed parallel program execution model on data communication optimization. We also give some discussions about the prop-erties of the model, in the hope of predicting parallel programs’ runtime behaviors and helping to optimize the data communication process.(2) Studied optimization in data preparation process, applied execution model to three dimensional fast Fourier transform Data preparation process greatly influ-ences the efficiency of data communication. We use three dimensional fast Fourier transform as an example to study the optimization in data preparation process. In order to reduce the calculation time and increase speedup, we introduced a new partitioning method for computing three dimensional fast Fourier transform in par-allel, rearranging the computing order of x-, y-, z-direction, as well as redesigning communication pattern among nodes and data redistribution. Load balancing and scalability were also considered in our new parallel algorithm.(3) Studied optimization in communication preparation process, applied execu-tion model to image compositing stage in parallel rendering Communication preparation process plays a connecting role in the three processes of data communi-cation. Taking image compositing stage as an example, we studied the optimization methods in communication preparation process. We proposed pipeline method to overlap the rendering time of different frames to achieve high fps in final display. We analyzed the theoretical performance of our methods and take intensive experi-ments. The results show that the pipelining methods are able to achieve interactive frame rates and scale well with both the size of nodes and screen resolution.(4) Studied optimization in data transmission process, applied execution model to dynamic process mapping method Data transmission process is the most com-plex and unpredictable process in data communication. Based on the idea of choos-ing fast link in data transmission process, we proposed dynamic process mapping method to optimize collective communication in MPI. The main idea of dynamic process mapping is changing processes’rank at runtime to change the communica-tion topology of collective operation, so as to optimize the application’s communi-cation cost. We presented two strategies to calculate optimal mapping array in order to align the situations we would face in runtime environments. Our work is based on MPICH2, and the experiment results show that dynamic process mapping method behaved better than original implementation in our simulation environments.
Table of contents
Abstract 5-7
ABSTRACT 7-10
directory 10-14
form 14-15
illustrations 15-17
first chapter 17-37
1.1 parallel computing and parallel algorithm 17-19
1.1.1 parallel computing research 17-19
1.1.2 parallel algorithm for the basic concepts 19
1.2 traditional parallel computing model 19-26
1.2.1 PRAM model 21-22
1.2.2 APRAM model 22-23
1.2.3 the BSP model 23-24
1.2.4 the LogP model 24 -25
1.2.5 NHBL model is 25
1.2.6 of storage access model 25-26
1.3 hierarchical parallel computing model 26 -31
1.3.1 parallel algorithm design models 28
1.3.2 Parallel Programming Model 28-30
1.3.3 parallel program execution model 30-31
1.4 fleet of data transmission optimization 31-33
1.4.1 fleet of the basic concepts 31-32
1.4.2 Data communication transmission 32-33
1.5 In this paper, the content and organization structure 33-37
1.5.1 In this paper, the content 33-35
1.5.2 This paper is organized structure 35-37
Chapter II of the parallel program execution model for the optimization of data communications 37-51
2.1 MPICH2 peer-to-peer communication mechanism 37 -44
2.1.1 MPICH2 About 37
2.1.2 MPI implementations Mechanism 37-39
2.1.3 MPI_Init achieve 39-40
2.1.4 MPI_Send achieve 40-43
2.1.5 MPI_Recv achieve 43-44
2.2 for data communications to optimize the parallel program execution model 44-50
2.2.1 of the computation time of parallel programs 44-45
2.2.2 parallel computing program data communication process 45-48
2.2. 3 Data Communications execution model 48-50
2.3 of this chapter Summary 50-51
Chapter III of the data preparation process optimization of the execution model 51-69
3.1 Introduction 51
3.2 application background 51-53
3.2.1 physical background 51-52
3.2.2 mathematical description 52-53
3.3 traditional algorithm 53-55
3.4 new three-dimensional FFT parallel algorithms 55-61
3.4.1 algorithm introduced 55 -56
3.4.2 Application Examples 56-61
3.5 execution model analysis 61-64
3.5.1 implementation details 61-63 < br /> 3.5.2 Execution Model 63-64
3.7 Chapter Summary 3.6 Experimental results and analysis 64-66
66-69
chapters communications to prepare the implementation of process optimization model 69-91
4.1 Introduction 69
4.2 application background 69-71
4.3 work 71-73
4.3.1 software work 71-72
4.3.2 introduced based on the work of the hardware 72-73
4.4 common method and implementation of the model 73-78
4.4.1 program execution model set 73-75
4.4.2 Direct Send method of 75-76 <br / 4.4.3 the Binary Swap method, 76-78
4.5 pipelining method and execution model analysis 78-87
4.5.1 Direct Send pipelined 79 -81
4.5.2 Binary Swap pipelined 81-83
4.5.3 Hybrid divided assembly line method 83-86
4.5.4 assembly line methods and procedures execution model summary 86-87
4.6 Experimental results and analysis 87-89
4.7 Summary 89-91
data transfer process optimize the implementation of model 91-107
5.1 Introduction 91
5.2 application background 91-92
5.3 work 92 - 94
5.4 dynamic process mapping 94-96
5.4.1 Method Introduction 94-96
5.4.2 program execution model 96 <br / > 5.5 the speed of communications is inconsistent 96-98
5.5.1 implementation 96-98
5.5.2 implementation of the model 98
5.6 traffic load inconsistent 98-100
5.6.1 the process of mapping implementation 98-99
5.6.2 implementation of the model 99-100
5.7 Experimental results and analysis 100-103
5.7.1 communication cost is inconsistent 101-102,
5.7.2 Network Load inconsistent 102-103
5.8 Summary 103-107
Chapter VI Conclusion and Outlook 107-111
6.1 in this article summarize 107-109
6.2 Looking 109 -111
References 111-117
thank 117-119
the papers published during the reading and research achievements 119
Related dissertations
- The Channel Marketing Strategy Research of Data Communications Industry
- Loan Default Prediction Based on Imbalanced Data Classification
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- A Study of GPU-based Parallel Learning to Rank
- Research on System Stability for Haptic Rendering
- Research on Key Technology of Modeling and Rendering for Virtual Natural Scene
- Study on Distributed Large-scale Microscopic Traffic Simulation
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Boundary Face Method Base on GPU-acceleration
- Parallelization Research of Face Recognition and Texture Synthesis Algorithm Base on MATLAB Multi-core Clusters
- Research of Image Registration and Mosaic Technology Based on GPU
- Model Optimization Technique Based on Viewpoint-dependent and Application
- Research on Detection and Recognition of Traffic Objects in City Environments
- Human Action Recognition Based on Kinect Skeleton Information
- Study of adaptive beamforming processor based on GPU
- Study and Implementation of Fast Super-resolution Reconstruction Methods
- A Parallel Research on Feature Detection and Feature Matching Based on3D Reconstruction with Multi-View
- Research about Data Mining Technologies Based on Cloud Computing
- Study on Granularity Clustering
- E-commerce Applications Based on Multi-core Cluster Parallelization