The Research on the Real-Time of Embedded Linux

Author
SangJinGe
Advisor
GengHengShan
School
Hebei University of Technology
Major
Pattern Recognition and Intelligent Systems
Classification
TP316.81
Degree
Master's thesis
Year
2007
Downloads
163
Citations
1

Request the full text

Abstract

Real-time system is a hot spot in computer application. Linux, as its open source, highstability, low cost and some other characteristics, is so fit for embedded system developments and has become the fastest developing operating system in this field. Improving general Linux’s real-time capability to make it more fit for embedded system applications is in great practical significance and has become one of hot research directions in domestic and foreign computer fields.Linux is originally designed as an time share operating system. Due to it’s non-preemptive kernel, coarse time granularity, frequently interrupt disable, virtual memory and other buffer mechanism, Linux is not so“real-time”as an RTOS.On the basis of reading and research of Linux 2.6 kernel resource codes and lots of documents and materials, the paper gives the deep analyses and summaries of Linux 2.6 kernel’s task scheduler mechanism. As the improvement solution, as to the problem of Linux 2.6 kernel lacking in real-time scheduling algorithms and policies in the scheduler mechanism, the "laxity" notion is introduced from the good dynamic real-time scheduling algorithm LSF(laxity small first). Combination of the laxity and the new task scheduler data structure in Linux2.6 enhances the system’s real-time scheduler capability as well as maintains the original O(1) scheduling characteristic. In addition the Value & Minimum- Laxity- First Scheduling (VMLF) algorithm was proposed instead of the original kernel FIFO algorithm,which is more the fit for high real-time application in embedded fields.

Table of contents

Abstract 4-5 Abstract 5-8 The first chapter 8-12 § 1-1 topics background 8-9 § 1-2 of embedded systems research status 9-10 1-2-1 related products on the international situation and technology trends 9-10 1-2-2 domestic situation of related products and technology trends 10 § 1-3 topics significance and research 10-12 Chapter Linux-based embedded systems 12-19 § 2-1 Real-Time Systems 12-14 2-1-1 What is the real-time system 12-13 2-1-2 several important concepts about RTOS 13-14 § 2-2 of embedded real-time systems 14-16 2-2-1 Overview 14 2-2-2 embedded real-time system architecture 14-15 2-2-3 embedded real-time operating system classification 15-16 2-2-4 embedded real-time system development 16 § 2-3 Embedded Linux 16-18 2-3-1 Advantages of embedded Linux 16-17 2-3-2 restricting factor analysis, real-time Linux system 17-18 § 2-4 Summary 18-19 Chapter improving the Linux kernel real-time analysis and research 19-29 § 3-1 Linux kernel real improvements typical method 19-20 3-1-1 directly modify the kernel 19 3-1-2 add a real-time kernel 19 3-1-3 defects other real improvements 19-20 § 3-2 of the basic concepts of real-time scheduling 20-22 3-2-1 real-time scheduling of the basic terminology 20 3-2-2 real-time scheduling of the basic model 20-21 3-2-3 basic real-time scheduling theory 21-22 § 3-3 Real-time scheduling policy 22-25 3-3-1 Time-driven scheduling 22 3-3-2 priority-driven scheduling 22-24 3-3-3 shared drive scheduling 24-25 § 3-4 mainstream embedded Linux real-time analysis and evaluation methods 25-28 3-4-1 RTLinux 25-26 3-4-2 RTAI 26-27 3-4-3 KURT 27 3-4-4 Red-Linux 27-28 3-4-5 Comparison and Evaluation 28 § 3-5 Summary 28-29 The fourth chapter on Linux process scheduling research 29-36 § 4-1 on the Linux 2.4.18 kernel process scheduling analysis 29-31 4-1-1 dispatch timing 29 4-1-2 scheduling strategy and basis 29-30 4-1-3 dispatch main analysis 30-31 4-1-4 conclusions 31 § 4-2 Linux 2.6.0 scheduler analysis 31-36 4-2-1 Linux 2.6.0 kernel scheduling mechanism 31-35 4-2-2 defects in real-time scheduling 35-36 Chapter V of the Linux kernel real-time improvement program 36-42 § 5-1 Algorithm Linux2.6 using LSF scheduling mechanism 36-40 5-1-1 dispatch system to improve the basic principles of 36-38 5-1-2 improved scheduling system code analysis 38-39 5-1-3 improved scheduling system code analysis concluded 39-40 § 5-2 min relaxation time algorithm 40-42 5-2-1 algorithm design 40-41 5-2-2 algorithm performance evaluation 41-42 Chapter Summary and Outlook 42-43 § 6-1 This article summarizes 42 § 6-2 This outlook 42-43 References 43-46 Thanks 46

Related dissertations

  1. Research and Improvement of Real-Time Capability of Embedded Linux System
    LiZuo ·Shenyang University of Technology ·2006 ·Master's thesis
  2. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  3. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  4. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  5. Research and Design of Harmonic Detecting Device Based on ARM9
  6. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  7. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  8. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  9. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  10. Research on Intelligent Home Furnishing system based on Android
  11. Research and Development of Intelligent Board Based on Multi-sensor Fusion
    WangBaiCai ·Northeastern University ·2013 ·Master's thesis
  12. Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
    LuoJing ·Hunan University ·2013 ·Master's thesis
  13. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  14. Design and Realization of TCN Gateway Based on Ethernet and MVB
    YuJian ·Zhejiang University ·2014 ·Master's thesis
  15. Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
    WangZhiChao ·Central South University ·2013 ·Master's thesis
  16. The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
    ChenWei ·Ningbo University ·2013 ·Master's thesis
  17. The Research and Design of Embedded Linux Based on ST-E9500
  18. Research of Embedded Linux Device Drivers Concurrency Control
    ZhangJiHong ·Chang'an University ·2013 ·Master's thesis
  19. Research and design of Beidou navigation terminal based on ARM+FPGA
  20. Designing and implement of terminal display and control of radar based on Embedded System