Research and Implementation of embedded operating system process scheduling

Author
MaWei
Advisor
BaoSuSu
School
South China Normal University
Major
Applied Computer Technology
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2007
Downloads
323
Citations
3

Request the full text

Abstract

Embedded system has been widely used in every field and its speed ofdevelopment is amazing, as the kernel of its software, the embeddedoperating system is the hotspot of research in information industry. Thisthesis is based on the study of how to rebuild embedded Linux in differentapplication environment.RM(Rate Monotonic) algorithm is a typical static priority real timescheduling algorithm, the mission’s priority is determined by its period,the longer period, the lower priority. Firstly, the thesis analyzes theprocess scheduling principle of hinux and some critical problems in thereal time improvement; To realize a real time operating system, andbecause hinux has a large kernel, its developing tools are hard to use,it’s not easy to realize a real time operating system in few days. So,on the basis of analysing Schedulability test of RM, we use the necessaryand sufficient condition of schedulability which is given by hehoczky torealize RM algorithm under Windows environment, we test the algorithm byscheduling the appointed processes cluster, and analyze the results ofthe experiment, we can see the algorithm is preemptive from the result,and it can meet the needs of real time attribute. The algorithm can beused in embedded Linux according to the specified real time system.To solve the problems of the fairness and real time attributes betweendifferent user of Linux, on the bases of analyzing Fair-share schedulingalgorithm, the thesis advances an improved Fair-Share Scheduling——UTRSalgorithm(User Timeslice Round Scheduling) which is aimedat solving theproblem of priority reverse, we realize it in Linux 2.4.20 kernel, andcompare it with FSS in algorithm performance. By validating, the algorithmis satisfied with the fairness between different users.

Table of contents

Abstract 3-4 Abstract 4-7 The first chapter 7-10 1.1 Introduction 7-8 1.2 thesis ideas and content arrangements 8-10 Chapter Linux process scheduling mechanism and real-time research 10-20 2.1 Summary of real-time embedded operating system 10-12 2.1.1 real-time operating system features 10-11 2.1.2 real-time operating system kernel 11-12 2.2 Linux process scheduling mechanism 12-14 2.3 Linux real-time systems research and improvement 14-18 2.3.1 Linux real-time key problems 15-17 2.3.2 Existing real-time Linux implementations 17-18 2.4 Summary 18-20 Chapter RM algorithm analysis and implementation 20-36 3.1 Operating System Scheduling Algorithms 20-22 3.1.1 scheduling algorithm performance 20 3.1.2 Classification of real-time scheduling algorithm 20-22 3.2 RM algorithm introduced 22-26 3.2.1 RM algorithm principle 22 3.2.2 RM schedulability test algorithm analysis 22-23 3.2.3 Symbol definition 23-24 3.2.4 Related concepts 24-25 3.2.5 assumption 25 3.2.6 Theorem and prove 25-26 3.3 RM algorithm 26-32 3.3.1 Program structure design 26-27 3.3.2 Program Interface 27-29 3.3.4 realize RM schedulability test method 29-32 3.3.5 entire RM scheduling algorithm code 32 3.4 algorithm testing 32-35 3.5 RM algorithm performance analysis 35 3.6 Summary 35-36 Chapter fair share of an improved scheduling algorithm 36-56 4.1 equitable sharing scheduling policy 36-41 4.1.1 algorithms proposed background 36-37 4.1.2 priority inversion problem 37-38 4.1.3 An equitable sharing scheduling policy implementation - FSS 38-41 4.2 Improved fair share scheduling algorithm - UTRS algorithm (User Timeslice Round Scheduler) to achieve 41-50 4.2.1 Analysis and Algorithm 41-42 4.2.2 Algorithm 42-48 4.2.3 added proc kernel parameters 48-49 4.2.4 Add a profile 49-50 4.3 UTRS algorithm testing 50-54 4.3.1 test procedures to achieve 50-54 4.3.2 UTRS compared with the FSS 54 4.4 algorithms extend 54 4.5 Chapter Summary 54-56 Chapter Summary and Outlook 56-58 5.1 This work summarizes 56 5.2 Future Work Prospects 56-58 Thanks 58-59 Appendix A (master's thesis published during directory) 59-60 References 60-62

Related dissertations

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. Design of Video Monitoring System Based on the Embedded
  3. The Design of Embedded Network Video Surveillance System Based on ARM9
  4. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  5. Design of Industrial Ethernet Motion Controller Based on ARM
  6. AGV car design and development of image recognition and motion control technology based on
  7. Transplant OpenCV to Embedded System and Face Recognition
    ChenYang ·Liaoning Normal University ·2012 ·Master's thesis
  8. Linux System Transplantation and USB Driver Development Based on CK-CPU Embedded Platform
    XueJiaYin ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implementation of Unidirectional Data Transmission Device Based on Removable Storage Media
  10. Design and Realizing of the Video Monitoring System Based on the Embedded Network
    ZhangZuo ·Northeastern University ·2010 ·Master's thesis
  11. Design and Implementation of Video Acquisition and Wireless Transmission System Based on Embedded System
    LiuYu ·Ningxia University ·2014 ·Master's thesis
  12. Software Design of Visual Conversational Embedded System
  13. Research and Implementation of IoT Gateway Based on Embedded Linux System
    ChangYingLiang ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Design and Implementation of Gateway Based on ARM9and Zigbee
    LiuHongBo ·Hubei University ·2013 ·Master's thesis
  15. Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
    MaoHongYu ·Gansu Agricultural University ·2013 ·Master's thesis
  16. Research and Realization of a Smart Home Gateway Based on Linux
    ShaoChunZuo ·Chang'an University ·2013 ·Master's thesis
  17. Research and Design of BD/GPS Dual-Mode Intelligent Vehicle System
    XiaoYongJun ·Hunan University ·2013 ·Master's thesis
  18. The GPS/CNSS Navigation System Reaearch Based on Linux
  19. Design of a Data Communication System for Theodolite Based on Embedded Technology
  20. Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
    JiaoFangChao ·Shandong Normal University ·2012 ·Master's thesis