Research on Task Scheduling for Open Real-time Systems

Author
TanPengLiu
Advisor
JinHai
School
Huazhong University of Science and Technology
Major
Computer System Architecture
Classification
TP316.2 Real-time operating system
Degree
Doctoral dissertation
Year
2008
Downloads
471
Citations
9

Request the full text

Abstract

With the rapid development of the hardware in computer science, it is possible that several complex hard and soft real-time applications developed and deployed independently run on a fast and general-purpose workstation or personal computer system concurrently with some non-real-time applications. Further, the real-time and non-real-time applications are allowed to join and leave the system dynamically. The system is called“Open real-time system”, which is one of the hottest topics in real-time computing area. Real-time scheduling is one of the critical technologies in real-time systems. The traditional real-time scheduling theories and mothods are very mature, but they are used in traditional real-time systems which process some special real-time applications. How to schedule the tasks in open real-time system is a new challenge.Two-dimensional priority scheduling sheme not only sets task priority, but also specifies scheduling policy priority. The priorities of scheduling policies are set first. For example, the priority of EDF is set to the highest. That of RM is set to the second highest. That of SD is assigned to the second lowest priority. That of non-real-time scheduling policy is assigned to the lowest one. Secondly, the priorities of the tasks with the same scheduling policy are set according to their policy. In the scheme, the execution order of a task is determined by both its priority and its scheduling policy priority. This scheme not only resolves the problem of scheduling policy dependent on scheduling mechanism in tradisional priority-driven scheduling methods, but also overcomes the shortcoming not suitable for the parallel and distributed real-time applications in the existing open real-time scheduling schemes. It is suitable the situations with privilege and rank.Howerver, in two-dimensional priority scheduling scheme, the tasks in the ready queue of the scheduling policy with lower priority will not be scheduled for ever, which is called dead-waiting, in the case that the ready queue of the scheduling policy with the highest priority is always nonempty, and it is not suitable for the fair situations. In the CUS(Constant Utilization Server)-based hybrid scheduling scheme, a CUS is assigned to each real-time scheduling policy. At the bottom level, the top-level servers are maintained and scheduled by the global EDF scheduler. The framework not only resolves the problems in the existing schemes, but also makes up the insufficiency in the two-dimensional priority scheduling scheme and suit for the fair situations. Its performance can be improved by introducing spare bandwidth reclaiming mechanism and overrun control into CUS.The size of CUS is fixed, however the workload of open system is dynamically variable, so the overall system’s performance becomes quite dependent on a correct CUS size allocation. For example, if the CPU bandwidth allocated to a CUS is much less than its requested value, many tasks will be rejected by the system because they can’t pass the schedulability test, degrading the system’s performance. On the other hand, if the allocated bandwidth is much greater than the actual needs, the system will run with low efficiency, wasting the available resources. The size of VUS (Vaviable Utilization Server) can be adjusted to meet the requirements according to the change of the system’s workload. Futher, the maintenance algorithm of VUS is better than that of CUS. The experimental results also show that the VUS-based two-level hierarchical scheduling scheme has better performance and is more suitable for the task scheduling of open real-time system than others.With the application spread, there is an increasing demand that several complex real-time applications developed and deployed independently and then run on the distributed systems concurrently with some non-real-time applications. The open distributed real-time systems come up with new requirements for task scheduling. The real-time scheduling framework based on CPNA (Classified-Processing-Node-Allocation) algorithm with an EDF-driven heuristic algorithm and FCF (First-Committed-First) algorithm is more suitable for homogeneous systems and also has good performance, but when the number of processing nodes in distributed system is less than 3, or when the classification number of processing nodes is too small, it does not separate the scheduling mechanism from the scheduling policy well, which will limit the open degreere of open systems and also restrict its performance. The real-time scheduling scheme based on most-demand-first and most-idlest-fit allocation algorithm with VUS algorithm overcomes the shortcomings in the existing schemes, which is applicable to many task models and separates the scheduling mechanism from the scheduling policy and is suitable for the complex parallel/distributed applications and heterogeneous system environments. Furthermore, the most-demand-first and most-idlest-fit allocation algorithm can balance the workload in distributed system. The new method has high open degree and high performance, which is a good choice for task scheduling in open distributed real-time systems.Based on the theory research, a Linux-based open distributed real-time system has been implemented. The test results showed that the system had good real-time performance. Both event latency and periodic jitter are below 25μs. It can be used in many fields, such as real-time control systems, numerical control systems, manufacturing, and so on.

Table of contents

Abstract 4-6 Abstract 6-11 1 Introduction 11-28 1.1 Background 11-12 <br / > 1.2 real-time system development status 12-20 1.3 real-time scheduling algorithm 20-26 1.4 contents and main contribution 26 1.5 thesis organization structure 26-28 2 -dimensional real-time scheduling priority 28-40 2.1 related research 28-31 2.2 traditional real-time scheduling priority 31-32 2.3 D -priority real-time scheduling 32-34 2.4 task model and schedulability analysis 34-35 2.5 scheduling examples 35 2.6 performance Analysis 35-39 2.7 Summary 39-40 3 constant utilization server -based hybrid scheduling framework 40-52 3.1 constant utilization server 40-41 3.2 scheduling architecture 41-44 3.3 task model and schedulability analysis 44-47 3.4 performance measurement and analysis 47-49 3.5 program improvement 49-51 3.6 Summary 51-52 4 based on variable utilization server's two -level scheduling architecture 52-66 4.1 server scheduling Technical Overview 52-55 4.2 variable utilization server (VUS) algorithm 55-58 4.3 VUS two -level scheduling architecture based 58-61 4.4 task model and schedulability analysis 61-63 4.5 performance Analysis 63-65 4.6 Summary 65-66 5 distributed open real-time system task scheduling 66-83 5.1 system architecture 66-67 5.2 classification assigned based on real-time processing node scheduling 67-77 5.3 based on maximum demand priority assigned to adapt with the most idle time scheduling 77-82 5.4 Summary 82-83 6 open Linux-based distributed real-time systems to achieve 83-96 6.1 Overview 83 6.2 system functions 83-85 6.3 clock synchronization 85-90 6.4 task scheduling 90-92 6.5 real-time performance testing and analysis 92-95 6.6 Summary 95-96 7 summarizes 96-99 Thanks 99-101 References 101-113 Appendix 1 PhD papers published during 113-115 PhD in Appendix 2 to participate in major research projects during 115

Related dissertations

  1. Design and Implementation of Secure Industrial Ethernet Based on Cortex-A8
  2. Formation Control of Mobile Robots and Its Application in the Odor Source Tracking
    WeiJianLong ·Tianjin University ·2012 ·Master's thesis
  3. Research on Distributed Data Mining System Based on Dynamic Agent Technology
    ZhouKai ·Hebei University of Engineering ·2013 ·Master's thesis
  4. Design and Implementation of Rehabilitation Detection and Training System
  5. The Research of Real-time Scheduling Algorithm for Mixed-Critcality Systems
    WuChengTao ·Hunan University ·2013 ·Master's thesis
  6. Design and Implementation of Office Automation System Based on B/S
  7. Research on Message Log Recovery Algorithm Based on Message Reordering and Message Number Check
    WangXiaoQiang ·Shandong University ·2013 ·Master's thesis
  8. The Research and Implementation of IPTV Distributed System Based on HLS
  9. Research and Implementation of DCS System Based on Wireless Communication
  10. The Contrastive Study of Conventional Ultrasound Compression Elastography(CE) and Acoustic Radiation Force Impulse Imaging(ARFI) in the Differential Diagnosis of Benign and Malignant Breast Tumors
    ZhangLu ·Central South University ·2013 ·Master's thesis
  11. Research of Real-time Scheduling and Network Management on FlexRay Bus System
    TianXiao ·Hefei University of Technology ·2013 ·Master's thesis
  12. Design and Implementation of Intelligent Distributed System for Monitoring and Analysis of Vibration
    ChengShuai ·Jilin University ·2013 ·Master's thesis
  13. Design and Implementation of On-line Yarn Defects Detecting System
  14. Synthesis and Photocatalytic Properties Study of Metal Sufild Nanostructures
    ZhaoJuan ·Hunan University ·2013 ·Master's thesis
  15. Design and Implementation of the Remote Machine-room Monitoring System Based on Web Service
    LiuYan ·Ocean University of China ·2012 ·Master's thesis
  16. Research on Addressing Resolution and Protocol Technology of the Distributed Application System
  17. Research and Implementation of Merchandise Security Based on QR Code
  18. The Research of Real-time Scheduling Algorithm Under Sigle Processor Environment
    ZhaoGongZuo ·Hunan University ·2011 ·Master's thesis
  19. The Research of Real-time Hybrid Scheduling Algorithm on Homogeneous Multicore Platform
    WangYan ·Hunan University ·2012 ·Master's thesis
  20. Study on hybrid task scheduling strategy for open real-time system resource sharing