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

Request the full text

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

  1. Schedulability Analysis for Fault-Tolerant Real-Time Systems
    WangLei ·Zhejiang University ·2005 ·Doctoral dissertation
  2. Analysis of Task Scheduling for Real-time System Based on Smart Sensors
    WangZuoZuo ·Zhejiang University ·2006 ·Master's thesis
  3. Scheduling strategy on multi-core systems modeling and analysis
    ZhouHuaiYang ·Shanghai Jiaotong University ·2011 ·Master's thesis
  4. Simulation and Analysis of Schedule Strategy of Reconfigrable HW System
    GaoShuaiHong ·Northeastern University ·2008 ·Master's thesis
  5. Research on CAN Bus Communication and Application Experiments
    WangHuaWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Research on Energy-efficient Real-time Task Scheduling Algorithm Based on Multi-core Processors
    WangBin ·Harbin Engineering University ·2013 ·Master's thesis
  7. Research of Some Scheduling Problems for Asymmetric Multi-core Processors
    ChenRuiZhong ·South China University of Technology ·2013 ·Doctoral dissertation
  8. The Research on Online Hardware Task Schedule Algorithm Base-on Partial Reconfigurable Computing System
    YangZuoXing ·Hunan University ·2013 ·Master's thesis
  9. Research on Real-time Dynamic Reliability for the Mine Bulk Material Transportation System Based on Performance Degeneration
  10. Design and Implementation of an Automotive Embedded Real-Time Operating System Kernel Supporting Homogeneous Multicore
    JiangBin ·Hunan University ·2012 ·Master's thesis
  11. Research on real time task scheduling strategy for multi processor
  12. Synchronization-Aware Energy-Efficient Scheduling Algorithm in VFI-Based Multicore Real-Time Systems
  13. Schedulability Analysis in Multi-mode AFDX Network
    LuXiaoYuan ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. Real-Time Adaptive Resource Management Middleware for Next Generation Avionics and Algorithms
  15. Weakly Hard Real-Time System and Its Scheduling Algorithms
    ChenJiMing ·Zhejiang University ·2005 ·Doctoral dissertation
  16. Research on Task Scheduling of Distributed Measurement and Control System
  17. Study on Critical Technology of Embedded Real-Time Systems
    MaoJia ·Jilin University ·2004 ·Doctoral dissertation
  18. Research on the Scheduling Technology of Tasks in Real-Time Systems
  19. Research on Safety Technology of Distributed Mission Critical Real Time System
  20. Research on the Real-time Fault-tolerant Issues in Distributed System Based on CORBA--Design and Implementation of Dynamic Scheduling Scheme for Distributed System