Research on Performance Analysis and Optimization Techniques for Scientific Programs

Author
CheYongGang
Advisor
LiXiaoMei , WangZhengHua
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2004
Downloads
455
Citations
14

Request the full text

Abstract

As an important means to solve the problem of large-scale computing, high-performance computing becomes more widely applied to various fields of science and engineering. With the development of high-performance computing, high-performance computers are emerging and are widely used and continuously improve the machine's peak performance. The sustained performance of the actual application, however, did not improve as the machine's peak performance proportionately increased both the widening gap. Program performance optimization is one of the effective ways to solve the problem, academia and industry and a high degree of concern. Factors affect program performance due to the increasingly complex machine architecture and structure of the program, more and more complex, non-linear interactions between various factors, program performance analysis and optimization faces many challenges. The paper focuses on optimize program performance scientific computing, the fundamental goal to shorten the gap between actual program performance machine peak performance in program performance optimization parameter selection, testing and analysis of program performance, and actual program performance optimization aspects of the in-depth study. The main work of this paper include: (1) The proposed program reduction transformation (Program Reduction Transformation) method, in order to reduce the overhead of the execution-driven parameter selection, the establishment of a corresponding reduction in transformation theory, and found several scientific computing program legitimate reduction transformation. Reduced transform a significant reduction in the time required to evaluate each parameter in the parameter selection quality is essentially the same premise, to expand the scope of execution-driven optimization parameter selection. (2) for the deficiencies of the the enumeration search with iterative compilation, performance parameters selection procedures based on the limited implementation of the genetic algorithm (Genetic Algorithms) Framework (Limited Execution and Genetic Algorithms based optimization parameter selection, the Lega). Lega reduced transformation to reduce the time of the evaluation of each candidate parameter, use efficient genetic search engines in (Execution-Driven and Genetic Algorithms based Optimization Parameter Search Edga) rapid global search, and by the parameters of the process to avoid repeated pretreatment with local compilation process. Experiments show that on all three platforms, the optimized parameters of the Lega to select quality better than the typical model-based algorithm DAT overhead significantly less than the iterative compilation method and platform adaptive advantage. (3) for the existing lack of performance testing software, designed and implemented a performance testing software for scientific computing program based on hardware performance counters PTracker (Performance Tracker). It is not only able to easily access the program performance data, and through automatic analysis to reflect program in memory access, instruction-level parallelism (Instruction-Level Parallelism, ILP) development of high-level features comprehensive data. (4) based on the reuse and development of the cross-nested loop Jacobi iterative method for solving local program storage, the method compared with Time Skewing New Tiling maintain procedures coarse-grained parallelism advantages. The numerical results prove the effectiveness of this method. (5) a CFD business program LM3D comprehensive stand-alone performance optimization, so that the parallel version of the program to 64 processors in a domestic MPP machine machine efficiency of 41.15%. (6) the use of dynamic testing method, a typical application based on the performance characteristics of the Intel P4 PC, in-depth analysis, obtained some of the architecture program performance optimization useful conclusions.

Table of contents

Summary 9-10 ABSTRACT 10-12 first chapter 12-29 § 1.1, Introduction 12-17 < br /> 1.1.1 High-performance computer architecture 12-16 1.1.2 the scientific computing facing performance issues 16-17 § 1.2 program performance optimization status quo 17-23 1.2.1 related concepts and terms 17-19 1.2.2 Storage Optimization Research 19-21 1.2.3 ILP optimization Research 21 1.2.4 storage and ILP optimization of combined with research status are found; 21-22 1.2.5 several research hotspot 22-23 1.2.6 academic institutions, publications and conferences 23 § 1.3 application performance testing and analysis of the status quo nbsp 23-25 ?? the 1.3.1 application performance testing techniques; 23-25 ?? 1.3.2 program performance analysis technology 25 1.3.3 related academic journals and conference 25 § 1.4 of this paper studies the content and research contributions 25-27 1.4.1 Problems and research the research contributions 25-26 1.4.2 26-27 a few 1.4.3 point instructions 27 to § 1.5 article arrangements to select 27-29 second limited implementation and program performance of the genetic algorithm-based optimization parameters 29-64 § 2.1 issues raised 29-33 2.1.1 cycle block are found; 29-30 2.1.2 array Padding 30-31 < br /> 2.1.3 loop unrolling to § 2.2 existing work and problems 31-33 33-38 the 2.2.1 already working 33 - 35 2.2.2 Problems 35-38 § 2.3 limited implementation of the genetic algorithm-based optimization parameter selection framework Lega 38-54 2.3.1 problem formal definition 39 2.3.2 the Lega the overall framework for process 39-40 2.3.2 parameterization 40-41 2.3. the 3 program reduced transform the parameters search algorithm Edga 41-49 2.3.4 execution driven 49-54 § 2.4 Results and discussion are found; 54-63 < br /> 2.4.1 experimental platform 54 2.4.2 genetic search process converges 54-55 the 2.4.3 platform self-adaptive 55-57 2.4.4 with DAT and iterative compilation parameter selection quality the overhead parameter selection 2.4.5 57-60 60-63 § 2.5 of this chapter Summary 63-64 2.5.1 main job 63 2.5.2 Review of methods 63-64 hardware-based performance monitor program performance testing and analysis 64-77 § 3.1 Introduction 64-68 3.1.1 program performance data acquisition method 64-66 3.1 .2 hardware performance monitoring principle and the hardware and software technology the 66-68 § 3.2 based on program performance testing and analysis software for hardware counter PTracker 68-73 3.2.1 P6 Series processor hardware the performance monitoring WinPAPI the 68-69 3.2.2 PTracker, design ideas 69 the 3.2.3 PTracker the structure and achieve 69-70 3.2.4 PTracker several test mode 70-71 in 3.2.5 PTracker of data analysis 71-73 the § 3.3 PTracker application instance 73-76 3.3.1 matrix multiplication program optimization 73-75 3.3.2 the SPEC CPU2000 the part floating point application performance characteristics analysis 75-76 <br / > § 3.4 Chapter Summary 76-77 Chapter the JACOBI iterative procedure storage locality optimization and analysis 77-89 § 4.1 Introduction 77-78 the § 4.2 three optimization methods overview 78-82 4.2.1 InterNest 78-79 4.2.2 TimeSkew 79-80 4.2.3 NewTile, the § 4.3 performance analysis 80-82 82-86 4.3.1 Assuming marked 82 4.3.2 overhead composed 82-83 the 4.3.3 program's cache hits the 83-84 4.3.4 communication overhead 84-85 4.3.5 time overhead 85-86 § 4.4 Results and discussion are found; 86-88 § 4.5 Chapter Summary 88-89 first the five chapters CFD business program LM3D performance optimization 89-98 § 5.1 Introduction 89-90 § 5.2 optimization and process 90-94 <br / > 5.2.1 program time Profiling the 5.2.2 program transformation 90-91 91-92 5.2.3 key input values ??embedded 92-94 § 5.3 Experimental results and analysis the 5.3.1 experimental set 94-97 94 5.3.2 Experimental results 94-97 § 5.4 Chapter Summary the 97-98 Chapter analysis based on the hardware counter MPEG4 video application performance characteristics 98-106 § 6.1 Introduction 98 § 6.2 work 98-99 § 6.3 methods are found; 99-101 6.3.1 target platform 99-100 6.3.2 MPEG4 video Application 100 6.3.3 experiment 100-101 § 6.4 Experimental results and analysis 101-105 6.4.1 Directive proportion 101-102 6.4.2 instruction execution rate are found; 102 the 6.4.3 cache does not hit the rate 102-103 6.4.4 memory bandwidth requirements 103 6.4.5 program balance the 103-104 6.4.6 branch prediction affect the rate of 104 6.4.7 Performance 104-105 § 6.5 Chapter Summary 105-106 Chapter VII of the research work Summary and Outlook are 106-108 the § 7.1 This article studies the work of summed 106 § 7.2 Research Prospects 106-108 pursuing doctorate during the published papers 108 participate during PhD research work 108-109 the Acknowledgements to References 109-110 110-120 the PAPI parameters used in Appendix A of this article, the meaning 120

Related dissertations

  1. Research on Code Optimization Combining Empirical Search and the Analytical Model
  2. The Follow-up Study and Performance Analysis of Rural Credit Union Funds
  3. The Empirical Analysis of the E-banking Performance of Commercial Banks Based on DEA
    LiLing ·Anhui University ·2014 ·Master's thesis
  4. Research of Training Requirement Analysis at CJ Company
    LiXiangLiang ·Northwestern University ·2013 ·Master's thesis
  5. The Case Study on Hongda High-tech Acquiring Baijin
  6. Research on the Shareholding Cooperative System Reform of Rural Collective Assets of Lin’an City
    FanQingQing ·Zhejiang Forestry University ·2013 ·Master's thesis
  7. The Logistics Center Location Planning of Tralin Group Straw Supply
    ZhouXuan ·Nanjing Agricultural College ·2013 ·Master's thesis
  8. Research on Elevator Group Control System Scheduling Policy and Simulation Design
  9. Study on MDF Continuous Press Position Servo System Modeling and Intelligent Control
    HuangXiaoZhou ·Northeast Forestry University ·2013 ·Master's thesis
  10. Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
    LuLi ·Zhejiang University ·2013 ·Doctoral dissertation
  11. Closed-loop Subspace Identification and Optimal Test Signal Design
    LinWenYi ·Zhejiang University ·2014 ·Master's thesis
  12. Configuration Synthesis and Perforance Analysis of a6-dof Master Robot
    JiShuFang ·Hebei University of Technology ·2013 ·Master's thesis
  13. Modeling, Optimation and Control of Reconfigurable Modular Robot
    WuWenQiang ·South China University of Technology ·2013 ·Doctoral dissertation
  14. The Design of Quadruped Robot with Series-parallel Connection Leg
    FangYang ·Yanshan University ·2013 ·Master's thesis
  15. Study on Modeling and Optimizing of Supply Chain Multi-time Periods Integrated Plan Under Uncertain Environment
    ZhuYanBo ·Northeastern University ·2013 ·Master's thesis
  16. Research and Application on the Hybrid Colony Algorithm
  17. The Research and Application of Shuffled Frog Leaping Algorithm Based on Average Value
    SongLei ·Gansu Agricultural University ·2013 ·Master's thesis
  18. Research on Production Scheduling Problem Based on Order Disturbance
  19. Decision and Analysis of Metallurgical Products Price Based on Artificial Neural Networks
  20. Modified Shuffled Frog Leaping Algorithms and the Application of Multi-objectives Optimization
    WangZuoRan ·Gansu Agricultural University ·2013 ·Master's thesis