Multicore Real-Time Scheduling Algorithm and Analysis under Cache Warm-Up Overheads
- Author
- ShengWei
- Advisor
- ZhouXueHai , LiZuo
- School
- University of Science and Technology of China
- Major
- Computer System Architecture
- Classification
- TP316.2 Real-time operating system
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 44
- Citations
- 0
- Real-time systems
- Multicore Scheduling
- schedulability analysis
- Task Migration
- cache warm-up overhead
Abstract
As the power consumption and thermal dissipation problems, researchers propose Chip Multiple Processor. Now multicore processors are not only used into general purpose computing systems, and are constantly applied into embedded systems, which are usually real-time systems. In these systems, the correctness of computation depends not only on correctness of results but also the time when the results are generated.Multicore processor brings real-time systems the efficient process ability and the complex task scheduling. In the single processor system, a general assumption is that the cache lines of a task are all in the cache. We can get its worst case execution time(WCET) with static analysis by cache hit delay. However, in the multicore processor system, there are some cores on which the caches don’t have any lines of the task. Once a task runs on these cores, its WCET will dilate due to cache warm-up overhead. It is an important problem for solving the impacts of cache warm-up overhead in multicore real-time scheduling.Schedulability analysis is an important means for real-time scheduling research. There are mainly two methods for schedulability analysis: simulation and utilization bound test. Simulation is easy to implement, but it only tests finite running paths of a system. So the result of scheduable tasksets is not reliable. Bound utilization test often gets sufficient conditions and the result is pessimistic. For the disadvantages of the two methods, model checking is utilized by some researchers for schedulability analysis. However, they don’t focus on the impact of cache warm-up overhead to schedulability analysis. For this problem, based on model checking this thesis proposes a schedulability analysis method considering cache warm-up overhead and illustrates the efficiency of this method with a classical scheduling algorithm named rate monotonic(RM).For the impact of cache warm-up overhead, there are some tasksets missing their deadlines under multicore RM algorithm. To reduce the unpredictability brought by cache warm-up overhead, some researchers propose the new hardware architecture Push Block, proactively migrating the cache lines of a task to the cache of the target core. When the task runs on the core which already has the cache lines of the task, there is no time wasting in warming up the cache of the core. However, current scheduling algorithms don’t support this architecture. For this problem, this paper is constructed on the static priority scheduling algorithm RM. Using the function provided by the new architecture, we presents three strategies and proposes a new static priority scheduling algorithm, which improves system timeliness and reduces the number of tasksets missing deadlines.In static priority scheduling, the priority of a task is fixed during the system running. This may result in a high-priority task holds a CPU for a long time and low-priority tasks have to wait. Therefore, the dynamic priority scheduling is proposed. It can change priorities of tasks in system running and improve the adjust ability to variable environments. Unfortunately, cache warm-up overhead still causes the system with the dynamic scheduling algorithm missing deadline. In addition, the current multicore dynamic scheduling algorithms don’t use the new architecture named Push Block and can’t improve the performance with this mechanism. For these problems, this thesis proposes a new dynamic scheduling algorithm based on the classical dynamic scheduling algorithm called earliest deadline first(EDF) and presents good performance through experiments.In summary, the main innovative contributions of this thesis include the three aspects,1) For the previous schedulability analyses don’t consider cache warm-up overhead, we propose an exact schedulability analysis method based on model checking and illustrates the efficiency with RM algorithm.2) For cache warm-up overhead results in the timeliness of the classical static priority scheduling algorithm RM reduces, we present three strategies and propose a new algorithm named WM-RM, which retains the performance of RM and improves the ability for adapting to cache warm-up overhead.3) For cache warm-up overhead results in the timeliness of the classical dynamic priority scheduling algorithm EDF reduces, we propose a new algorithm called WM-EDF, which improves the timeliness of a system comparing to EDF.
Table of contents
Summary 5-7
ABSTRACT 7-14
Chapter 1 Introduction 14-18
1.1 Background 14-15 < br /> 1.2 research 15-16
1.3 organizational structure of the paper 16-18
Chapter 2 to verify scheduling theory 18-30
2.1 real-time scheduling theory the 18-21 2.1.1 basic concepts
18-19
2.1.2 Real-time scheduling algorithm 19-20
2.1.3 Research 20-21
2.2 multiprocessor scheduling 21-24
2.2.1 basic concepts 21-22
2.2. 2 multiprocessor scheduling algorithm 22-23
2.2.3 Research the 23-24 2.3 multicore scheduling
24-26
2.3.1 basic concepts 24-25
2.3.2 Research 25-26
2.4 verify scheduling status quo 26-27
2.5 pre-migration hardware mechanisms 27-28
2.6 Chapter Summary 28-30
Chapter 3 considers the cache warm-up time of the exact schedulability analysis 30-54
3.1 model checking the 30-33 3.1.1 basic flow
30-31
3.1.2 Model Checking 31-33
3.2 model checking verification scheduling system 33-38
3.2.1 single processor 33-37
3.2.2 Distributed 37
3.2.3 multiprocessor 37-38
3.3 dual Nucleation schedulability analysis based on model checking 38-48
3.3.1 define and simplify 38-40 < br /> 3.3.2 model description are found; 40-45
3.3.3 validation and results analysis the 45-48
3.4 multicore under schedulability analysis based on model checking 48-52
3.4.1 simplify 3.4.2 The model described in 48-49
49
3.4.3 validation and results analysis 49 -52
3.5 Chapter Summary 52-54
Chapter 4 adapt cache warm-up time of static priority scheduling algorithm 54-78
the 4.1 issues raised 54-55
4.2 model described 55-56
4.3 algorithm design 56-73
4.3.1 dual-core WM-RM algorithm 56-70
4.3.2 multicore WM-RM algorithm 70-73
4.4 Simulation and results analysis 73-76
4.4.1 experimental program 73-74
4.4.2 Experimental results 74-76
4.5 Chapter Summary 76-78
Chapter 5, to adapt to the dynamic priority of cache warm-up time level scheduling algorithm 78-88
the 5.1 issues raised 78-81
5.2 model described 81
5.3 algorithm design 81 - 85
5.3.1 minimum relaxation time the priority strategy 81-83
5.3.2 task pre-migration priority 83-85
5.3.3 multicore WM-EDF algorithm 85
5.4 Simulation and results analysis 85-86
5.5 Chapter Summary 86-88
Chapter 6 Summary and Outlook 88-92
6.1 thesis work summarizes 88-89
6.2 innovative contributions nbsp a; 89
of 6.3 further work 89-92
Reference literature the 92-100
Acknowledgements 100-102
during reading published papers and other research results achieved 102
participated during reading research projects 102-103
Related dissertations
- Schedulability Analysis for Fault-Tolerant Real-Time Systems
- Analysis of Task Scheduling for Real-time System Based on Smart Sensors
- Scheduling strategy on multi-core systems modeling and analysis
- Simulation and Analysis of Schedule Strategy of Reconfigrable HW System
- Research on CAN Bus Communication and Application Experiments
- Research on Energy-efficient Real-time Task Scheduling Algorithm Based on Multi-core Processors
- Research of Some Scheduling Problems for Asymmetric Multi-core Processors
- The Research on Online Hardware Task Schedule Algorithm Base-on Partial Reconfigurable Computing System
- Research on Real-time Dynamic Reliability for the Mine Bulk Material Transportation System Based on Performance Degeneration
- Design and Implementation of an Automotive Embedded Real-Time Operating System Kernel Supporting Homogeneous Multicore
- Research on real time task scheduling strategy for multi processor
- Synchronization-Aware Energy-Efficient Scheduling Algorithm in VFI-Based Multicore Real-Time Systems
- Schedulability Analysis in Multi-mode AFDX Network
- Real-Time Adaptive Resource Management Middleware for Next Generation Avionics and Algorithms
- Weakly Hard Real-Time System and Its Scheduling Algorithms
- Research on Task Scheduling of Distributed Measurement and Control System
- Study on Critical Technology of Embedded Real-Time Systems
- Research on the Scheduling Technology of Tasks in Real-Time Systems
- Research on Safety Technology of Distributed Mission Critical Real Time System
- Research on the Real-time Fault-tolerant Issues in Distributed System Based on CORBA--Design and Implementation of Dynamic Scheduling Scheme for Distributed System