Research on Key Problem of Real-time Scheduling with Constraint
- Author
- ZhaoMing
- Advisor
- ZhaoHai
- School
- Northeastern University
- Major
- Applied Computer Technology
- Classification
- TP368.1 Microprocessor
- Degree
- Doctoral dissertation
- Year
- 2010
- Downloads
- 31
- Citations
- 0
- Embeded System
- Real-time scheduling
- nonpreemption
- Precedence constraint
- QoS constraint
- topoligical sort
- Linear programming
- Genetic Algorithm
Abstract
With the rapid development of embedded technology and the continuous rising of the complexity of embedded applications, embedded systems and application environments typically contain multiple types of application requirements, and to provide the service satisfying the real-time constraint to the system is not the only goal of real-time scheduling. In order to execute system function correctly, in the system scheduling process, it is needed to consider the precedence constraint among tasks, resource sharing constraint among tasks providing service satisfying task QoS requirement and so on.While traditional real-time scheduling theory and related models are still the theoretical basis for real-time scheduling, but the needs of various types of applications can not be fully met by system which only use the basic time characteristics of the task to make scheduling decision, and scheduling with a single objective often does not satisfy other constraints of real-time systems. Therefore, under the premise of ensuring to meet the real-time task schedulability, how to schedule correctly and effectively basing on the practical constraints of specific application requirements becomes the key issue of real-time scheduling research field. The problem on real-time scheduling with constraint is researched in this paper, which mainly includes real-time scheduling with precedence constraint and real-time scheduling with QoS constraint.Real-time scheduling with precedence constraint stems from the specific function design requirements of practical application. In these system, real-time applications are usually designed into interactive tasks running on the computing resource. Because these parallel tasks are designed to achieve whole computing funciton, the excuting sequence of tasks is needed to meet the precedence constraint to ensure the correctness of the whole function. In order to address on-line scheduling algorithm problem of the inefficacy to process tasks with random release time, basing on parallel topological sorting principle, an online scheduling algorithm is presented in this paper, which determines non-preemptive scheduling sequence through the analysis of parallel relation and serial relation in taskset. The algorithm is proved to be optimal when task set releases according to level of precedence constraint. Off-line scheduling is another way to solve real-time scheduling with precedence constraint. Through the anylasis of non-preemptive scheduling of real-time task set with precedence constraint, this paper concludes that there are three scheduling contstraints:real-time constraint of tasks, precedence constraint among tasks and non-preemption constraint in scheduling sequence. After convertion to the standard form in linear programming of these three kinds of constraints, this paper uses branch testing strategy which constantly modifies the scheduling sequence bound to abtain feasible scheduling sequence satisfying precedence constraint.Real-time scheduling with QoS constraint of embedded real-time system stems from the applications in control system, network communication system, industrial network systems. In such applications, missing the deadline of some tasks within limited time interval does not affect the entire performance of application, but this situation must be permitted by QoS constraint. An online scheduling algorithm satisfying QoS constraint is presented in this paper, which sets the fixed priority of task with RM scheduling policy based on task period and real-time QoS constraint. In order to reflect the pressure of the current QoS service level requirement, the algorithm switches the task between preemptive status and optional status based on the current statistical situation of the satisfying of real-time constraint. At the same time, in order to meet the adaptability to system for high loads, the algorithm can be combined with the mechanism of moderate degradation of QoS which tries to provide valid service to all tasks under the premise of ensuring the service statisfying the minimum QoS to critical tasks.The algorithm not only has the merits of static scheduling algorithm that can do schedulablity test, but also can set the executing pattern of task dynamicly according to system load just like dynamic scheduling algorithm. Aimed at the applying of real-time system with QoS constraint in the power restraint system, this paper also presents off-line optimization scheme of task executing pattern based on genetic algorithm to minimize power consumption, and targeted at the "premature" problem in using standard algorithm for solving best executiong pattern of task, a hybrid genetic algorithm is presented which imports simulated annealing algorithm during mutaion to improve the search performance of the optimal solution.During the process of discussion of two scheduling with constraint and four scheduling strategy, example analysis, simulation and other means of verification are used in this paper to test the correctness and effectiveness of proposed scheduling algorithm.
Table of contents
Summary 5-7
Abstract 7-14
first chapter 14-24
1.1 Embedded systems 14
1.2 real-time systems and real-time scheduling 14-15
1.3 real-time scheduling problems have constraints 15-21
1.3.1 real-time scheduling with partial order constraints nbsp question; 16-19
1.3.1.1 proposed 16-17
1.3.1.2 Research 17-19
1.3.2 with QoS constraints of real-time scheduling 19-21
1.3.2.1 question 19-20
1.3.2.2 Research 20-21
1.4 This paper studies the content 21-24
classic real-time scheduling theory and constraints 24-34
2.1 real-time tasks 24-26
2.1.1 real-time task definition and Classification 24-25
2.1.2 real-time task parameters symbolic representation 25-26
2.2 classic real-time scheduling algorithm 26-28
2.2 .1 RM algorithm the 26-28 2.2.2 EDF algorithm
28
2.3 RM have real-time scheduling constraints 28-31
2.3. 1 RM, real-time scheduling with partial order constraints 28-29
2.3.2 RM with QoS constraints of real-time scheduling 29-31
2.4 EDF and have constrained real-time scheduling 31-32
2.4.1 EDF real-time scheduling with partial order constraints of 31
2.4.2 EDF real-time scheduling with QoS constraints 31 - 32
2.5 Chapter Summary 32-34
meet the constraints of the partial order online scheduling 34-54
the 3.1 classic algorithms analyze 35 - 37
3.1.1 LDF 35
3.1.2 EDF ~ * feasibility nbsp 35-37
3.2 based on topological sort of partial order constraints in real-time scheduling; 37-42
3.2.1 topological sorting the 37-38
3.2.2 to study the feasibility 38-39
3.2.3 parallel topology Sort principle inspired the 39-42
3.3 instructive examples 42-43
3.4 Scheduling Principle 43-49
3.4.1 scheduling principles 43
3.4.2 Basic principle 43-49
3.5 algorithm design. 49-50
3.6 algorithm analysis and compare 50-52 <br / > 3.6.1 Example 50
3.6.2 simulation experiments 50-52
3.7 Chapter Summary 52-54
Chapter meet partial nbsp the sequence constraint offline scheduling; the 54-72
4.1 Linear Programming and Scheduling 54-57
4.1.1 Linear Programming General Description 54-57
4.1.2 linear programming for solving constrained the scheduling feasibility 57
4.2 Analysis 57-58
4.3 solution process 58
4.4 migraine the sequence constraints aperiodic real-time tasks offline scheduling 58-64
4.4.1 Symbols and assumptions 58-59
4.4.2 to constraint inequalities Description 59 - 60
4.4.3 algorithm design the 60-61
4.4.4 examples 61-64
4.5 with partial order constraints periodic real-time tasks offline scheduling 64-67
4.5.1 symbols and assumptions the 64-65
4.5.2 global partial order on Figure 65-66
4.5.3 Inequality constraints 66-67
4.6 simulation experiments the 67-70
4.6.1 Experimental Design 67
4.6.2 Time efficiency with partial order on the number of The relationship between 67-68
4.6.3 time efficiency with the system load between nbsp the; the 68-70
4.7 This chapter summary 70-72
Chapter fixed-priority scheduling to meet the QoS constraints the 72-94
5.1 real-time system model with QoS constraints 73-77
5.1.1 system model the 73-74 5.1.2 μ-pattern
QoS constraint specifications 74-77
the 5.2 classical algorithm analysis 77-80
5.2.1 based QOS real-time static scheduling algorithm the 77-78
5.2.2-based the QOS real-time dynamic scheduling algorithm 78-80
5.3 System model and assumptions 80-81 < br /> 5.4 satisfy the QoS constraints of fixed priority scheduling the 81-85 5.4.1 basic idea
81
5.4.2 Specific design 81-82 < br /> 5.4.3 schedulability analysis the 82-83 5.4.4 Example analysis
and compare the 83-85 5.5 QoS degradation mechanisms
85-90 < br /> 5.5.1 problem described 85
5.5.2 system model 85-86
5.5.3 algorithm design 86-87
5.5 .4 Example analysis 87-90
the 5.6 simulation experiments and compare the 90-93 5.7 Chapter Summary
93-94
Chapter meet real-time QoS constraints offline optimization 94-112
6.1 system model 95-96
6.1.1 energy consumption model 95
6.1.2 task model 95-96
6.2 problem analysis the solution 96-97
6.2.1 96-97
6.2.2 constraints nbsp optimization objectives; 97
6.2.3 97
6.3 standard genetic algorithm-based offline optimization 97-103
6.3.1 standard genetic algorithm-based design nbsp 98-100
6.3.2 concrete steps and examples; 100-103
6.3.3 Summary 103
6.4 offline optimization based on hybrid genetic algorithm 103-110
6.4.1 simulated annealing algorithm Introduction the 104-106
6.4.1.1 basic principle of the simulated annealing algorithm 104-105
6.4 .1.2 simulated annealing algorithm process 105-106
6.4.2 Feasibility Analysis 106-107
6.4.3 Algorithm Design 107-108
6.4.4 examples and experiments the 108-110
6.4.4.1 examples 108-109
6.4.4.2 emulation, experimental 109-110
6.5 Chapter Summary 110-112
Chapter VII Summary and Outlook 112-116
7.1 summarizes 112-113
7.2 innovation 113
7.2 future work to References 113-116
116-126
Acknowledgements 126-128 the
author engaged scientific research and learning experienced resume 128-130
scientific research 128
learning experience 128-130
pursuing doctorate published papers are found; 130
Related dissertations
- Optimal allocation of water resources and real-time optimization scheduling
- Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
- Research of Short Selling Trading Strategies Based on Copula Theory
- Modeling and Optimization Method Research of Bundle-size Pricing for Online Content
- Study on Partner Selection and Coordination Problem in Green Supply Chain Network
- Research on the Model of Joint Managed Inventory Based on Genetic Algorithm with the OEM Enterprise
- Study on Measurement of Aviation High-tech Enterprises Versatile Personnel Competency Position Fit
- Media Launches of Real Estate Advertising
- A Study on China’s Commercial Bank Assets Allocation Based on the Stochastic Programming Model
- Study on the optimization of operation plan of ZL company based on linear programming
- The Research of Index Portfolio Based on Tracking Error
- Design of Arbitrage Strategy Based on Stock Index Futures
- Research on Optimization for Reconfigurable Facilities Layout of Cellular Production
- A Study of Early Warning System of New Media Events Based on New Genetic Algorithm
- Bridge Health Monitoring System Based on Damage Analysis
- Research of Control System and Scheduling Algorithm of Intensive Automatic Shelves
- Research on Industrial Time Delay Object Based on Model Prediction Control
- Study on Nonlinear Dynamic Modeling Measurement and Control Problems for Precision Pointing Mechanisms
- Design and Implementation of Secure Industrial Ethernet Based on Cortex-A8
- Research on Intelligent Air Combat Decision Making System Based on Conflict Analysis