Study and Improvement on Real Time about Embedded Linux
- Author
- ZhangXingFa
- Advisor
- JiangChaoGen
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 185
- Citations
- 1
Abstract
With the developing of internet, EMPU(Embedded Micro Processor Unit) had been widely applied most of fields from Boeing to mobile.The high efficiency and stable of Linux kernel has been verified in most of fields. It is flexible for Linux kernle to cut out it and it is appropriate for embedded system.kernel. Its advantage is free, opening source, stable. Linux provides a strong supporter for developing applied software.But as a general operation system and Linux is not a really real time operation system, so it is only named soft real time and is not hard real time operation system. Its standard kernel has not supported event priority and preempted real time, at the same time, it has not provided predictable response time which has been needed for most of embedded application. So it is important to extend its real time performance during developing embedded Linux system.But there has three apparent shortcomings as a general operation system, i.e., long interrupted lock time, unpreempted kernel, fair schedule policy, so this paper will discuss next several parts to improve its real time performance in favor of developing the embedded system:Unpreempted kernel: this paper puts forward the modifying ideas from preempt lock, mutex lock, interrupt process and shedule function. Schedule algorithm: it set up a new shedule model and raises a new shedule algorithm from the cunent shedule bug.Interrupt processing and timer resolution: beacuse now Linux timer resolution is low, so this paper analyzed the advantage and shortcoming about the efficiency of timer interrupt, muti-shot timer interrupt and nice timer system.
Table of contents
Abstract 4-5
Abstract 5-6
directory 6-8
first chapter 8-12 <br / > 1.1 definition and classification of embedded systems the
the 1.1.1 embedded systems hardware 8-10 the
the 1.1.2 embedded systems software 8-9 9-10
1.2 embedded Linux system 10
1.3 This topic purpose and meaning 10-11
1.4 of the subject content and structure 11-12
kernel structure the 12-28
2.1 kernel structure of introduced 12
2.2 linux kernel enhanced real-time program
2.2.3 kernel exists 13-14 12-15
2.2.1 dual-core structure 12-13
2.2.2 directly modify the Linux kernel the problem 14-15
2.3 preemptive kernel to achieve 15-24
2.3.1 seize the lock to achieve 16-18
2.3. the mutex implementation 18
2.3.3 interrupt handling code modifications the 18-21 2.3.4 scheduling function
modify 21-24
2.4 test the 24-28 2.4.1 preemptive version of the original version with modified
26-27
2.4.2 Analysis of 27 -28
process scheduling algorithm improvement 28-42
3.1 about the process of scheduling related concepts 28
3.2 process scheduling principle 28-30
3.3 real-time scheduling algorithm 30-34
3.3.1 Time-driven scheduling 30-31
3.3.2 priority-driven scheduling 31-32
3.3.3 the shared-driven scheduling the 32-34
3.4 scheduling algorithm improvements 34-42
3.4.1 real-time model to establish 34-35
3.4.2 structure defined 35
3.4.3 linked list defined 35-36
3.4.4 real-time process scheduling strategy algorithm Description 36-42
Chapter interrupt response time and timer adjustment 42-63
4.1 interrupt mechanism and its principle 42
4.2 interrupt response time and task switching time 42-43
4.3 Linux timer 43-44
4.4 timer implementation mechanism 44-47 <br / > 4.4.1 external mechanism 44
4.4.2 internal mechanisms concrete realization of the internal mechanism of the 44
4.4.3 44-47
4.5 clock transformation 47-57
the 4.5.1 clock frequency modifications 48-49
4.5.2 prevent redundant clock interrupt service routine running 49-52
4.5.3 multi-mode clock interrupt the the Precision clock system 52-54
4.5.4 Parallel 54-57
4.6 test 57-59
4.7 Experimental results 59-61
4.8 Analysis 61-63
Chapter V Conclusion 63-65
5.1 this article a summary of the work the 63-64
5.2 embedded linux outlook 64-65
Acknowledgements 65-66
Reference 66-69
papers published during the degree 69
Related dissertations
- Study of An Improved Method of Attenuating Linux Time Granularity
- 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
- Wireless sensor networks and its application in communication interrupt handling mechanisms
- Analysis and real-time transformation of the Linux kernel
- Linux2.6 kernel Design and Implementation of the new high-precision timer
- Real-time Research of Embedded Operating System Based on Linux
- The Research of Embedded Linux Real-Time OS and Appliance in IA
- Analysis and Improvement of Real-time Capability of Embedded Linux2.6
- Embedded real-time Linux system
- Interrupt mechanism for multi - CPU system
- Research of Real-Time Capability of Embedded Linux System
- Development of Network Interface Chip DM9103EP Driver
- Research on Real-Time Technology of Virtual Test System
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System