Research on Green Demands of Embedded System Oriented Compiling Technique
- Author
- ChenYong
- Advisor
- HeYanXiang
- School
- Wuhan University
- Major
- Computer Software and Theory
- Classification
- TP314 Compiler,interpreter
- Degree
- Doctoral dissertation
- Year
- 2013
- Downloads
- 62
- Citations
- 0
Abstract
As the widely popularization and application of portable smart embedded devices, the quality of people’s life has been greatly improved. However, it makes the problems of resources and environments get worse. The green demands with the target of low energy and low pollution has become the inevitable choice for sustainable development of modern society.To reduce the energy consumption of embedded systems, improve the utilization of various resources, and reduce unnecessary equipment wear and tear for reducing e-waste and other harmful substances emission rates, on the one hand, we need to improve the materials and manufacturing of hardware devices. On the other hand, suitable software optimizations are also needed to maximize the effectiveness of various low-power hardware devices to meet the growing demand for green. As the software development and language translation tools, compiler can not only apply the suitable optimizations to guide the generated program has a high green indeicators by combining the specific embedded system hardware characteristics, but also help the programmer find the green-related errors such as energy bug as early as possible by using the analysis results form the program translation. It can improve the software quality and reduce resource and energy consumption by testing and debugging. To optimize the software systemically and automatically, compiler is one of best selection.However, tranditional compilers mainly focus on the performance of software and fewer consider the green factors such as energy and utilization of resource. Performance optimization and green optimization are not always the same. Performance optimization often needs to sacrifice the green targets that need more registers and higher processor’s voltage to increase the running speed. We cannot simply apply the traditional optimization methods to get the green factors improved. Secondly, the traditional auxiliary information supplied by compiler mainly concentrated on programming language syntax errors and other security related information such as null pointer, array bounds and other functional errors. The green related errors such as energy bug are often, not functional errors, the information given in the traditional compiler is useless for the detection of such errors, so the new detecting methods needed to further studied. To compensate for the drawback of traditional compiler in green optimization, the paper analyzes the green demands of embedded systems and optimizes the software in compiling processes to meet the growing demand for green such as getting low energy consumption, balancing the utilization of varied resources to increase the resources utilizations. The mainly contents and innovations are as follows.1. Combining with green related conception and the functional of compiler itself, it gives the definition of green compiler and illustrate the mainly objection of optimizations and features. Then, the formal green evaluation model is described according to the definition to effectively guide the green compilation optimization.2. To maximize the energy efficiency of timing speculative processor, reduce the timing errors caused by forwarding, a data dependency based green evaluation factor is constructed and a game model based instruction scheduling method is proposed. It formalizes the instruction scheduling to strategies selection in game model and increases the clock cycle of read-after-write dependency that can reduce the forwarding to improve the power efficiency of timing speculative processor. And for bus system by bus-invert coding, the invert information based green evaluation model is constructed and a feedback guided instruction scheduling method is proposed. It combines the characteristical of bus-invert coding and dynamic feedback profiling information to reduce the frequency of buses and also balance the inverts between buses which can improve the green indicator significantly.3. Different data assignment strategies significantly influence the utilization of storage resourses and also total energy. In order to further improve the green indicator of the system, memory hierarchy characteristics and green related factors of memory are analyzed. Based on the green evaluation model, the exchangeable class instruction reordering optimization method, extended graph coloring register reallocation optimization method and stack data reallocation method are designed to reorder the memory cells and registers in the backend of compiler. It can obtain a more balanced access frequency to registers and stack memory cell, reduce the dynamic power of instruction data bus invert. Meanwhile, to further improve green indicators of the system, the iterative optimization on the first two optimization method is applied which makes the utilization of registers get more balanced and dynamic energy get lower.4. In order to improve the green quality of software, reduce the energy consumption caused energy bug, the paper concludes the characteristics of energy bugs, and designs the energy bug detection and location methods combined with the symbolic execution technology. It firstly analyzes one single function to get its symbolic execution information. And then based on the single function symbol information, the interprocedural analysis is processed to obtain the global accurate execution overhead, lock variable matching and other related information to detect the corresponding energy bugs. Meanwhile, the symbolic execution records corresponding branch path information. It can not only be used to generate the corresponding test cases, and also to locate the position of errors combined with constraint solver which helps to develop the high green indicator software.
Table of contents
Abstract 9-11
ABSTRACT 11-14
Chapter 1 Introduction 14-32
1.1 Background 14-16
1.1.1 green needs of the importance of modern embedded systems importance 14-15
1.1.2 compiler optimized for embedded software green 15-16
1.2 domestic and foreign research status research green optimization techniques 16-29
1.2.1 for the bus system 16-21
1.2.2 for green storage system optimization techniques Research 21-25
1.2.3 of Green optimization techniques for processors 25-27
1.2.4 software test automation and energy commissioning research 27-29
1.3 The main innovation 29-30
1.4 organizational structure 30-32
Chapter 2 green green compile and evaluate model 32 -37
2.1 compiler defines green 32-33
2.2 green assessment model 33-35
2.2.1 green compiler optimization evaluation model 34 -35
2.2.2 error detection energy assessment model 35
2.3 Chapter Summary 35-37 Directive
Chapter 3 scheduling method for embedded systems instruction scheduling method 37-71
3.1 TS processor for green indicators 37-60
3.1.1 TS processor Profile 37-39
3.1.2 Figure Game Model 39-40
3.1.3 compiler controllable green TS processor evaluation index 40-42
3.1.4 Figure Game Model instruction scheduling method 42-55
3.1.5 experiments and results analysis green instruction scheduling method 55-60
3.2 for the bus flipped encoded 60-69
3.2.1 bus green assessment model 60-61
3.2.2 bus flipped coding 61-62
3.2.3 feedback information to guide instruction oriented green bus scheduling algorithm 62-66
3.2.4 experiments and results analysis 66-69
3.3 Chapter Summary 69-71
Chapter 4 Multi- objective data distribution optimization method affect 71-94
4.1 data distribution system green indicators multi-objective optimization method of data allocation green 71-72
4.2 assessment model guidance 72-89
4.2.1 data Distribution overall optimization framework 72-74
4.2.2 exchangeable class instruction operand rearrangement optimization 74-76
4.2.3 re- register allocation method for green demand 76-85
4.2.4 green indicator for storage system stack data distribution method 85-89
4.3 experiments and results analysis 89-93
4.3.1 experimental build 89-90
4.3.2 experimental results and analysis 90-93
4.4 Summary 93-94
Chapter 5, based on the energy consumption of symbolic execution error detection and counter-example generation technology 94-113
5.1 Introduction to energy error 94-95
5.2 symbolic execution techniques 95-96
5.3 implementation of technology -based energy symbol error analysis methods 96-104
analysis nbsp energy consumption within the 5.3.1 error process ; 96-103
energy between 5.3.2 error process analysis 103-104
5.4 application examples 104-111
5.5 experimental results and analysis 111-112
5.5.1 experimental build 111
5.5.2 experimental results and analysis 111-112
5.6 chapter Summary 112- 113
Chapter 6 summary and Outlook 113-116
English reference major papers published during the 116-123
attack Bo 123 the main academic cooperation made ??during -124
attack Bo 124-125
involved in major research projects 125-126
Thanks 126-128
submit doctorate profiles table 128-129
Related dissertations
- Research on Static Instruction Mapping Algorithm of Edge Architecture
- Compiler Design of Scalable and Configurable Processors
- Study on Green Construction Theory and Construction Environmental Loads Assessment
- Key Problem Study on Configurable and Extensible Processor
- Performance Improvements for GCC Using Architecture Features on Godson Ⅱ
- Research on Instruction Scheduling for IA-64
- Ensure that Java precise exception instruction scheduling techniques
- Memory Access Optimization of ATLAS on Loongson 2F
- Research and Implementation of FT64-2 Kernel Assembler
- Optimization of Glibc on Loongson 2F
- Study and Implementation of Instruction Scheduling for Configurable TTA Compiler
- Research on Key Technologies of Custom Processor and Compiler for the Orbit Prediction of the Spatial Object