The Research and Practice of Real-Time Performance of Linux Kernel
- Author
- ZengXiaoLong
- Advisor
- DingZhenGuo , LiaoShuangQuan
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 131
- Citations
- 2
Abstract
Domestic deficiencies in the development of real-time operating system , a comprehensive study of the real - time operating system , especially in the real-time operating system to do the in-depth analysis , using a variety of real-time method to improve the system , in many ways improve the real-time nature of the system . Priority-based preemption scheduling features for real-time operating system , proposed an improved multi- priority ready queue scheduling algorithm , the scheduling system in the case of strong load will still be able to ensure 0 ( 1) time complexity , good ensure stability and real-time scheduling . A configurable multi- granularity clock mechanism . The basis of user self- configuration clock granularity , using double-precision clock mechanism , the distinction between ordinary clock interrupt and high-precision clock interrupt , only to meet real - time demand, but also to reduce unnecessary overhead , better to solve the real-time performance and efficiency of the system the conflict between . Interrupt management , combined with the characteristics of the platform processors , the idea of a unified takeover processing system of external interrupt . By introducing the mechanism of dual stack solution could trigger a stack overflow interrupt nesting . Design a hard real-time operating system kernel , hoping to be able to play a certain role in promoting the development of real-time operating system .
Table of contents
Abstract 3-4
Abstract 4-7
The first chapter 7-15
the
topic 1.1 Background 7-8
1.1.1 the concept of real-time systems 7-8
1.1.2 to measure real-time indicators
1.2 Linux operating system constraints of real-time factors 8-10
1.2.1 of the Linux time-sharing characteristics 8-9
1.2.2 Linux as a real-time operating system's shortcomings 9-10
1.3 Research status quo 10-12
1.4 The research significance 12-13
1.5 research objectives 13
In 1.6 Research content and core technology 13-14
In 1.7 papers organizational structure 14-15
Linux kernel analysis 15-33
2.1 Linux operating system, the basic characteristics of 15-16
2.1.1 Linux system constitutes 15-16
2.2 Linux kernel 16-18
2.2.1 Linux kernel subsystem 17-18
the
a 2.3 kernel synchronization measures 18-20
2.3.1 Close interrupt (Interrupt disabling) 18
2.3.2 spin lock (Spin lock) 18-19
2.3.3 semaphore (semaphore) 19-20
2.3.4 semaphore and spinlock difference 20
2.4 interrupt management nbsp mechanisms; 20-30
2.4.1 the basic concepts of interrupts and exceptions; nbsp 20-21
2.4.2 Linux system interrupt mechanism 21
2.4.3 Linux system initialization interrupt mechanism 21-26
2.4.4 hardware interrupt occurs, save the scene of action 26
2.4.5 interrupt handler during the execution of 26-29
2.4.6 interrupt return process 29-30
2.5 of the Linux clock interrupt 30-33
2.5.1 clock interrupt the additional burden 31-33
Chapter embodiment of real-time systems 33-43
3.1 real-time analysis of the program 33-34
3.2 Linux RTAI real-time programs 34-43
3.2.1 Linux loadable kernel module mechanism 35-36
3.2.2 RTAI real-time principles and mechanism 36-38
3.2.3 RTAI technology 38-41
3.2.4 RTAI real-time tasks to achieve 41-43
Chapter RTAI real-time system optimization 43-53
In 4.1 task scheduling 43-45
4.1.1 scheduling policy 43-44
In 4.1.2 scheduling to achieve 44-45
4.2 clock management 45-48
the
Clock 4.2.1 granularity 45-47
The
clock 4.2.2 interrupt service routine 47-48
4.3 interrupt handling 48-53
4.3.1 interrupt evaluation indicators 48-49
4.3.2 for the underlying interrupt mechanism 49-50
4.3.3 interrupt mechanism features 50-53
The
real-time test 53-59
5.1 context switching speed The 53-55
5.2 interrupt latency 55-59
the
Concluding remarks 59-61
the
Acknowledgements 61-63
the
References 63-67
Appendix A test data 67-71
Related dissertations
- Research on Real-time Performance of the Embedded Linux Kernel
- The Implementation and Performance Analysis for Pseudo Token Bus in the Central Vehicle Navigation System
- Research on Scheduling Algorithm of Multimedia System
- The Research of Real-Time Technique on Linux-Based Embedded Operating System
- Supervising & Scheduling of Multi-DSPs in Motion Control System
- Study of Real-time Grid Monitoring System Based-on Complex Event Processing
- Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
- Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
- Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
- Research on Control System of a6-DOF Motion Platform
- Design and Application Research on Multi-Master Node TTCAN Network
- Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
- The Realization and Research on Real-time of CANopen Network
- The Research on Ethernet_based Interface of Embeded Motion Control System
- Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
- On-board Vision System for Humanoid Ping-Pong Robot
- Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
- Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
- The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
- Research on Task Scheduling and Communication Mechanisms Based on RTEMS