Research on Dynamic Frequency Technology for Time-Sharing System Based on Performance-Energy Tradeoff Model
- Author
- MaoZuoZuo
- Advisor
- GongYuChang
- School
- University of Science and Technology of China
- Major
- Applied Computer Technology
- Classification
- TP302 Design and Performance Analysis
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 59
- Citations
- 0
Abstract
Just like the description of Moore’s law, along with the rapid development and popu-larization of computer system, the performance of computer system has been greatly improved in a stable speed. However, the performance-improvement-only mode for de-velopment of computer has brought some severe problems. One of them is constantly increasing of power and energy consumption, which has been an obstacle holding back further development of performance for computer.Better performance of electronic computers need bigger scale integration, but more electrical consumption. Energy is transformed into heat. Electronic components will behave abnormal and even life-shortened when temperature is high. So the cooling sys-tem is indispensable. The total energy consumption of components and cooling devices is increasing. The question about how to reduce power and energy consumption has gradually been a hot spot of current researches.Part of energy is indeed wasted by current computer systems, because they are not always in fully-loaded status. And various new technologies provide abundant methods to reduce the energy consumption. In this dissertation, we focus on the widely used time-sharing system to reduce the energy consumption of processor whose energy is domi-nant. Using dynamic voltage and frequency scaling technology and from the operating system level, we propose a complete solution for the energy consumption of computer system. Using this solution, users’ performance requirement and the tasks’instruction characteristic are all in consideration. By controlling the working frequency of CPU, a balance status between performance and energy consumption is being kept.The main research works in this dissertation include:1. By summarizing the development status of current computer system, the badness of power and energy consumption is analyzed to prove the importance of reducing it. Current research results of relative fields are introduced to explain the necessity of focusing on the time-sharing system. Through analyzing the pros and cons of various researches in different levels of computer system, we propose a scheme to control power and energy in operating system level for time-sharing system.2. A Performance-Energy-Tradeoff model (T-model for short) is proposed in this dis-sertation. By theoretically analyzing the root cause of power/energy consumption and performance latency, we find out the relationship between CPU frequency and performance/energy. To make a balance between performance and energy, we de-fine a Best Energy-saving Condition. Using the T-model, a formula to get the Best Energy-saving Frequency is deduced by further analyzing.3. Integrating into practical computer system, we propose a T-model based Dynamic Frequency Governor (TDFG for short). Using the latest technologies, the schemes of collecting information dynamically and adjusting frequency in fine-grained way are adopted in TDFG. To solve difference between theory and practice, the condi-tions of Best Frequency Distribution are found out to approximate the Best Energy-saving Frequency in discrete-frequency system.4. By adding a Frequency Management Module (FMM for short) into Linux, an in-stance is given to realize the TDFG in practical system. FMM is adapted to the framework of frequency management in Linux, and is working with its process model. Some codes are added to collect informations, compute and change the CPU frequency, then a low-overhead method to manage frequency is realized to save energy efficiently, which is also an intuitive way to control performance.5. To resolve the high threshold to do experiments in this field, we also design a sim-ple Battery based Experiment Platform (BEP for short). A serial of experiments are provided not only for validating the research results in this dissertation, but also for the demonstration of how to use BEP.The contributions and innovations of our works include:1. Propose a complete power/energy solution for time-sharing system, which has the following advantage:· Design and use the System Performance Loss to represent performance intu-itively.· Use the Best Energy-Saving Condition to define the balance status between system performance and energy consuming.· Use theoretical analysis for the first time to find the Best Frequency Distri-bution to approximate the result of best frequency.2. TDFG is indeed realized. Adding TDFG into Linux, the system have the following features:· Add an user-frendly interface to control performance.· Can optimize power and energy consumption based on the performance re-quirement. · User performance requirement is satisfied with energy farthest saved.· The TDFG in Linux is efficient and low overhead.3. A new experiment platform is proposed. The platform have the following features:· The requirement of HW/SW is low. Greatly simplify experiments in this field.· The results of energy are directly measured.· It is naturally suitable to verify the efficiency of real system.In this dissertation, through theoretical analysis, a solution to decrease the power and energy consumption of time-sharing system is proposed, and it is realized in a real operating system. The correctness and efficiency of the system are verified by some experiments.
Table of contents
Summary 5-7
Abstract 7-16
first chapter 16-28
1.1 Introduction 16-20 <br / > 1.1.1 computer system power consumption and energy issues 16-18
1.1.2 operating system, the role of energy efficiency in the system of 18-20
1.2 related technologies development Status 20-23
1.2.1 ACPI technology 20-22
1.2.2 DVFS technique 22-23
1.2.3 processor performance monitoring technology 23
1.3 thesis work 23-25 ??
1.3.1 research objectives 23-24
1.3.2 research organizational structure 24-25
1.4 papers 25-28
Chapter Two related studies 28-44
low-power 2.1 DVFS technique under / energy research 28-36
2.1.1 Real-Time System low power / energy research 28-31
2.1.2 timesharing system low power / energy consumption Research 31-36
2.2 different levels of low power / energy research 2.2.1 hardware level low power / energy research nbsp 36-41
; 36-38
2.2.2 software level low power / energy research ; 2.3 other low power / energy research nbsp 38-41
41-42
2.4 Summary 42-44
Chapter III experimental platform based battery 44-56
3.1 power / energy measurement method status quo 44-46
3.2 a new experimental platform based battery 46-49
3.2.1 experimental platform works 46
3.2.2 experimental platform specific parameters 46-48
3.2.3 experimental platform strengths and weaknesses 48-49
3.3 platform parameters measured most 49-53
3.3.1 time Measurement Method overhead 49-50
3.3.2 FM overhead 50-51
3.3.3 performance Monitor counters feature 51-52
3.3.4 cache parameters tested 52
3.3.5 system Power measurement most 52-53
3.3.6 test procedures introduced 53
3.4 Summary 53 - Chapter 56
performance trade-off model and the best energy consumption frequency theoretical analysis nbsp 56-78
4.1 performance and power / energy consumption ; 56-62 <br / > 4.1.1 program execution time model 56-57
4.1.2 performance description 57-59
4.1.3 describe the power and energy 59 - 62
4.2 energy performance tradeoff model 62-64
4.2.1 best energy-saving conditions 62
4.2.2 performance -based formal definition of energy weigh pieces 62-64
4.3 best energy-saving frequency 64-71
4.3.1 theoretical derivation 64-69
4.3.2 Conclusion subsequent analysis 69-71
4.4 experiments and results analysis 71-76
4.4.1 program time model parameter measurement 71-72
4.4.2 measured in different task performance loss 72-73
4.4.3 -power consumption measured with frequency variation 73-75
4.4.4 best energy-saving frequency verification 75 -76
4.5 Summary 76-78
Chapter FM strategy based on dynamic energy performance tradeoff model 78-92
5.1 real time-sharing system the best energy-saving frequency 78-79
5.2 dynamic information collected 79-80
5.3 grained FM under 80-81
5.4 discrete frequencies the frequency allocation 81-87
5.4.1 analysis 82-83
5.4.2 optimal frequency distribution 83-86
5.4. 3 static energy expansion 86-87
5.5 dynamic FM policy Framework 87-89
5.6 static energy expansion effect verification experiment 89-90 <br / > 5.7 Summary 90-92
Chapter VI dynamic FM policy implementation in Linux 92-114
6.1 Linux management Strategy original frequency 92 - 94
6.2 dynamic FM strategy design and implementation point 94-102
6.2.1 establish task set 94-96
6.2.2 characteristics get task instructions 96-97
6.2.3 to determine the performance loss 97-98
6.2.4 frequency Allocation 98-102
6.3 dynamic FM strategies related to critical data structure 102-104
6.4 dynamic FM strategies related key routines 104-109
6.4.1 tasks related to the operation of state switching 104-105 <br / > 6.4.2 swapped out the tasks related to the operation of 105-106
6.4.3 frequency distribution code 106-108
6.4.4 other implementations 108-109
6.5 analysis of experimental results 109-112
6.5.1 overhead analysis 109-110
6.5.2 FMM achieve the effect of 110 -112
6.6 summary 112-114
Chapter VII summary and Outlook 114-118
7.1 the main thesis work 114-116
7.2 contribute papers 116
7.3 Prospects for further work 116-118
References 118-126
Thanks 126 -128
during reading published research papers and obtained 128