A Research on Parallel Programming in PVM Heterogeneous Cluster Environment

Author
LiuXiaoMing
Advisor
CaiChengDian
School
Jinan University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2001
Downloads
117
Citations
5

Request the full text

Abstract

This paper introduces support for heterogeneous computing (Heterogeneous Computing) virtual parallel computer system PVM (Parallel Virtual Machine). PVM, the overall polymerization processing power by means of a network cluster system to solve large computational problems . This article discusses the basic concepts of distributed programming environment created by the PVM system programming , demeanor (Paradigm) and optimize program efficiency points , and finally gives regional generation algorithm for solving linear equations and computer image processing , image segmentation parallel programs running on the PVM system instance , testing and optimization of its operating performance . The use XPVM of these parallel programs , the speed bottleneck of performance testing and analysis of parallel program to run in the PVM environment . According to the characteristics of the PVM environment in heterogeneous cluster systems , to increase the granularity , reduce synchronous communication , according to the the host performance division of workload principle , improved parallel programming algorithm to improve the parallel speedup . Input / output interface , and Windows cross- platform application development tools QT , the development of digital image used in this article to discuss the QT signal / slot technology and programming methods . Programs written using QT can run in XWINDOWS and WINDOWS 9X/NI of avoid duplication of development applications to improve the usefulness of the application on different platforms .

Table of contents

Chapter Summary 7-14 1.1. Introduction 7-8 1.2. Parallel computing architecture 8-11 1.2.1 vector processing computer 8-9 1.2.2 shared main memory multiprocessor systems 9 1.2.3 distribution of main memory massively parallel machines 9-10 1.2.4 computer cluster 10-11 1.3. Parallel programming model (PARALLEL PROGRAMMING MODELS) 11-13 1.3.1. Shared variable model (Shared-Variable Model) 11 1.3.2. Messaging model (Message-Passing Model) 11-12 1.3.3. Data-parallel model (Data-Parallel Model) 12 1.3.4. The object-oriented model (Object-Oriented Model) 12 1.3.5. Function and logic model (Functional and Logic Model) 12-13 1.4. The PVM system established heterogeneous multi-computer environment 13-14 Chapter II PVM system build heterogeneous workstation cluster 14-21 2. The PVM system of function 14-21 2.1. The PVM About 14 2.2. The PVM system supported by the machine platform 14 2.3. PVM system supports heterogeneous computing 14-15 2.4. PVM supports heterogeneous network 15 2.5. The PVM's composition 15-16 2.6. The PVM task the 2.6.1 TID, 16-17-task identifier 16-17 2.6.2. The GID-task group identifier 17 2.7. PVM message passing 17-19 2.7.1 PVM message passing process 17-18 2.7.2. Messaging between heterogeneous host 18 2.7.3 PVM communication protocol 18-19 2.8. The PVM basic programming techniques 19-20 2.8.1. Close to the calculated mode (Crowd Computations) 19-20 2.8.2. Tree computing model 20 2.8.3. Hybrid computing model 20 2.9. The PVM parallel debugging tools About 20-21 Chapter PVM environment factors affecting the performance of parallel programs 21-33 3.1. The parallel speedup 21 3.2. The parallel overhead 21-32 3.2.1. Communication delay 21-28 3.2.1.1 same operating system host communication 22-25 3.2.1.2 distinct, operating system host communication between 25-27 of 3.2.1.3 of different data encoding type of packaged data speed 27-28 3.2.2. The PVM task synchronization 28-29 3.2.2.1 task dependencies 28-29 3.2.2.2. Global synchronization 29 3.2.3. PVM environment load balancing 29-32 3.2.3.1. PVM environment cause load imbalance 30 3.2.3.2. Data decomposition method (data decomposition) 30-31 3.2.3.3. The functional decomposition Law (function decomposition) 31-32 3.2.3.4. Some other methods to reduce the load imbalance 32 3.3. Granularity (GRANULARITY) 32 3.4. Scalability (SCALABILITY) the 32-33 Chapter of PVM / XPVM system configuration, start-up and application interface 33-39 4.1. The PVM system configuration 33 4.2. PVM system four basic start-up mode 33-35 4.3 PVM CONSOLE application 35-39 of fifth chapter PVM environment in parallel programming 39-53 5.1 Solving linear equations 39-46 5.1.1. Parallel computing model 39 5.1.2. Solving linear equations algorithm 39-40 5.1.3. The linear equations Serial solution 40-42 5.1.4. Parallel solution of linear equations 42-44 5.1.4.1. The parallel algorithm described 42-44 5.1.4.2. The calculated resource allocation 44 5.1.5. Parallel solution of linear equations 44-46 5.1.5.1. Parallel algorithm described 44-46 5.2. Regional generation algorithm 46-53 5.2.1. The regional generation algorithm described 46-47 5.2.2. Regional generation algorithm parallel computing model 47-49 5.2.3. Region generates a description of the parallel processing 49-50 5.2.4. Data partitioning 50-51 5.2.5. The digital image of the input / output interface 51-53 Chapter VI algorithm performance analysis and algorithm improvements 53-66 6.1. Performance analysis algorithm for solving linear equations and algorithms to improve 53-60 6.1.1. Algorithm improvements 53-55 6.1.1.1. The data is divided 53-54 6.1.1.2. Computing resource allocation 54 6.1.1.3. The number of hosts 54 6.1.1.4. Granularity 54-55 6.1.2. Performance Analysis 55-59 6.1.3. Speedup analysis 59-60 6.2. The region generated algorithm performance analysis and algorithm improvements 60-66 6.2.1. Algorithm to improve 60-61 6.2.1.1. The data is divided 60-61 6.2.1.2. Granularity 61 6.2.1.3. Synchronization 61 6.2.2. Performance Analysis 61-64 6.2.3. Speedup analysis 64-66 Chapter VII Conclusion 66-67 References 67-71