Analysis and real-time transformation of the Linux kernel

Author
LaiJuan
Advisor
LiaoJianMing , LiuQiang
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP316.81
Degree
Master's thesis
Year
2007
Downloads
752
Citations
11

Request the full text

Abstract

The real-time operating system is a hot research topic in recent years , compared with the common general-purpose operating systems , real-time operating system is characterized by the correctness of the system depends not only on the logical correctness , but also depends on the timeliness of the output results . The real-time operating systems are widely used in national defense , industrial automation , communications and other fields . Linux2.6 kernel has been released in the end of 2003 , has been a lot of testing and practical application demonstrate an efficient and stable kernel . Compared to the 2.4 kernel , 2.6 using some new technology to make real-time performance has been greatly improved , such as preemptive kernel , the new O (1) scheduling algorithm . These and other background work makes Linux into a real-time operating system (RTOS) becomes possible . Although the real-time operating system developers can benefit from these changes , but the Linux 2.6 is still not a real-time kernel . Therefore need to Linux2.6 kernel real - time transformation , to further improve the real-time nature . In this paper, based on the Linux 2.6 kernel source code , in-depth analysis and summary of the Linux 2.6 kernel process scheduling mechanism, clock mechanism . Improvement program for the Linux 2.6 kernel clock mechanism in the clock granularity too coarse problem draws Kurt-Linux remoulding of the clock mechanism , the One-Shot Mode ( single trigger mode) Linux2.6 timer , clever to achieve a new clock mechanism . Makes the system reaches a microsecond clock accuracy while maintaining the original load capacity ; draws excellent dynamic real-time scheduling algorithm LSF ( minimum margin for the problem of the lack of real-time process scheduling mechanism in the Linux 2.6 kernel scheduling policy , priority algorithm ) margin Thought with new Linux2.6 process scheduling structure combined , at the same time keep the characteristics of the original system O (1) scheduler , enhanced real - time scheduling capabilities . Pass the test , this is a real-time process margin value is connected to link real-time dynamic scheduling mechanism with a single shot to the combination of fine-grained clock mechanism to improve the Linux system , real-time performance over Linux2.6 kernel further improved , more suitable for the development of embedded real-time applications .

Table of contents

Abstract 4-5 abstract 5-8 Chapter 1 Introduction the 8-11 the study 1.1 Background 8 < br / > 1.2 significance 8-9 1.3 thesis objectives and arrangements 9-11 Chapter 2 real-time systems ; nbsp 11-24 2.1 Overview 11-13 the main difference between the 2.2 real-time systems and general-purpose operating system 13-14 2.3 real-time system predictability 14-16 2.4 real-time determination and time constraints 16-17 2.5 commonly used in real-time scheduling method 17-19 2.6 common LINUX-based real - time operating system ; nbsp 19-24 Chapter 3 Linux kernel analysis 24-41 3.1 Linux system architecture 24-26 3.2 Linux kernel analysis 26-36 < br / > 3.3 LINUX task response time analysis 36-37 3.4 2.6 kernel-based real - time development advantages 37-39 3.5 Linux operating system real-time performance is not strong 39-41 Chapter 4 LINUX clock system improvements ; nbsp 41-48 4.1 timer hardware 41-42 4.2 standard kernel timer achieve 42-43 4.3 to achieve fine-grained timer 43-48 Chapter 5 Linux 2.6 kernel scheduling mechanism transformation 48-60 < br / > 5.1 Linux 2.6 kernel scheduling mechanism 48-53 5.2 improved dynamic real-time scheduling mechanism 53-58 5.3 improved scheduling performance analysis 58 - 60 Chapter 6 LINUX kernel development and testing 60-68 characteristics of the 6.1 Linux kernel development 60-62 6.2 compiled kernel modules and 62-64 6.3 testing and analysis 64-68 Conclusion 68-69 Acknowledgements 69-70 reference 70-73

Related dissertations

  1. Design and Implementation of Experiment Platform for Operating System Based on Linux
    XiaoLiang ·Central South University ·2013 ·Master's thesis
  2. Research on GPS Vehicle Navigation System Based on ARM9
  3. Analysis and reliability of Linux device driver
  4. Study of Real-time Based on Embedded Linux Operating System
    ZhuYu ·Chang'an University ·2012 ·Master's thesis
  5. Linux operating system on the ARM hardware platform transplantation
  6. Application Research of Real-Time Linux in SMP System
    QiuZuo ·Southwest Jiaotong University ·2012 ·Master's thesis
  7. Based on Particle Swarm Shop Scheduling Problem
    ChangGuiJuan ·Qingdao University ·2008 ·Doctoral dissertation
  8. Research on Real-Time Algorithms of Garbage Collection for Embedded Real-Time System
  9. Study and Improvement on Real Time about Embedded Linux
    ZhangXingFa ·Southwest Jiaotong University ·2006 ·Master's thesis
  10. Analysis and Improvement of Real Time Performance on Embedded Linux
    JiangJin ·Wuhan University of Technology ·2006 ·Master's thesis
  11. A Real-time Extension to the Standard Java Virtual Machine
  12. PC-based CNC bending machine real-time multi-tasking technology research
  13. The Research of Embedded Linux Real-Time OS and Appliance in IA
    ChenHeSong ·Hefei University of Technology ·2002 ·Master's thesis
  14. One kind of real-time operating system can survive Research and Implementation
  15. Beijing reactive power balance analysis and safety evaluation system of line voltage
  16. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  17. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  18. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  19. The Research of Household Remote Monitoring Based on Embedded Web Server
  20. Research and Design of Intelligent Video Surveillance System Based on ARM