The Research on Real-Time Tasks Scheduling Algorithms in System-On-a-Chip(SOC)
- Author
- HeXiaoChuan
- Advisor
- JiaYan
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TN47 LSI,ultra LSI
- Degree
- Doctoral dissertation
- Year
- 2009
- Downloads
- 130
- Citations
- 0
- real-time control system
- System-on-a-Chip
- real-time task scheduling
- Preemption Threshold Scheduling
- Energy-efficient scheduling
- Stack Resource Protocol
- Asynchronous Tasks
- Procrastination Scheduling
- Preemption Threshold Assignment
Abstract
With the quick development of large scale integrated circuit design technology and micro-electronics manufacturing technology, especially the present of deep sub micron semiconductor technology, hundreds of millions transistors can be integrated into a single chip now, which makes integrating CPU,memory and I/O devices into a single chip possible.Microcontroller, as the cen-tral part of various embedded real-time control systems (such as flight control system,antiaircraft defense system), has been designed and manufactured by SoC(System-On-a-Chip) technology completely, with the aims of reduced cost, energy saving, improved reusability and short time-to-market. Meanwhile, in the face of the dilemma of high performance and low cost, increased system complexity and decreased update cycling of products, behindhand design technologies and fast development of semiconductor technologies, SoC co-design method had been exploited to production-manufacturing of more and more microcontrollers. With the methodology of hard-ware/software co-design, there must be the software parts as well as the hardware parts on SoC. The RTOS can not only improve the performance and reliability of the system,but also simplify the development and debugging of SoC.There is a growing consensus that the real-time operating system(RTOS) has become an indispensable part of SoC.Differing from the classical real-time control systems, the physical resources of SoC real-time control system are very limited, its execution mode conforms to the event-driven reactive model,its targeting platforms are heterogeneous. These features make the real-time task schedul-ing policy, as the most essential part of RTOS of real-time control systems, face some new chal-lenges:its context switch cost of task preemption should be small as much as possible, its energy consumption of task set should be low as much as possible, its memory usage of task set should be saved as much as possible. However, current RTOSs usually exploit preemptive scheduling policies, which leads to the more task preemptions and higher resources requirements. Thus, in the embedded real-time computing environment, how to reduce the number of task switch and decrease the resource consumption under the condition of task’s schedulability, would be a new interested problem.In this thesis, the research aim is the problem of real-time task scheduling in the miniature embedded real-time control systems, manufactured by SoC technologies. Given the remaining drawbacks and shortcomings of current research works on this problem,we propose a series of energy-efficient scheduling algorithms and memory-efficient scheduling algorithms, provide theo-retical proofs to the correctness and feasibility, at the same time a series of simulation experiments was evaluated for the performance and effect of our algorithms. Our research works are embodied into three following aspects:1.We propose a new FPPT scheduling paradigm on asynchronous task set, where a new schedu-lability test approach is firstly developed to calculate the worst case response time of every task under some preemption threshold assignment and determine its schedulability, Further-more, this paper presents algorithms to compute the feasible preemption threshold Assign-ment, and the proofs for the correctness of these algorithms are also presented.2.We address the problem of computing static and dynamic slowdown factors in the FPPT algorithm.Firstly, Sufficient constraints have been identified for the feasibility of the task set using slowdown factors. We formulate this problem of computing the static slowdown factors for tasks as an nonlinear optimization problem to minimize the total energy consumption of the system.Our simulation experiments show on an average 17%-53% energy gains over FPPT scheduling policy.3.We address the problem of variable execution time in tasks under the FPPT scheduling pol-icy, our approach exploit the stochastic data to develop the intra-task voltage scheduling, experiments show that more fluctuated task workload, more energy gains over usual DVS techniques.4.we address one of such side effects, an increase in task preemptions due to DVS.We present energy-efficient Fixed priority with preemption threshold(EE-FPPT) scheduling algorithm to solve this problem.First, we propose an appropriate schedulability analysis, based on response time analysis, for supporting energy-efficient FPPT scheduling in hard real-time systems. Second, we prove that a task set achieves the minimal energy consumptions under Maximal Preemption Threshold Assignment(MPTA).5.We propose a two-phase algorithm.In the first phase, the execution speed, i.e.,the supply voltage of each task are determined by applying off-line algorithms, and in the second phase, the procrastination length of each task is derived by applying on-line simulated work-demand time analysis, and thus the time moment to turn on/off the system is determined on the fly. A series of simulation experiments was evaluated for the performance of our algorithms. The results show that our proposed algorithms can derive energy-efficient schedules.6. We propose a new FPTS scheduling paradigm,which integrates FPPT with SRP, includ-ing the new Critical Instant, preemption threshold assignment and appropriate schedulability analysis, based on response time analysis. Furthermore, we present algorithm to compute the feasible preemption threshold assignment, and the proofs for the correctness of these algo-rithms are also presented.
Table of contents
Abstract 11-13
ABSTRACT 13-16
first chapter 16-38
1.1 Background 17-25
1.1.1 SoC basic characteristics of the real-time control system 17-19
1.1.2 SoC real-time control system task scheduling algorithm 19-20
1.1.3 task scheduling algorithm facing new challenges 20-25
1.2 Research analysis of 25-34
1.2.1 task scheduling algorithm 25-27
1.2.2 Resource Access Control Protocol 27-31
1.2.3 real-time system power consumption optimization 31-32
1.2.4 Control additional memory consumption 32-34
1.3 This article mainly work 34-36
1.4 This article organizational structure 36-38
for the collection of asynchronous task preemption threshold scheduling algorithm 38-56
2.1 Concepts and Techniques 38-42
2.1.1 basic terminology assumptions 38-39
2.1.2 Level-i busy cycle analysis methods 39-41
2.1.3 seize threshold scheduling algorithm 41-42
2.2 schedulability determination method 42-48
2.2.1 crucial moment 43
2.2.2 Feasible Interval 43-44
2.2.3 task longest response time analyzing 44-48
2.3 seize the the threshold allocation method 48-51
2.3.1 preemption thresholds allocation algorithm 48
2.3.2 algorithm analysis 48-50
2.3.3 accuracy proved 50-51
2.4 Experimental verification 51-54
2.4.1 Experimental set 51
2.4.2 Evaluation 51
2.4.3 test datasets 51-52
2.4.4 experimental results analysis 52-54
2.5 This chapter Summary 54-56
Chapter on variable voltage processor preemption threshold energy-efficient scheduling algorithm are found; 56-96
3.1 real-time system of energy-efficient scheduling theory 56-63
3.1.1 CMOS circuit power consumption model 56-58
3.1.2 real-time system of low-power design 58-59
3.1.3 DVS technology 59-60
3.1.4 based on the DVS technology of real-time energy-efficient scheduling algorithm 60-63
a 3.2 offline preemptive scheduling policy under the threshold energy-efficient scheduling algorithm 63-67
3.2.1 schedulability analysis methods 63-64
3.2.2 Power consumption is minimized offline algorithm ES-FPPT 64-65
3.2.3 Experimental validation 65-67
3.3 task time dynamic changes task voltage / frequency scheduling algorithm 67-71
3.3.1 the maximum possible system load calculation method 67-68
3.3.2 task voltage / frequency adjustment method 68-70
3.3.3 Experimental validation 70-71
3.4 low-power system preemption threshold scheduling 71-81
3.4.1 schedulability analysis methods 71-75
3.4.2 Power Consumption optimal preemption threshold assignment method 75-78
3.4.3 Experimental validation 78-81
3.5 to seize online scheduling algorithm threshold power optimization 81-92
3.5.1 System model and problem definition 82-84
3.5.2 two-stage energy-efficient scheduling algorithm 84-86
3.5.3 Algorithm Analysis 86-90
3.5.4 Experimental validation 90-92
3.6 Chapter Summary 92-96
Chapter memory constrained systems, preemption threshold scheduling algorithm 96-110
4.1 RTOS memory usage analysis 96-98
4.1.1 standalone stack necessity 96-97
4.1.2 using a global run-time stack 97
non-preemptive group
4.1.3 PTS strategy 97-98
4.2 preemption threshold scheduling with SRP protocol 98-99
4.3 (FPTS) scheduling model 99-102
4.3.1 task execution process only access a single resource 99-100
4.3.2 task execution process to access multiple shared resources 100-102
4.4 memory consumption is minimal to seize the the threshold allocation method 102-105
4.4.1 MPTA memory consumption optimality 102-103
4.4.2 preemption threshold the MPTA allocation algorithm 103-105
4.5 Experimental verification 105-107
4.5.1 Evaluation 105
4.5.2 test datasets 105-106
4.5.3 experimental results analysis 106-107
4.6 This chapter Summary 107-110
Chapter prototype system to verify 110-130
5.1 Introduction 110-111
5.2 RT-Linux platform preemption threshold scheduling algorithm implemented 111-114
5.2.1 RT-Linux platform preemption threshold scheduling policy 112-114
5.2.2 RT-Linux platform to achieve a more complex task scheduling algorithm 114
5.3 RT-Linux platform for real-time energy-efficient scheduling algorithm implemented 114-119
5.4 energy-saving effect assessment 119-127
5.4.1 Experimental environment settings 119-120
5.4.2 Design of Experiments 120-122
5.4.3 experimental results analysis 122-127
5.5 memory saving effect assessment 127-129
5.5.1 LTT testing tools 127-128
5.5.2 Design of Experiments 128
5.5.3 experimental results analysis 128-129
5.6 This chapter Summary 129-130
Conclusion 130-134
Acknowledgements 134-136
the
References 136-150
the
author achieved academic achievements during the study period 150-152
the
Appendix A scheduler application layer based on RT-Linux platform 152-160
the
A.1 How to RT-Linux platform to achieve more complex scheduling algorithms 152
A.2 application layer scheduling model 152-156
the
A.3 RT-Linux platform application layer scheduling model 156-160
the
Appendix B RT-Linux platform on how to implement energy-saving scheduling 160-166
the B.1 Cpufreq kernel subsystem design and use 160-162
B.2 RT-Linux kernel for power management data structure and function interface 162-166
Appendix C PXA255 processor saving features 166-170
the
C.1 processor mode 166-168
the
C.2 processor clock 168
the
C.3 processor energy consumption assessment 168-170
Related dissertations
- A Study on Practical Real-Time Task Scheduling
- AM335X-based Jacauard Control System Design for Circular Knitting Machine
- Design for Glass Electric Furnace Feeding Monitoring and Real-time Temperature Control System
- Study of Data-Access Optimizations in the Financial Field
- Research of Energy-Efficient Scheduling for Parallel Real-Time Tasks on Multicore Systems
- Application of Folding Counters in SoC Test
- Research on Data Compression Techniques in SoC Test
- Research and Application of the Task Scheduling Algorithm on the One Kind of Heterogeneous Multi-Processors System-on-Chip
- Research and Design on Digital Lithography Control System
- Research of the Rapid Determination Technology for Environmental Monitoring and Food Safety
- Hardware Software Partitioning Method Based on Multimedia Applications
- New Approaches to Test Compression for Digital Circuits
- Research on Electric Power Optimization Operation Based on Energy Saving Generation Dispatching and Demand Side Management
- Study on Energy-efficient Scheduling Algorithms in Embedded Systems
- Research of Energy-efficient Scheduling Algorithm Based on DVS for Hard Real-time Tasks
- Research of Distribution Network Optimal Operation with Distributed Generation Based on Grid Computing
- DSP-based power load management terminal design
- Real-time JPEG Encoding and Decoding System Based on FPGA
- Studying of Design-for-Test for Embedded IP Cores
- Distributed real-time applications based on military QoS technology research