Research on Periodic Scheduling Algorithm Verification Technology for RTEMS Application

Author
ZuoYangMing
Advisor
CaiJianPing
School
Beijing University of Technology
Major
Computer Science and Technology
Classification
TP301.6 Algorithm Theory
Degree
Master's thesis
Year
2013
Downloads
3
Citations
0

Request the full text

Abstract

RTEMS(Real Time Executive for Multiprocessor Systems) has always beenapplied in controlling system. It’s not only need the system could deal properly withexternal information but also focus on if the system could finish the task in certaintime with result, which different from other normal operating system. The externalinformation which need to be dealt may have no relation with each other, orsynchronized or exclusive with each other. The final aim of dealing with internalsystem task is correction and timely, if some of tasks can’t be finished in time mayeffects the whole executing process or even worse. Therefore, executing thedispatching test is necessary. The result of dispatching is closely relating todispatching algorithm. In order to guarantee the quality of real-time application, taskdispatching test is needed to prove real-time algorithm in the application.Usually speaking, cycling tasks is more common in controlling systems. Thereal-time dispatching algorithm has two mainly types, one is RMS another one isEDF. So, the following steps is my thesis mainly discuss on the basis of the twodispatching algorithm:(1) Under the circumstances of the loss caused by non-modifying applicationand minimum acquisition tasks, as well as by researching thread state extractiontechnology. Using GDB debugger especially for expanding RTEMS collect worsensituation in the operating process.(2) According task dispatching test and scheduling algorithm validation’s need,design strategy focus on applying RTEMS task status data, so as to minimize theperformance loss happened in the acquisition process and try to close to the crucialmoment of the task. Under the direction of data collecting strategy, the final result isthat the collecting rate could follow the task time of crucial to achieveauto-adjustment, use the optimal allocation and linear fitting problem to designingtask status acquisition algorithm.(3) Through the study on the model of finite-state machine, extend theautomatically machine of the finite state to design and achieve the time automaticmachine and Automatic Incident machine, which is to judge the state of tasks. Eventautomata machine may be changed by the result of collection, and then the Timeautomata manchine will changed by the event automata machine.Comparing the data collecting algorithm and equivalent periodic data collectingalgorithm, the two algorithms appeared in the thesis has a series of advantages, such as low performance loss, small load of collecting tasks and closely distance betweencollecting point and crucial moment. The thesis test task and application and proveRMS and EDF scheduling algorithm. Last but not least, promote the RTEMSapplicant scheduling algorithm approval and data collecting development oftechnology field.

Table of contents

Summary 4-5 Abstract 5-10 Chapter 1 Introduction 10-16 1.1 research background and significance 10 -11 1.1.1 subject background 10-11 1.1.2 topics sense 11 1.2 research status quo 11-13 <br / > Research Status 1.2.1 verification technology research status 11-12 1.2.2 data acquisition technology 12-13 1.3 the main contents 13 - 14 1.4 thesis structure 14-16 RTEMS task scheduling Chapter 2 Overview 16-30 2.1 RTEMS system Overview 16-21 2.1.1 RTEMS architecture 16-18 2.1.2 RTEMS system characteristics 18-19 2.1.3 RTEMS application architecture 19-21 2.2 RTEMS task scheduling overview 21-24 2.2.1 RTEMS scheduling mechanism 21-22 2.2.2 mission to seize control 22-23 2.2.3 task priority -based preemptive scheduling 23-24 2.3 RTEMS scheduling algorithm outlined 24-29 2.3.1 rate monotonic scheduling algorithm 25-27 2.3.2 earliest deadline first scheduling algorithm 27-29 2.4 Summary 29-30 Chapter 3 authentication methods task scheduling Research 30-44 3.1 the proposed scheduling algorithm validation critical data research 30-31 3.2 scheduling verification 31-35 3.2.1 critical data task scheduling critical data 31-33 3.2.2 task execution estimate 33-34 3.2.3 WCET and BCET of 34-35 Research 3.3 task status information collection methods 35-38 3.3.1 RTEMS application information collection 35-37 3.3.2 data acquisition strategy 37-38 3.3.3 optimization problem solving 38 3.4 scheduling algorithm validation studies 38-41 3.4.1 task state transition 39 3.4.2 mission critical moment 39-40 3.4.3 finite state machine model 40-41 3.5 Summary 41 design and implementation of Chapter 4 -44 scheduling algorithm verification platform 44-70 4.1 data collection algorithm design and implementation 44-55 4.1.1 adaptive variable cycle collection algorithm design 44-45 4.1.2 adaptive variable cycle collection algorithm 45-49 4.1.3 data acquisition to achieve 49-55 4.2 task scheduler to validate the model design and implementation 55-61 4.2.1 time machine automatically converted mechanism design 55-56 4.2.2 time machine automatically achieve 56-58 4.2.3 event automata conversion mechanism design 58-59 4.2.4 event automata achieve 59-61 4.3 scheduling information analyzer design and implementation 61-68 4.3.1 collect information output 61-62 4.3.2 information collection command control 62-63 4.3.3 function call sequence analysis 63-65 4.3.4 function call relationship analysis 65-67 4.3.5 function execution time analysis 67-68 4.4 Summary 68-70 Chapter 5 platform to build and validate the results of the analysis 70-94 5.1 overall verification platform structure 70-71 5.2 verification platform environment to build 71-79 5.2.1 QEMU virtual machine briefly 72-73 5.2.2 QEMU emulator performance 73-74 5.2.3 QEMU emulator RTEMS 74-76 5.2.4 GDB remote connection QEMU 76-78 5.2 .5 kernel image file system structures 78-79 5.3 scheduling algorithm verification platform control 79-83 5.3.1 introduces tested RTEMS application 79-80 5.3.2 simulation platform control 80-82 5.3.3 test application settings 82-83 5.4 collection algorithm compared with the scheduling algorithm verification 83-92 5.4.1 data acquisition algorithm comparison 83-85 5.4.2 rate monotonic scheduling algorithm validation 85-88 5.4.3 earliest deadline priority scheduling algorithm validation 88-90 5.4.4 scheduling information analysis 90-92 5.5 Summary 92-94 conclusion 94-96 References published during 96-100 pursue master's papers 100-102 Thanks 102

Related dissertations

  1. Financing Lease Company Based on KMV Model:an Empirical Study of Credit Risk Measurement
    ZhangBin ·Donghua University ·2014 ·Master's thesis
  2. Research on Task Scheduling and Communication Mechanisms Based on RTEMS
    LiuJianDong ·Harbin Engineering University ·2013 ·Master's thesis
  3. A Study on Practical Real-Time Task Scheduling
    YinAoTong ·Tianjin University ·2012 ·Master's thesis
  4. Research of Sparc-rtems Driving Technology for Java Accelerating System
    WangYongShuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research of RTEMS Embedded Operating System with Support for Muliticore Processor
    NiuYingZuo ·Harbin Engineering University ·2013 ·Master's thesis
  6. Video Surveillance System Design Based on FPGA
    WuHuaZhong ·University of North ·2014 ·Master's thesis
  7. The Experimental Study on Technique and EMG of Freestyle in Swimming Flume
    FanNianChun ·Shanghai Institute of Physical Education ·2011 ·Doctoral dissertation
  8. Three-dimensional Initial form Analysis of Inflated Wing
    CuiYuJia ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. KMV Model and Its Application in Credit Risk Management
    YinXin ·Shandong University ·2013 ·Master's thesis
  10. Design of the High Reliability Data-handling-center Computer
  11. Research on Feedback Scheduling Methods of Networked Control System
    ChenShaoYing ·Northeastern University ·2010 ·Master's thesis
  12. The Design and Implementation of Embedded Database Technology Based on Rtems
  13. A Run-time Model Study Based on EDF
    ChenXiangHua ·Hunan Normal University ·2012 ·Master's thesis
  14. The Design and Implementation of MOST Network Management and Multi-channel Connection Management
    NanYang ·Jilin University ·2012 ·Master's thesis
  15. Design and Implementation of Security Mechanism for Software System Based on Rtems
  16. The Design and Implementation of Equipment Automation System in Semiconductor Backend
    YuShengSheng ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. The Extension and Application of Open Source Operating System Multiprocessor
  18. Study of GPS Signals Acquisition Algorithm Based on Software Receiver
    WangDanDan ·Henan Polytechnic University ·2012 ·Master's thesis
  19. Research on the New GNSS Signal Quality Impacted by Nonlinear Distortion
  20. Scheduling Research of Real-time Communication System Based on IEEE802.15.4