Analysis and Optimization of the Communication Mechanism for MPICH on the Cluster of Workstation

Author
ZuoHao
Advisor
ZhengQuanLu
School
PLA Information Engineering University
Major
Computer Software and Theory
Classification
TP368.5 Servers, workstations
Degree
Master's thesis
Year
2010
Downloads
31
Citations
0

Request the full text

Abstract

MPICH is the most widely used implementation of MPI standard. It is a parallel function library which bases on message-passing, and it can be ported on variable computer systems. MPICH is a kind of open source software, but there is little information which can introduce how they implemented. The MPICH features high computing capability and porting property, but as for the cluster, it performs high communication delay. So, the communication optimization of MPICH plays a very important role in the improvement of the efficiency that the parallel program. By analyzing the source code of MPICH from the perspective of communicatory implementation, the MPICH communication optimization is achieved and an improved parallel function library is designed.MPICH creates the TCP connections between processes rather than nodes when communicating. Experimental results show that the TCP connections between the processes of every node increase the communication expenses and do nothing good to the communication optimization.It can be reduced to one TCP connection obviously. So, we take the method of creating one communicating management process on every node to take charge of all the TCP connections.In this way, not only the structure of the connections between processes is optimized, but also the communication expense especially the communication expense between processes on different nodes is decreased.In cluster of workstation, the task initiation is serially, when the user starts the MPI processes on the master node, the master node start tasks on the remote nodes in turn. In this situation, the communication expenses increases quickly with the increasing of the number of nodes. A parallel task initiation based on Doubling Technique is proposed in the thesis, and an experimental verification is done. The parallel task initiation takes the diffused tree structure to start tasks on nodes. In this way, the communication expense is decreased and we get a higher communication performance.At last, this thesis realizes an archetype and actualizing details of the parallel function library according to the methods of communication optimization mentioned above. And the implemental principle is described through idiographic examples.

Table of contents

Nbsp; 6-7 List of Figures List of Tables 7-8 Abstract 8-9 ABSTRACT 9-10 Chapter Introduction 10-16 1.1 parallel programming 10 1.2 MPI and MPICH introduced 10-12 1.2.1 Parallel Software Development mode 10-11 1.2.2 the MPI Introduction 11-12 1.2.3 of MPICH About 12 1.3 Background 12 -13 1.4 research status 13 1.5 research 13-14 1.6 Research purpose and significance of 14 1.7 papers structure 14-16 second chapter of the MPI standard describes 16-21 2.1 MPI message passing interface 16-17 2.2 MPI message pass mode 17-20 2.2.1 of the MPI message 17 2.2.2 point-to-point communications 17-19 2.2.3 collection of communication 19-20 2.3 of this chapter Summary 20-21 Chapter III MPICH communication functions in the workstation cluster environment analysis 21-34 3.1 MPICH-level structural analysis 21-25 3.1.1 of MPICH overall structure 21-22 3.1.2 of MPICH code structure 22-23 3.1 .3 MPICH communication process level 23-25 ?? 3.2 of MPICH communication in the workstation cluster environment to achieve the process 25-31 3.2.1 communications environment initialization 25-28 3.2.2 point-to-point communications to achieve 28-30 3.2.3 collection of communication 30-31 3.3 experimental test 31-33 3.3.1 experimental purposes and principles of 31-32 3.3.2 the process of shared memory communication between the experimental data 32-33 3.3.3 TCP connection inter-process communication of experimental data 33 3.4 Summary 33-34 Chapter MPICH communication mechanism communication parallelization and improved method is 34 -45 4.1 interprocess communication connection is established optimization 34-39 4.1.1 of MPICH process of communication between connection establishment 34-37 4.1.2 37-39 MPICH interprocess communication link optimization, the optimization of the 4.2 of MPICH's task startup mode 39-42 4.2.1 MPICH task starts way 39 -41 4.2.2 parallelization task startup mode 41-42 4.3 experimental test 42-44 4.3.1 machine communications and the internal communication the efficiency of 42 4.3.2 boot process to optimize performance testing 42-43 4.3.3 Communications Management processes impact on the efficiency of communication between the original node test 43-44 4.4 Summary 44-45 Chapter MPICH improve library's implementation 45-52 5.1 improvement library The principle 45-48 5.1.1 improve library communications environment to establish 45-46 5.1.2 to achieve points 46-48 5.2 running instance description 48-50 5.2.1 communication process optimization 49 5.2.2 implementation code generation 49 5.2.3 Communications the underlying implementation process 49-50 5.3 experimental test 50-51 5.3.1 experimental purposes and principles of 50 5.3.2 experimental data 50-51 5.4 Summary 51-52 Conclusion 52-55 References 55-58 of CV during the master's degree to complete the main work 58-59 thank 59

Related dissertations

  1. SMP structure - based image restoration algorithms
    ZhangCuiLian ·Shandong Normal University ·2006 ·Master's thesis
  2. Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
    FanMinJie ·Yangzhou University ·2013 ·Master's thesis
  3. Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
    FuZuoNa ·Anhui University ·2014 ·Master's thesis
  4. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  6. A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
  7. Parallel distributed processing and application in rendering based on
  8. Research on Large-scale Unstructured Data Processing of Index and Visualization
    CaoLei ·Tianjin University ·2012 ·Master's thesis
  9. Operation Research and Implement of String Type Data in Column Database
  10. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  11. A Task Scheduling System Model Based on Parallel Resource Attribute Selection
  12. Design and Implementation of Vectorized FFTs on the YHFT-Matrix
  13. The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
  14. Research on the Implementation of High-Speed Image Decompression System Based on Parallel Technology
  15. Research on Joint Parallel Algorithm of H.264Encoders and Decoders
    ZhuXiaoYu ·Central South University ·2013 ·Master's thesis
  16. Research and Application on the High Speed FIR Digital Filter
  17. Comparative study of expression - painting and poetry in the time expression in painting time case
    ZhouZuo ·Central Academy of Fine Arts ·2014 ·Master's thesis
  18. Research on Control Stategies of Three-phase Grid-connected Photovoltaic Inverter
    WangRui ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Research on Parallel Issues for PV Inverter
    LiLei ·Liaoning University of Technology ·2014 ·Master's thesis
  20. Hydrodynamic Optimization Research of Forced Circulation Hot Water Boiler
    WangJinFei ·Harbin Institute of Technology ·2012 ·Master's thesis