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
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
- Design and Implementation of Experiment Platform for Operating System Based on Linux
- Research on GPS Vehicle Navigation System Based on ARM9
- Analysis and reliability of Linux device driver
- Study of Real-time Based on Embedded Linux Operating System
- Linux operating system on the ARM hardware platform transplantation
- Application Research of Real-Time Linux in SMP System
- Based on Particle Swarm Shop Scheduling Problem
- Research on Real-Time Algorithms of Garbage Collection for Embedded Real-Time System
- Study and Improvement on Real Time about Embedded Linux
- Analysis and Improvement of Real Time Performance on Embedded Linux
- A Real-time Extension to the Standard Java Virtual Machine
- PC-based CNC bending machine real-time multi-tasking technology research
- The Research of Embedded Linux Real-Time OS and Appliance in IA
- One kind of real-time operating system can survive Research and Implementation
- Beijing reactive power balance analysis and safety evaluation system of line voltage
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM