Research and Application of MPI and OpenMP Hybrid Programming Model Based on SMP Clusters

Author
WangHuiChun
Advisor
CaoXueNian
School
Xiangtan University
Major
Computational Mathematics
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2008
Downloads
347
Citations
5

Request the full text

Abstract

Shared memory architectures are gradually becoming more prominent in the HPC market, as advances in technology have allowed larger numbers of CPUs to have access to a single memory space. In addition, manufacturers are increasingly clustering these SMP systems together to go beyond the limits of a single system. Of the top 10 supercomputers listed in the Top500, most (if not all) are clusters of SMPs.As clustered SMPs become more prominent, it becomes more important for applications to be portable and efficient on these systems. For this pressing problem, the paper doing some research as follows:1. Detailedly described the hybrid MPI+OpenMP programming model suited for SMP cluster. It is close to the architecture of SMP cluster, combining the advantage of message passing and shared memory, could gain more efficient performance behavior. Based on this, the paper focus on the implement of the hybrid programming model, the choice of parallel grain size and loops, control of the thread number , optimize measures and its benefit relative to the MPI model. At last, it concludes that the hybrid programming model is the best choice of SMP cluster program under some conditions.2. Performance evaluation and modeling are crucial steps to enabling the optimization of parallel programs. Hybrid programming model, such as MPI+OpenMP, requires analysis to determine both performance efficiency and the most suitable numbers of processes and threads for their execution on a given platform. To study both of these problems, we propose the construction of a model that is based upon a small number of parameters, but is able to capture the complexity of the runtime system. We have combined two different techniques that includes static analysis, driven by the OpenUH compiler, to retrieve application signatures and a parallelization overhead measurement benchmark, realized by Sphinx and Perfsuite, to collect system profiles. Finally, we propose a performance evaluation measurement to identify communication and computation efficiency. We describe our underlying framework, the performance model, and show how our tool can be applied to a sample code.3. Detailedly described the process of design Hybrid parallel program and the method of experimental analysis by a idiographic example. The results reveal the reasonable of the research work. The appearance of Multi-Core architecture greatly speeds up the development of SMP Cluster. Multi-Core CPU could be treated as a simple SMP. Naturally instead of the Single-Core CPUs, embedded the Multi-Core CPUs into the SMPs will make the more complicated Multi-Core SMP Clusters. The rising complex architecture has already turned into the most cost-effective solution for in spite of the large scale scientific research applications and the server of for enterprise. This paper views the program model and optimization of the Multi-Core SMP Cluster.

Table of contents

Abstract 5-6 Abstract 6-10 Chapter 1 INTRODUCTION 10-17 1.1 Background and Current Situation 10-14 1.1.1 parallel hardware architecture 10-12 1.1.2 parallel program design model 12-14 1.2 Parallel calculation of the critical issues facing the 14-15 1.3 This paper studies the content and organizational structure 15-17 Chapter 2 SMP cluster-based hybrid parallel programming model 17-28 2.1 hybrid model 17-23 2.1.1 Implementation Mechanism 18-20 2.1.2 parallelization granularity 20-22 2.1.3 circulation selected 22-23 2.1.4 the number of threads to determine 23 2.2 mixed program optimization 23-24 2.2.1 optimization measures 23-24 2.2.2 OpenMP MPI problems that need attention 24 2.3 hybrid programming model implementations 24-25 the of 2.4 hybrid programming model advantages 25-27 2.5 Summary 27-28 Chapter 3 SMP cluster performance evaluation model 28-37 3.1 performance evaluation model 29-30 3.1.1 Communication Model 29 3.1.2 calculation model 29-30 3.1.3 Communication - Calculation model 30 3.2 Improved communications - computing model 30-31 3.3 performance metrics 31-34 3.3.1 modeling framework 32-34 3.4 Case studies 34-35 3.5 Summary 35-37 Chapter 4 hybrid programming model analysis 37-48 4.1 Description 37 4.2 serial algorithm 37-38 4.3 Hybrid Parallel Algorithm Design and Implementation 38-42 4.4 dawn 4000L high-performance computing cluster system 42-43 4.5 test and results analysis 43-46 4.6 Summary 46-48 Chapter 5 Conclusions and Outlook 48-50 5.1 This work summarizes 48-49 a 5.2 further research outlook 49-50 the References 50-53 Acknowledgements 53-54 the studying for a master's degree during the academic 54

Related dissertations

  1. The Research of Multi-face Recognition Algorithm for Intelligent Video Surveillance
    ChengZhanYuan ·Wuhan University of Technology ·2013 ·Master's thesis
  2. Design and Realization of Plastic Detection MIS Based on.NET
    DuLinFeng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  3. Research on Data-driven Crosspoint-Queued on Chip Router
    WangZhen ·Shanghai University ·2013 ·Master's thesis
  4. Multi-Core Programming for Dynamic Follow-Tree Index of Full Text Search Research
    ZhangXiang ·Guangxi University ·2013 ·Master's thesis
  5. Design and Implementation of Compiler Directives for Tasks Parallelism in Message Passing Computing
    HuangMingYi ·Sun Yat-sen University ·2012 ·Master's thesis
  6. Research of Programming and Performance Optimization under Intel Many-core Architecture
    YangXiaoZhe ·Shandong University ·2012 ·Master's thesis
  7. Study on Parallel Optimizations for Transactional Memory
  8. Design and Implementation of a MD5Parallel Crack Algorithm Based on CUDA
  9. Design of Parallel Huffman Compress Algorithm Program Based on OpenMP and Multi-Core Architecture
    HuRong ·Hunan University ·2012 ·Master's thesis
  10. Research of Communication Interface for Parallel Programming on GPU Cluster
  11. The Design of Parallel Programming Simplification Based on CUDA
    Tang ·Dalian University of Technology ·2013 ·Master's thesis
  12. Research on Parallelization of Scientific Computing Kernels on Multi-core Platform
    Yang ·Zhejiang University ·2012 ·Master's thesis
  13. The Program Parallelization Method for Multi-core Platform
    HuangChunMing ·Zhejiang University ·2012 ·Master's thesis
  14. Design of Real-Time HD Transcoder Based on TILERA Many-Core Processor
    YeChaoMin ·Shanghai Jiaotong University ·2013 ·Master's thesis
  15. Research on Parallel Computing Algorithm for Long Span Self-Anchored Suspension Bridge Structure and the Behavior of Main Beam under Dead Load
    DuYaGuang ·Southwest Jiaotong University ·2013 ·Master's thesis
  16. The Design of Parallel Algorithm of Remote Sensing Images Based on JPEG2000
    LeiMing ·Hunan University ·2012 ·Master's thesis
  17. Research and Implementation of Distributed Parallel Map Matching System
    WuWei ·Central South University ·2012 ·Master's thesis
  18. The Parallel Computing of KdV Equation and ZK Equation Based on Group Preserving Scheme
    YaoJia ·Lanzhou University ·2012 ·Master's thesis
  19. Parallel Solution of Finite Element Equations Using Multi-color SSOR-PCG
    XuHeWei ·Yangtze River Scientific Research ·2012 ·Master's thesis
  20. Research on Multi-core Architecture and Prototype Implementation Technology of Multi-Processor System-on-Chip and Network-on-chip
    DuGaoMing ·Hefei University of Technology ·2007 ·Doctoral dissertation