Research on Optimization of Parallel Programs for Embedded Multicore System

Author
WangQing
Advisor
JiZhenZhou
School
Harbin Institute of Technology
Major
Computer System Architecture
Classification
TP314 Compiler,interpreter
Degree
Doctoral dissertation
Year
2013
Downloads
10
Citations
0

Request the full text

Abstract

Low-power computing is the primary objective for the traditional embeddedsystem design. However, with embedded computing-intensive applicationscontinuing to expand, performance requirements, power consumption requirementscontinuing to increase, embedded systems have recently turned to high-performanceembedded computing (HPEC). In order to face the situation of increasingcomplexity in embedded applications, chip multi-processor (CMP) can be used asan effective solution for high-performance embedded computing. It combines somemoderate performance processing cores to improve the energy efficiency. And italso makes use of high task-level parallelism or thread level parallelism to improvethe whole performance of the applications. In the embedded computing field, howto take full advantage of CMP which brings high-performance and low-powertechnology in the embedded multicore platform is becoming a great challenge forparallel applications.Low-power consumption and high performance are the core issues in theembedded multi-core systems. However, if we can not make full use of the on-chipmulti-core technology and applications to the parallel computing, it will causenegative impact for the performance of a variety of applications, and result in wasteof resources and energy. This situation is intolerable in the embedded field, wherethe resources and energy consumption is critical. Therefore, for embeddedapplications, the design and implementation of high-performance and low-powerparallel computing are one of core issues whether the embedded multicore systemcan be used widely.For these reasons, this thesis takes the in-depth analysis of the current high-performance embedded computing, and focuses on the design of parallel compiler inembedded multicore platform and the methods of parallel optimization. The maincontributions and technological innovation are as follows:First, an OpenMP parallel compiler framework for the embedded multi-coreplatform is proposed. And an OpenMP parallel guidance statement is extended forOpenMP parallel programs optimization on this basis. This compiler is a source-to-source compiler for embedded multi-core platform based on the shared memoryparallel programming model OpenMP. It is designed and implemented in the eCosembedded system. On this basis, an optimization algorithm based on the embeddedmulticore hierarchical storage structure is proposed for the OpenMP parallel loops.Then the OpenMP loop parallel guidance statement: tiling is extended for theembedded multicore platform. The availability and performance of the extended statement is verified by experiments.Second, a run-time dynamic optimization framework for the parallelapplications on the embedded multi-core systems is proposed. Continuing toincrease the number of running threads for multi-threaded parallel programs whichare affected by the factors in bandwidth, data competition and data impropersynchronization, may result in performance degradation for the applications. Thisthesis presents a performance analysis model based on the parallel programstructure. This model divides the parallel programs into fully parallel sections andthe critical sections. This framework can gain the number of threads when parallelapplications have the best performance by the dynamic analysis at runtime. In orderto reduce the waste of performance and energy which is caused by the unbalancedload among the threads, this thesis also proposes the dynamic scheduling methodbased on the runtime framework. This method is used to select the properscheduling scheme dynamically for the the parallel loops and adjust schedulingchunk size to achieve a balanced performance based on the load status amongthreads. This runtime optimization framework based on embedded multicoreplatform is validated and evaluated. The experiments show that this runtimeoptimization framework is suitable for parallel applications on embedded multicoresystems to improve performance.Third, a low-power execution model based on multithread load imbalance forthe parallel programs is proposed. In order to avoid the waste of energyconsumption in embedded multicore platform due to load imbalance of parallelthreads, this thesis first analyses the load of parallel threads performance, combinesthe dynamic voltage and frequency scaling (DVFS) technique, and proposes a low-power model for multithread execution. Then, this thesis also proposes an algorithmfor controling frequency which threads executed at based on this low-power model.The run-time system can dynamically adjust the thread operating frequencyaccording to the load imbalance situations of the parallel threads. This algorithmcan reduce the energy consumption without affecting the performance of the parallelprograms. Finally, this model is validated on simulation-based embedded multi-coreplatform. The experiments show that the proposed low-power execution model cansave an average of13%of the energy consumption for parallel applications onembedded multicore platform with the case of the2.2%loss of performance.Fourth, this thesis proposes a feedback DVFS method based on the energyefficiency. According to the characteristics of parallel applications, this thesisimplements a feedback framework guiding DVFS based on energy efficiency. Thismethod takes the performance and energy consumption into account. So this thesistakes the energy-delay product (EDP) as the main metrics, and determines the per-core DVFS level at the beginning of parallel programs running. Without affecting the performance of applications, this method and reduce energy consumption andimprove energy efficiency. Finally, the feedback DVFS is validated and evaluatedby experiments.

Table of contents

Summary 3-5 Abstract 5-8 directory 8-14 Chapter 1 Introduction 14-38 <br / > 1.1 research background 14-15 1.2 research purpose and significance of 15-16 1.3 research status at home and abroad in this direction and analysis 16-36 1.3.1 -chip status quo and development trend of multi-core processors 16-19 1.3.2 CMP -based high-performance embedded computing research status 19-23 1.3.3 Status embedded multicore parallel optimization technology research 23-34 1.3.4 current issues and new high-performance embedded computing technology papers are facing major research structure 34-36 1.4 papers OpenMP 36-38 Chapter 2 embedded multicore systems for parallel compilation and optimization studies 38-61 2.1 Introduction 38 2.2 related research background 38-39 2.3 embedded multicore systems 39-41 2.3.1 embedded multicore memory hierarchy structure parallel Programming 39-40 2.3.2 embedded multicore under 40-41 OpenMP 2.4 embedded multicore parallel compilation under 41-50 OpenMP compiler for embedded multicore architecture 2.4.1 under 42-45 2.4.2 OpenMP compiler implementations on embedded systems eCos is 45-50 under 2.5 embedded parallel multicore optimization 50-59 2.5.1 OpenMP loop block based optimization algorithm 50-51 2.5.2 OpenMP for embedded multicore guided statement expansion 51-56 2.5.3 Cache structure embedded multicore parallel to optimize the performance impact analysis 56-59 2.6 Summary 59-61 Chapter 3 based on embedded multicore runtime performance of dynamic optimization studies 61-80 3.1 Introduction 61 3.2 related research background 61 - 62 3.3 embedded multicore parallel programming system under analysis 62-66 3.3.1 parallel program structure 62-63 3.3.2 -based parallel program structure performance analysis model 63-64 3.3.3 performance analysis of parallel threads 64-66 3.4 embedded multicore optimized runtime system framework 66 <br / > 3.5 runtime thread optimization strategy 66-69 3.5.1 assessment 67-68 3.5.2 evaluate verification and performance analysis 68-69 3.6 runtime thread scheduling policy 69-79 3.6.1 scheduling strategy affect 70-71 3.6.2 scheduling policy on performance 71 -73 3.6.3 scheduling policies affect the load imbalance degree 73-75 3.6.4 adaptive scheduling algorithm 75-77 3.6.5 experiments and data analysis 77-79 3.7 Summary 79-80 Chapter 4 based on low -power embedded multicore thread load optimization studies 80 -99 4.1 Introduction 80-81 4.2 related research background 81-82 4.3 thread load analysis 82-86 4.3.1 embedded multicore parallel threads under load 82 4.3.2 thread load forecasting 82-86 4.4 low-power optimization model 86-91 4.4.1 energy analysis 86-87 4.4.2 The basic idea of ??the implementation of low-power 87-89 4.4.3 low-power execution model 89-91 4.5 methods to achieve low power consumption 91-95 4.5.1 runtime system design 91-92 4.5.2 thread load energy optimization algorithm 92-93 4.5.3 optimized for low-power hardware implementation 93-95 4.6 experiments and data analysis 95-97 <br / > 4.7 Chapter Summary 97-99 Chapter 5 feedback embedded multicore dynamic voltage and frequency adjustment method based on energy efficiency 99-110 5.1 Introduction 99 5.2 related research background 99-100 5.3 DVFS thread-based load analysis 100 5.4 DVFS embedded multicore architecture 100-102 5.5 feedback DVFS design 102-104 5.5.1 feedback DVFS framework 102-104 5.5.2 calculate DVFS stalls 104 5.6 feedback DVFS framework to achieve 104-106 5.7 experiments and data analysis 106-109 5.7.1 embedded multicore system configuration 106 - 107 5.7.2 program load impact analysis 107 5.7.3 energy Efficient (EDP) analysis 107-109 5.8 Summary 109 - 110 conclusion 110-112 References published during 112-129 pursue a degree academic 129-131 Thanks 131-132 CVs 132

Related dissertations

  1. Design and Research of the Display Control Mechanisms for Multi-source
  2. Research of Low Power Vehicle Detection Technology Based on Mangneto-resistive Sensors
    WangZuo ·Zhejiang University ·2014 ·Master's thesis
  3. Parallel Hybrid PVS Algorithm Based on OpenMP and its Application
    ZouJing ·Hunan University ·2012 ·Master's thesis
  4. Study of Multicore-based Parallel Algorithm for Constructing Extremal Graphs
    ZhengRuiJun ·Beijing Jiaotong University ·2014 ·Master's thesis
  5. Researches on On-chip Parallel Data Access Techniques for SIMD DSPs with Very Wide Data Path
  6. Critical Circuit Design of High-speed Low-power EEPROM Based on0.18μm CMOS Technology
  7. The Research of Shared CMP Cache Management
    XuZuo ·Hunan University ·2013 ·Master's thesis
  8. Design and Implementation of Emergency Handheld Terminal
  9. Design and Implementation of the Wireless Sensor Network Based on TinyOS
    FanRuiZuo ·Tianjin University ·2012 ·Master's thesis
  10. A Research of Power Optimization on Mobile Embedded Device Based on Context Awareness
    ChenDongQi ·Northwestern University ·2013 ·Master's thesis
  11. Study on Wireless Information Transmission Module and Its Key Technology
    WangRuoKun ·Beijing Jiaotong University ·2014 ·Master's thesis
  12. Parallelizing Research and Implementation of Speech Recognition
    SongGuangJie ·Northeastern University ·2010 ·Master's thesis
  13. Electronic Shelf Label System Design with Low Power Consumption
  14. Low-Power Physical Design for a14-bit DEM D/A Converter
  15. Besign of Low-power Flio-flops Based on65nm CMOS Process
    XiangGuangPing ·Zhejiang University ·2013 ·Master's thesis
  16. Design of Multi-mode Switching Controller
  17. Key Technologies of Low Voltage Low Power Power Management in Portable Medical Electronic Devices
    ChenMingYang ·Zhejiang University ·2013 ·Doctoral dissertation
  18. Research on Low-Power Photovoltaic Grid-Connected Inverter
    AnJing ·Beijing Jiaotong University ·2014 ·Master's thesis
  19. Research and Design on Switched Reluctance Drive System of Small Power and Wide Speed Range
  20. Designe of Pressure Management System's Controller Based on MSP430Microprocessor
    SuCanHui ·Hunan University ·2013 ·Master's thesis