Research and Implementation of Thermal Aware Scheduling Algorithm
- Author
- XiaLiang
- Advisor
- ZhuYongXin
- School
- Shanghai Jiaotong University
- Major
- Computer System Architecture
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 61
- Citations
- 2
Abstract
With the increasing power consumption of today’s processors, chips met a limiting factor to attainable performance. High operating temperature impairs the performance, reliability and lifetime of the processors. Current processors mainly use dynamic voltage and frequency scaling to alleviate the power and temperature issues. However, these mechanisms have the disadvantage of high cost and are not flexible. In the view of software, an OS level scheduling can reduce power consumption more effectively.The worldwide research methods of thermal aware scheduling can be classified into two groups, including performance counter based method and sensor based method. The former one calculates current power and temperature of the processor through sampling the internal counters of CPU, thus deciding how to schedule. The latter one may conclude the scheduling directly through the temperature readings from sensors. Moreover, these two methods can be carried out cooperatively.The thesis puts forward thermal aware scheduling algorithms on a multicore processor, which uses sensor based method, including round robin algorithm and threshold based algorithm. These two algorithms are both implemented in Linux kernel. Round robin algorithm regularly rotates tasks to each core in order to balance the temperatures of both cores, thus reduces peak temperatures on each core. The threshold-based algorithm migrates hot task from a hot core to a relatively cooler core so as to obtain lower temperature. The results show that these new algorithms have reduced the temperatures of the processor, which compensates the lack of thermal management of Linux baseline scheduler. What is more, the throughputs of new algorithms are hardly affected.
Table of contents
Abstract 4-5
ABSTRACT 5-8
first chapter 8-15
1.1 Background 8-9
1.2 research status 9-12
1.3 LINUX operating system 12-13
1.4 of this article organizational structure 13-15
Chapter II of the basic theory of process scheduling 15-20
2.1 scheduler 15-16
2.2 traditional scheduling algorithm 16-18
2.2.1 FCFS 16
2.2.2 timeslice round-robin scheduling 16
2.2.3 shortest process priority 16-17
2.2.4 shortest time remaining 17
2.2.5 feedback queue 17-18
2.3 real-time system scheduling 18-19
2.4 This chapter Summary 19-20
Chapter temperature-aware software scheduling method 20-24
3.1 based on hardware performance counter 20-22
3.2 sensor-based method 22-23
3.3 This chapter Summary 23-24
Chapter LINUX kernel process scheduling 24-38
4.1 LINUX process 24-26
4.2 LINUX scheduling strategy 26-28
4.3 LINUX scheduler data structures 28-30
4.3.1 run queue 28-29
4.3.2 The priority of a group 29-30
4.4 LINUX scheduler 30-33
4.4.1 master scheduler 30-31
4.4.2 clock counting procedures 31
4.4.3 load balancing procedures 31-33
4.5 kernel development difficulties 33-37
4.5.1 doubly linked list 33
4.5.2 concurrent access mechanism 33-35
4.5.3 debug and log information 35
4.5.4 of the old and the new kernel to switch 35-37
4.6 This chapter Summary 37-38
the
scheduling algorithms Design and Implementation 38-59
5.1 a small amount of process migration algorithm 38-43
5.1.1 single migration process design and implementation 38-41
5.1.2 dual processes interchangeable design and implementation 41-42
5.1.3 efficiency assessment 42-43
5.2 rotation scheduling algorithm 43-53
5.2.1 algorithm design 43-45
5.2.2 algorithm to achieve 45-50
5.2.3 on the realization of the discussion 50-51
5.2.4 any more than the process of round-robin scheduling 51-53
5.3 temperature threshold-based scheduling algorithm design and realization 53-58
5.3.1 algorithm design 53-55
5.3.2 algorithm to achieve 55-58
5.4 This chapter Summary 58-59
Chapter VI experimental program and results analysis 59-77
6.1 test program 59-62
6.1.1 SPEC CPU2000 59-61
6.1.2 Mibench 61
6.1.3 Netbench 61
6.1.4 Mediabench 61-62
6.2 temperature acquisition 62-64
6.2.1 Core Temp 62
6.2.2 gkrellm 62-63
6.2.3 kernel which read the temperature 63-64
6.3 experimental program 64-69
6.3.1 test program select 64-65
6.3.2 test program classification 65-69
6.4 Experimental test results 69-73
6.5 Analysis of 73-76
6.5.1 processor temperature 73-74
6.5.2 overhead and delay 74-76
6.6 Chapter Summary 76-77
Chapter VII Summary and Outlook 77-78
Chapter VIII References 78-81
IX Acknowledgements 81-82
10 academic and scientific research directory 82-84
Related dissertations
- The Research on Scheduling System of Linux Operating System
- Self-Tuning Data Prefetcher for Embedded System
- Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
- Fabrication and Transmission Property Research of Photonic Crystal Fiber
- Design and Supermode Analysis of Seven-core Photonic Crystal Fiber
- Research of the Photovoltaic Convergence Monitoring System Based on ARM
- Heterogeneous Platform Research Based on Streamit Compiler
- Design and implementation of a hierarchical MapReduce model based on multi-core clusters
- Design and Implementation of Multicore Simulator Based Dataflow Execution
- Research on Technology of Managing Shared Memory in Multicore Operating Systems
- Operating System Scheduling for Multicore Processors
- Research and Implementation of Linux-based Multi-core Parallelization on XviD Encoding
- Research on Process Scheduling Algorithm Based on Multi-core Processors
- Cache Optimizations and Parallel Simulation for Multi-threaded Workloads
- Hierarchical virtual bus cluster structure of the interconnection network design and research based on
- Research and application of parallel algorithm in AOI system
- Synchronization-Aware Energy-Efficient Scheduling Algorithm in VFI-Based Multicore Real-Time Systems
- Model Complexes of Manganese-Containing Metalloenzyme: Studies on Synthesis, Structure and Properties of Mn(Ⅲ),Mn(Ⅳ) and Mixed-Valence Multnuclear Manganese Complexes
- Performance Optimization on Multicore Transactional Memory Architecture Supporting Speculative Parallelization
- One Dimensional Functional Nanomaterials by Electrospinning Technique and Their Property