The Research of Deadline-Monotonic Algorithm and the Implementation of a Real-Time Scheduling Model
- Author
- LiFei
- Advisor
- YouZhiSheng
- School
- Sichuan University
- Major
- Computer Applications
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 153
- Citations
- 1
Abstract
The real-time systems are those which not only requires the correct calculation result in the logic, and the requirements of a given system results in a given time range. Real-time task scheduling is a study of how to arrange the execution of tasks, in order to ensure that all tasks or as multi-task to meet the time requirements [Stankovic 92]. The real-time task scheduling algorithm is a key to the design and implementation of real-time systems. Deadline monotonic scheduling strategy in many real-time scheduling policy, its static optimal scheduling of nature and easy to implement broad application prospects advantages to become a pillar of the development of real-time systems. This paper discusses and research deadline monotonic technology, and a real-time based scheduling model is proposed and implemented (called real-time task scheduling), and provide a reference scheduling model for the design of real systems. The main content of this paper is as follows: ● introduces the development status of the real-time scheduling theory to analyze the strengths and weaknesses of the current popular scheduling algorithm, including static scheduling algorithm such as rate monotonic scheduling (RMS), the deadline monotonic scheduling (DMS) ; and dynamic scheduling algorithms, such as earliest deadline first scheduling (EDF), the minimum idle time priority scheduling (LLF). ● development history, from the theoretical schedulability test method, priority inversion processing aperiodic tasks handling several deadline monotonic algorithm. And algorithm of two important conclusions: Static optimality and the schedulability test methods were proven and derivation. Provides a theoretical basis for the design and implementation of real-time task scheduling. ● detailed discussion of the key design considerations and implementation of real-time task scheduling algorithm. The schedulability division of real-time tasks in real-time task scheduler will be able to guarantee the ScheduableTasks and can not guarantee the schedulability of ManageableTasks two sets, respectively, using different scheduling strategies. And real-time tasks in accordance with the arrival patterns (periodic tasks, aperiodic tasks, etc.) and the deadline type (hard deadline monotonic technology research and real-time scheduling model to achieve real-time tasks, classified fixed as of the time tasks) two dimensions discussed how to take advantage ended time monotonous algorithm processing different types of real-time tasks. The task set is divided into SeheduableTasks, and ManageableTasks of thinking, the maximization SeheduableTaskS algorithm of hard real-time tasks scheduling optimization algorithm for the author developed its own. For ManageableTasks the schedulability not predictable approach draws on the the StarBase real-time database systems [Kim97] real-time transaction scheduling policy. Discussed how to apply real-time task scheduling on a true real-time system, and pointed out the direction of further improvement of the real-time task scheduling. This article is organized as follows: Chapter 1 introduces the research background; Chapter II The third chapter describes the design considerations and the design goal of real-time scheduler, as well as the test platform QNX real-time operating system for real-time scheduling Summary and closing time scheduling theory;: Chapter elaborate on the design and implementation of real-time task scheduling details and key algorithms: Chapter Full summary and discussion of real-time task scheduling in the real system and further improved.
Table of contents
Abstract 2-3
keyword 3-4
Abstract 4-5
Keywords 5-6
catalog 6-8
1 Introduction 8-10
1.1 real-time scheduling research 8-9
1.2 Background - 10
2 real-time scheduling theory research 10-24
2.1 Overview of the scheduling algorithm the 10-12
2.1.1 based on non-preemptive scheduling of static schedule 10-11
2.1.2 the common static scheduling algorithm 11
The 2.1.2.1 rate monotonic scheduling 11
2.1.2.2 deadline, time monotonic scheduling nbsp common dynamic scheduling algorithm; 11
2.1.3 the 11-12
2.1.3.1 earliest Deadline First Scheduling 11-12
2.1.3.2 shortest, idle time priority scheduling 12
2.2 deadline monotonic scheduling research 12-15
2.2.1 an RMA the DMA the birth 12-13
2.2.2 full and necessary schedulability test method 13-14
2.2.3 priority inversion study 14-15
2.2.4 aperiodic task processing strategy 15
2.3 important conclusions of the deadline monotonic algorithm proved the 15-24
2.3.1 Deadline monotonic algorithm optimality proof 15-20
2.3.2 schedulability test method 20-24
3 a nbsp consider this study; 24-33
3.1 real-time analysis of the type of task 24-26 <br / > 3.1.1 requirements in accordance with the time of the task classification the 24-25
3.1.2 in accordance with the task arrival pattern classification 25-26
3.2 real-time task scheduling envisaged 26-28
3.3 test platform of choice 28-33
3.3.1 QNX About 29-32
3.3.2 in the real-time task scheduling take advantage of the QNX real-time characteristics the 32-33
4 real-time task scheduling Design and Implementation nbsp 33-50
4.1 architecture; 33-34
4.2 scheduling strategy distributor the 34-43
4.2.1 original description of the task set and read 34-36
4.2.2 limited aperiodic tasks to periodic tasks mapping the sudden 36
4.2.3 aperiodic tasks mapped to a periodic task 36-37
4.2.4 two tasks collection - ScheduableTasks and ManageableTasks 37-38
4.2.5 Schedulability test 38
4.2.6 schedulable task set to determine 38-41
4.2.7 on optimization of hard real-time tasks the 41-43
4.2.8 ManageableTasks, scheduling 43
4.3 Task Execution Manager 43-50
4.3.1 executive management nbsp ScheduableTasks; the 43-44
4.3.2 ManageableTasks, executive management 44-47
4.3.3 task instance trigger 47-50 <br / > 5 the conclusions and discussion the 50-52 5.1 applied to the real system
50-51
5.2 further improvement 51-52
Reference 52-56
Conclusion 56-57
Related dissertations
- Fpga Design of DMA Data Transfer Platform Based on PCIe Bus
- Design and Verification of Data Collection Module of Sun-sensor SoC
- Hardware-in-the-loop Simulation with Navigation Satellite Signal Simulator Research
- Study on Polyurethane Hot Melt Adhesive for PET Plastic Box
- Design of Logging Data Acquisition System Based on BF537for Through Casing Formation Resistivity
- Research and Design of WDM Driver for Three-channel Data Acquisition Card Based on PCI Bus
- The FPGA Design&Implementation of High-speed DAC Based on the PCIE Bus
- PCI-E High-speed Data Acquisition System Based on FPGA
- Research on Universal Packet Capture Technology Based on Multi-Core CPU
- Development of Device Driver Sotfware for Video Capture Card on Windows
- Driver Development of PCIE Data Acquisition Card in Embedded Linux
- Interactive display module software design of ultraviolet LED controller machine
- The Software Design of High-Speed Data Acquisition Module Based on PCI Bus
- The Research of Trust Cryptography Module Based on Openrisc
- The Design and Implementation of PCI Password Card
- Research and Development of High Speed Data Sampling System Based on ARM
- Prototype Design and Implementation of Parallel Acceleration Experiment Platform Based on FPGA
- Design of PCIE Bus Interface and Fiber-optic Communication Module Based on FPGA
- Design and Implementation of Driver Programming Based on PCI Bus
- Design and Implementation of High Speed Data Transmission System Base on Pciexpress