Study on Parallel Programming Models
- Author
- YaoZhen
- Advisor
- ChenGuoLiang
- School
- University of Science and Technology of China
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Doctoral dissertation
- Year
- 2006
- Downloads
- 929
- Citations
- 8
- Parallel computing
- Parallel Programming Model
- Message Passing Model
- Shared Memory Model
- Unified Parallel Programming Model
- Transactional Memory
- Speculative Parallel Threading
- object oriented programming
- Generic programming
- Aspect Oriented Programming
Abstract
The computation power of parallel computers has been increased exponentially according to Moore’s Law, and new parallel architectures contigously emerge. However, parallel computing has never been able to become the real mainstream. People gradually recognized that only being able to design and build parallel hardware was not enough. The real challenge turned out to be software that supports parallel programming. Most existing parallel programming systems suffer a low abstraction level, and parallel programming within them is difficult. Parallel programs are always much more complex than their corresponding parallel algorithms, and hence suffer from poor readibility and extensibility. While on the other hand, the diversity of parallel architectures leads to the diversity of parallel programming models and software systems, thus limits the genericity and flexibility of parallel programs. The key problem that we would like to solve is how to promote the abstraction level of parallel programming models and their corresponding parallel programming systems, support the development of generic parallel data structures and algorithms, and finally promote the productivity of parallel programming. In order to sovle the above problems, the research works in this dissertation are:(1) Study on Message-Passing Parallel Programming ModelMotivated by the low abstraction of existing message-passing systems, we proposed a new generic object-oriented message-passing interface — GOOMPI. We created a complete framework for data partition, serialization and transmission, and effectively solved the problem of transferring arbitrary user-defined, complex, dynamic data structures as well as abstract data types. We designed and implemented the policy-based versatile communication port to support stream-style message-passing and message type checking mechanisms. GOOMPI supports rapid and intuitive mapping from message-passing based parallel algorithms to corresponding parallel programs. We also implemented several typical message-passing based parallel algorithms in GOOMPI, and compared them with their MPI counterparts.(2) Study on Shared Memroy Parallel Programming ModelMotivated by the disadvantages of existing multithread programming systems, we proposed a new parallel multithreading interface — PMT, which requires no language extensions or proprietary compilers. It provides direct support for multithreaded parallel programming, including parallel task management, thread pool, various parallel regions, static and dynamic scheduling of parallel loops, and various shared data structures which support parallel access. We also parallelized several data structures and algorithms from the C++ Standard Template Library using PMT.(3) Study on Lock-Free Speculative Parallel ThreadingWe discussed the technique of Speculative Parallel Threading using Transactional eXecution (SPT/TX), which is based on the future multi-core architecture. Because that
Table of contents
Chinese Abstract 4-6
English summary 6-8
directory 8-12
illustrated catalog 12-14 <br / > Tables 14-15
first chapter 15-27
§ 1.1 Overview 15
§ 1.2 Background and 15-22
§ 1.2.1 Parallel Computing Overview 15
§ 1.2.2 parallel hardware architecture 15-19
§ 1.2.3 Parallel Programming model 19-21
§ 1.2.4 in modern programming design techniques 21-22
§ 1.3 Parallel Computing facing key issues 22-23 <br / > § 1.4 research and ideas 23
§ 1.5 of Document Resources 23-25 ??
§ 1.6 This paper is organized structure 25-27
generic object-oriented message passing interface GOOMPI 27-55
§ 2.1 Overview 27
§ 2.2 message transfer model 27-28
§ 2.3 existing messaging systems 28-30
§ 2.4 GOOMPI design and achieve 30-41
§ 2.4.1 GOOMPI hierarchical structure 30-32
§ 2.4.2 messaging layer 32-36
§ 2.4.3 serialization layer 36-37
§ 2.4.4 of collective communication layer 37-38
§ 2.4.5 data partitioning layer 38-39
§ 2.4.6 of the streaming user interface 39-41
§ 2.4.7 GOOMPI the other features 41
§ 2.5 using GOOMPI, messaging 41-44
§ 2.5.1 sequence of user custom data structures 42-43
§ 2.5.2 divided into user-defined data structure 43-44
§ 2.5.3 point-to-point communications 44
§ 2.5.4 of collective communication 44
§ 2.6 Example Program 44-50
§ 2.6.1 Cannon, matrix multiplication 44-46
§ 2.6.2 SUMMA matrix multiplication 46 -47
§ 2.6.3 Comparison with MPI 2.7 Performance Evaluation 47-50
§ 50
§ 2.8 work 50-53 < br /> § 2.9 of this chapter Summary 53-55
lock-based parallel multi-threaded program design interface the PMT 55-83
§ 3.1 Overview 55
§ 3.2 shared storage model 55-57
§ 3.3 existing multi-thread library 57-60
§ 3.4 PMT parallel multi-threaded support 60-76
§ 3.4.1 thread management 61-63
§ 3.4.2 of the basic parallel communication primitives 63-66
§ 3.4.3 parallel regions 66-67
§ 3.4.4 parallel loop 67-69
§ 3.4.5 Reduction variables 69-71
§ 3.4.6 shared variables 71-72
§ 3.4.7 shared pointer 72
§ 3.4.8 shared data container 72-75
§ 3.4.9 multi-threaded parallel algorithm structure 75-76
§ 3.5 Example Program 76-81
§ 3.5.1 parallel STL algorithms 76-77
§ 3.5.2 parallel FFT algorithm.; 77-79
§ 3.5.3 parallel matrix multiplication 79-81
§ 3.6 Performance Test 81
§ 3.7 Summary 81-83
Chapter lock has nothing to do speculative parallel multi-threaded 83-103
§ 4.1 Overview 83
§ 4.2 the SPT / TX basic architecture 83-84
§ 4.3 based on the functionality of the software simulation and verification of the correctness of 84-98
§ 4.3.1 software, the overall framework 84 - 87
§ 4.3.2 the SPT / TX software simulator 87-93
§ 4.3.3 correctness verification 93-95
§ 4.3.4 debug and log 95-98
§ 4.3.5 program examples and test data 98
§ 4.4 work 98-101
§ 4.5 of this chapter Summary 101-103
Chapter unified framework for parallel programming model 103-117
§ 5.1 Overview 103
§ 5.2 hybrid parallel programming model 103-104
§ 5.3 unified framework for parallel programming model 104-105
§ 5.4 PARADE system design and implementation 105-111
§ 5.4.1 unified architecture model of concurrent tasks 105-106
§ 5.4.2 of the same communication model 106
§ 5.4.3 consistent message-passing interface 106-107
§ 5.4.4 coherent shared memory interface 107
§ 5.4.5 unified architecture, distributed shared data 107-108
§ 5.4. 6 the data handle and the data volume 108-109
§ 5.4.7 scope behavior 109-110
§ 5.4.8 unified architecture, parallel algorithm structure 110 -111
§ 5.5 Example Program 111-114
§ 5.5.1 parallel matrix multiplication 111-112
§ 5.5.2 Parallel Jacobi iteration 112-114
§ 5.6 work 114-116 5.7 of this chapter Summary
§ 116-117
sixth aspect-oriented parallel programming 117-141
§ 6.1 Overview 117
§ 6.2 aspect-oriented programming 117-118
§ 6.3 generic-oriented aspects of the program design framework AOP 118-130
§ 6.3.1 AOP Overview 118-119
§ 6.3.2 AOP framework 119-127
§ 6.3.3 the AOP program Example 127
§ 6.3.4 AOP implementations 127-130
§ 6.4 AOP in the design of parallel programs 130-136
§ 6.4 .1 use AOP to achieve thread-safe data sharing 131-132
§ 6.4.2 use AOP to achieve parallelization . 132-136
§ 6.5 Performance Evaluation 136 -137
§ 6.6 work 137-138
§ 6.7 of this chapter Summary 138-141
Conclusion to Chapter VII 141-147 <br / > § 7.1 In this paper, 141-143
§ 7.2 In this paper, contributions and innovation 143
§ 7.3 for further work 143-147
reference literature 147-155
thank 155-157
during the study for a degree to participate in research projects 157-159
pursue a degree during the publication and hired academic papers 159
Related dissertations
- Study on Transactional Memory Programming and Software Library Optimization of Tera-Flops Computer KD-50-I
- Implementation and Application of AOP Framework Based on IT-Kid Repository
- Study on Parallelized Geographic Computing Technology and Performance Evaluation Models
- Loan Default Prediction Based on Imbalanced Data Classification
- 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