Research and Design of Scheduling Algorithm Based on RT-Linux
- Author
- LiuXiaoFan
- Advisor
- WangXiBo
- School
- Shenyang University of Technology
- Major
- Computer Software and Theory
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 93
- Citations
- 0
Abstract
At present,it becomes more and more popular that different kinds of hard real-time and soft real-time task applications coexist in one system.The configurability and expansibility of real-time operating system are becoming increasingly important.Those real-time scheduling algorithms specially designed for hard real-time tasks are too single in application scope and can’t to meet actual real-time needs entirely.Aiming at problem,this paper proposed a research target to improve scheduling performance and scheduling flexibility in embedded real-time operating system so as to support complex real-time application.This paper takes RT-Linux3.2 kernel as object for research.RT-Linux3.2 kernel scheduling strategy is a kind of preemptive static fixed priority scheduling.Before running of the system,it statically assigns a unique priority for each task.During the system running,the priority of a task is fixed.High-priority task will run first.Low-priority task can not run until the high-priority task abandons right to use CPU.Due to this scheduling mechanism,it will inevitably lead to a number of soft real-time tasks can’t be timely responded in mix tasks set scheduling.This paper analyzes deficiency of the original algorithm,and on specific operation platforms,improves the scheduling algorithm part. EDF dynamic algorithm is embedded into the original algorithm firstly by modifying low layer data structure,adding of members variables associated with dynamic priority calculation and modifying function interfaces,so as to change original fixed priority scheduling core into a dynamic priority scheduling;Secondly,to properly response soft real-time tasks,a periodic server is added.The periodic server is set as a hard real-time task according to operating rules to compete CPU simultaneously with other hard real-time tasks.When periodic server gains the right to use CPU,soft real-time task is scheduled. Thus,on the basis of guaranteeing hard real-time tasks being completed before the deadline,missed deadline percentage of soft real-time tasks are also minimized,which makes up inadequacies in original algorithm. Finally,a testing scheme is designed to test and compare new algorithm and original one.By embedding hard real-time tasks and video software into the new kernel, correctness of EDF algorithm and operation status of soft real-time tasks under high load of the system are respectively verified.Test verification shows that hard real-time and soft real-time scheduling performance expected by the new algorithm is basically achieved. Other real-time performance can also meet needs of application.
Table of contents
Abstract 5-6
Abstract 6-10
first chapter 10-20
the 1.1 topics background and issues raised 10-11
1.2 Introduction to real-time systems 11-16
real-time systems
1.2.1 Classification 12
1.2.2 Real-time system scheduling 12-13
1.2.3 Real-time System Features 13
1.2.4 Real-time system architecture 13-14
1.2.5 several common real-time system 14-16
1.3 research status 16-17
1.4 This article mainly work 17-19
1.5 papers organizational structure 19-20
Chapter II real-time system scheduling algorithm theory and methods 20-28
2.1 real-time scheduling basic terminology 20
2.2 real-time task status 20-22
2.3 real-time tasks classification 22
2.4 real-time scheduling algorithm 22-27
2.4.1 static scheduling algorithm 22-24
2.4.2 dynamic scheduling algorithm 24-26
2.4.3 hybrid scheduling 26-27
2.5 This chapter Summary 27-28
the
RT-Linux kernel analysis 28-37
3.1 RT-Linux kernel 28-29
3.2 RT-Linux implementation principle 29-31
3.3 RT-Linux programming 31-34
3.3.1 Module Introduction 32-33
3.3.2 RT-Linux threads created 33-34
3.3.3 Makefile file 34
3.4 RT-Linux communication mechanism 34-36
3.4.1 the real-time FIFO 34-35
3.4.2 shared memory 35-36
3.5 This chapter Summary 36-37
Chapter scheduling algorithm for analysis of RT-Linux3.2 37-43
4.1 RT-Linux3.2 scheduler important data structure 37-40
4.1.1 scheduling parameters control block 37
4.1.2 Real-time task control block 37-38
4.1.3 CPU information control block 38-40
4.2 RT-Linux3.2 process of scheduling module analysis 40-42
4.3 RT-Linux3.2 timer mechanism 42
4.4 This chapter Summary 42-43
improved the design and implementation of the scheduling algorithm 43-51
5.1 scheduling algorithm design and description 43-45
5.2 EDF scheduling algorithm to achieve 45-49
5.2.1 on the original data structure transformation 45-48
5.2.2 original scheduling algorithm improvement 48-49
The
the 5.3 periodicity servers algorithm to achieve 49-50
5.4 This chapter Summary 50-51
Chapter experiments results and analysis 51-59
6.1 RT-Linux experimental platform to establish 51-53
6.2 generation of new scheduling algorithms and install 53
6.3 new, old scheduling algorithm simulation 53-58
6.3.1 EDF scheduling algorithm validation 53-56
6.3.2 mixed scheduling algorithm validation 56-58
6.4 This chapter Summary 58-59
Chapter VII Conclusion 59-60
Reference 60-62
learn research 62-63
Acknowledgements 63
Related dissertations
- A Research of Scheduling Method Based on the Real-Time Linux
- Open real-time Linux research and design
- Research on Scheduling Algorithms of Soft Real-Time System Tasks
- Research on Scheduling for Open Real-Time Systems
- Modern operating systems scheduling strategy
- The Development of Configuration Software for Monitoring and Controlling Based on C#
- Design and Implementation of Static Gesture Recognition System Based on FPGA
- Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
- Modal Analysis Fast Calculation Method Research and Application on Heavy Truck
- Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
- Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
- Implementation of Real-Time Test System for Inertial Measurement Units Based on LabVIEW
- The Design of Mine Gateway and the Research on System’s Real Time Ability
- Formal Modeling and Analysis of Cyber Physical System
- Real Time Face Feature Detection System Based on CPU+GPU Cluster
- Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems
- Research of Task Scheduling Algorithm for Soft Real-time System Based on Feedback Mechanism
- Aspect-Oriented Testing Approach for The Real-time Characteristic of Real-Time Cyber-Physical System
- Research on Real-time Elastic Task Scheduling Algorithm Based on Feedback Mechanism
- Research of Energy-Efficient Scheduling for Parallel Real-Time Tasks on Multicore Systems