Implementation and Optimization of OpenMP on Heterogeneous Mutil-core Processor

Author
SunShouHang
Advisor
YangCanQun
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2007
Downloads
346
Citations
6

Request the full text

Abstract

Cell as a typical representative of the heterogeneous multi-core high-performance processor , its programming model and compiler technology in recent years has become the research focus , OpenMP support incremental parallel program development as a shared storage system, programming language , and widely used . OpenMP programming environment for the Cell processor , can reduce the difficulty of programming of heterogeneous multicore processors to improve programming efficiency . In this paper, the the OpenMP transplanted to heterogeneous multi-core processors on the need to overcome the technical difficulties , the key technologies needed for OpenMP compiler on the Cell processor to achieve a breakthrough from the abstract three aspects of the execution model , the single-source compiler technology , shared storage , and based on the the GNU OpenMP C language compiler , OpenMP compiler that supports the Cell processor , verify OpenMP can be realized in heterogeneous multicore processors . To improve performance, the compiler optimization and code overlap technology through software cache . Designed and implemented a software cache support consistency maintenance can significantly reduce latency, the OpenMP shared data access designed and implemented an automatic code partitioning algorithm can reduce the number of code block switch , effectively solve the SPE coprocessor OpenMP parallel code too large . Test the functionality and performance of the compiler . The results show that the compiler more complete support for the OpenMP C syntax OpenMP programs compiled with higher parallel speedup on the Cell processor , and at the same time ensure easy programming , more efficient use of the Cell 's parallel computing capabilities.

Table of contents

Abstract 10-11 ABSTRACT 11-12 Chapter Introduction 12-20 the § 1.1 subject background 12-14 1.1.1 multicore processors become mainstream high-performance microprocessor development 12 1.1.2 the isomorphism multicore processor and compiler technology 12-13 1.1.3 heterogeneous multi-core processors with compiler technology 13-14 § 1.2 Research 14-16 1.2.1 China Research 14-16 1.2.2 domestic research 16 § 1.3 ported to OpenMP heterogeneous multi-core processing challenges 16-18 the § 1.4 this study and innovation 18-19 the § 1.5 This paper is structured 19-20 The second chapter of the Cell processor and OpenMP parallel programming standard 20-27 The § 2.1 Cell processor 20-23 2.1.1 Overview 20-21 2.1.2 hardware environment 21 2.1.3 software environment 21-23 the § 2.2 OpenMP parallel programming standard 23-25 2.2.1 OpenMP About The 23-24 2.2.2 Execution Model 24 2.2.3 Data distribution 24 2.2.4 achieve 24-25 2.2.5 summarizes 25 the § 2.3 OpenMP on the Cell processor transplantation 25-27 2.3.1 two instruction sets the compile and parallel tasking mode 25 2.3.2 distributed storage abstraction 25-26 2.3.3 SPE local storage space constraints 26 2.3.4 runtime design 26-27 Cell processor OpenMP compiler technology 27-38 the § 3.1 execution model 27-29 3.1.1 Execution Model 27-28 3.1.2 execution sequence 28 3.1.3 Execution Model Features 28-29 § 3.2 single-source compiler technology 29-30 3.2.1 SPE program execution extraction 29-30 3.2.2 respectively compiled 30 3.2.3 to generate an executable program 30 § 3.3 shared storage abstraction techniques 30-31 the § the 3.4 OpenMP compiled achieve 31-37 3.4.1 attribute variable processing 31-34 3.4.2 special variable processing 34 3.4.3 control structure conversion 34-36 3.4.4 runtime processing 36-37 § 3.5 Chapter Summary 37-38 Cell processor OpenMP compiler optimization techniques 38-54 § 4.1 software cache technology 38-43 4.1.1 software cache technology overview 38-39 4.1.2 user interface 39 4.1.3 organizational forms 39-40 the 4.1.4 memory consistency model the synchronous operation primitives 40 4.1.5 Cache Coherence protocol 40-41 4.1.6 multi-processor support 41-42 4.1.7 discovery process 42-43 § 4.2 code overlapping technology 43-53 4.2.1 code overlap Technical Overview 43-44 4.2.2 The Cell processor, the implementation of the principle of the code overlapping technology 44-45 4.2.3 compiler support 45-50 4.2.4 assembler support 50-51 4.2.5 linker support 51 4.2.6 Partition Manager implementations 51-53 § 4.3 Chapter Summary 53-54 Chapter test analysis 54-60 the § 5.1 test environment 54 the § 5.2 Functional Test 54-56 5.2.1 test cases 54-56 5.2.2 test results and analysis 56 the § 5.3 Performance Test 56-60 5.3.1 Performance testing of the automatic code partitioning algorithm 56-57 5.3.2 software cache performance test 57-58 5.3.3 Parallel performance test 58-60 Chapter VI Conclusion 60-62 the § 6.1 summarizes 60 § 6.2 Looking 60-62 Acknowledgements 62-63 the References 63-66 authors read during the academic achievements 66

Related dissertations

  1. National defense education in Colleges and universities internal goal setting research and Implementation
    CaoXu ·Central South University ·2012 ·Master's thesis
  2. The Research on the Systyem of the Copyrigte Pledge
    ChenChangQing ·Anhui University of Finance ·2012 ·Master's thesis
  3. Guangzhou South2nd Ring Expressway Monitoring System Design and Implementation
  4. Design and Research of the Network System of Aluminum Electrolysis
    ZhangFeng ·Jilin University ·2012 ·Master's thesis
  5. Event Management and Performance Management in Network Management System Design and Implementation
    DongGuangChun ·Shandong University ·2012 ·Master's thesis
  6. The function of Ideological and political education of college work study
  7. College Students Promote Education Activities of the Value of the Ideological and Political Education and Its
    HuangWenJiang ·Guangxi University ·2013 ·Master's thesis
  8. Research on the Realization of the Right to Food and Legal Relief
  9. Study on the Core Velues of Modern China
    GaoPeiWen ·Shandong University ·2012 ·Master's thesis
  10. The Research of Marx and Engels’ Thought of Living Justice
    LiuGang ·Fujian Normal University ·2012 ·Master's thesis
  11. The Artistic Function of Film Music and the Realization of Aesthetic Values
  12. The Role of Government in the Western Economic Development
    ZhaoJing ·Northwestern University ·2006 ·Doctoral dissertation
  13. Chattel Mortgage Legal System
    LiuYuJie ·Fudan University ·2010 ·Doctoral dissertation
  14. Personal Dignity and Its Realization
    LiuJuan ·Hebei Normal ·2010 ·Doctoral dissertation
  15. A Study on the Development of the Contemporary Chinese Women
    LiuXiaoHui ·Shandong University ·2010 ·Doctoral dissertation
  16. Study on the Educational Function of Urban Green Space and Its Realization
    ZhangZuo ·Beijing Forestry University ·2010 ·Doctoral dissertation
  17. On Freedom of the Press
    ZhangJingPing ·Suzhou University ·2007 ·Doctoral dissertation
  18. GIS Construction and Application Research of Forest Disease and Pest Management of Heilongjiang Land Reclamation
    ZhangShuMei ·Northeast Forestry University ·2009 ·Doctoral dissertation
  19. The structure of the system Mechanism of sustainable technological innovation to achieve
  20. The Connotation, Actuality and Realization of the Practicalness of Philosophy of Education
    YangRiFei ·Inner Mongolia Normal ·2008 ·Master's thesis