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

Request the full text

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

  1. Study of An Improved Method of Attenuating Linux Time Granularity
    WangYinHui ·Chongqing University ·2005 ·Master's thesis
  2. Design and Implementation of Experiment Platform for Operating System Based on Linux
    XiaoLiang ·Central South University ·2013 ·Master's thesis
  3. Research on GPS Vehicle Navigation System Based on ARM9
  4. Analysis and reliability of Linux device driver
  5. Study of Real-time Based on Embedded Linux Operating System
    ZhuYu ·Chang'an University ·2012 ·Master's thesis
  6. Linux operating system on the ARM hardware platform transplantation
  7. Application Research of Real-Time Linux in SMP System
    QiuZuo ·Southwest Jiaotong University ·2012 ·Master's thesis
  8. Wireless sensor networks and its application in communication interrupt handling mechanisms
  9. Analysis and real-time transformation of the Linux kernel
  10. Linux2.6 kernel Design and Implementation of the new high-precision timer
  11. Real-time Research of Embedded Operating System Based on Linux
  12. The Research of Embedded Linux Real-Time OS and Appliance in IA
    ChenHeSong ·Hefei University of Technology ·2002 ·Master's thesis
  13. Analysis and Improvement of Real-time Capability of Embedded Linux2.6
    ZhangLei ·Harbin Engineering University ·2009 ·Master's thesis
  14. Embedded real-time Linux system
  15. Interrupt mechanism for multi - CPU system
  16. Research of Real-Time Capability of Embedded Linux System
    LiuNiNa ·Shenyang University of Technology ·2009 ·Master's thesis
  17. Development of Network Interface Chip DM9103EP Driver
  18. Research on Real-Time Technology of Virtual Test System
    LiZuo ·Harbin Institute of Technology ·2009 ·Master's thesis
  19. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  20. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis