Research and Implementation of Real-Time Performance Improvements of Embedded Linux Operating System

Author
WangShiBo
Advisor
YangGuangMing
School
Northeastern University
Major
Computer Science and Technology
Classification
TP316.81
Degree
Master's thesis
Year
2009
Downloads
113
Citations
0

Request the full text

Abstract

With the rapid development of computer hardware and software technology , the increasingly widespread use of embedded devices . As large as the space shuttle to personal mobile phones, everywhere the shadow of embedded products . In the endless stream of embedded products , the performance of the pros and cons of its embedded operating system are inseparable. Therefore, the development of embedded operating system has become a hot topic of today 's computer applications . In the process of the rapid development of embedded systems , more and more emphasis on the strong real-time system , which makes it appear especially strong real-time systems research . In real-time embedded operating system , Linux-based embedded operating system , due to its open source , system stability and other characteristics , making it increasingly welcomed by the people . But Linux as a general-purpose time-sharing system , it can not be directly used as a real-time operating system to use , it needs to be real-time upgrade . Therefore, Linux transformed into a strong real-time embedded operating system, with a very high practical significance. In this paper, a general - purpose Linux system many problems exist in the real - time performance analysis of Linux systems can not achieve hard real-time technical obstacles . Take full advantage of real - time Linux system improvement programs; focusing from the Linux kernel can not be preempted , interrupt handling and clock timer fine-grained scheduling algorithm these three aspects of transformation . Kernel can not be preempted , in accordance with the dual-core model of the transformation of ideas , make full use of the RTAI technology existing Linux kernel real-time transformation ; coarse-grained , using state-of-the-art the APIC clock from a hardware point of view to achieve high precision clock system ; inefficient real-time process scheduling strategy , by implementing a new scheduling system , effectively improve the performance of the real-time scheduling of the task . In the end , the standard Linux system and transform the system from the three aspects of the comparison test . The experimental results show that after the transformation of the Linux system , real-time performance has been greatly improved , the research results is satisfactory . The new Linux system to meet the real-time requirements , and truly become a strong real-time systems .

Table of contents

Abstract 5-6 ABSTRACT 6-10 Chapter 1 Introduction 10-14 1.1 research background 10-11 1.2 research status 11-12 1.3 Significance and research topics 12-13 1.4 paper structure 13-14 <br / > Chapter 2 real-time embedded operating system research 14-22 2.1 real-time operating system introduced 14-19 2.1.1 real-time and real-time systems 14 2.1.2 real-time operating system 14-16 2.1.3 real-time operating system's main performance indicators 16-17 2.1.4 real-time systems with time-sharing systematic difference and improvement 17-19 2.2 Linux for real-time support 19-21 2.2.1 Common Linux itself supports real-time analysis 19 -20 2.2.2 Linux supports hard real-time technical obstacles 20-21 2.3 Chapter Summary 21-22 Chapter 3 LINUX improved method of real-time Research 22-30 3.1 Linux supports real-time common basic strategy 22-26 3.1.1 compatible kernel methods 22 3.1.2 Dual-core method 22-23 3.1.3 Resource kernel methods 23-25 ?? 3.1.4 core kernel methods 25-26 3.2 Typical real-time analysis of the Linux program 26-28 3.2.1 RED-Linux 26 3.2.2 RT-Linux and RTAI 26-27 <br / > 3.2.3 Hard-hat Linux 27-28 3.3 Linux real-time performance improvement program 28-29 3.4 Summary 29-30 Chapter 4 Analysis and Improvement of process scheduling mechanism 30-44 4.1 real-time scheduling policy analysis 30-34 4.1.1 Linuix process scheduling 30-32 < br /> 4.1.2 Linux Process Priority 32 4.1.3 Linux2.6 scheduling opportunity 32-33 4.1.4 scheduling strategy and basis 33-34 4.2 Linux kernel O (1) scheduling algorithm 34-35 4.2.1 achieve O (1) algorithm for the key points 34-35 4.2.2 O (1) scheduling algorithm deficiencies 35 4.3 Linux real-time scheduling algorithm to improve 35-39 4.3.1 LSF scheduling algorithm analysis 36 - 37 4.3.2 LSF algorithm 37-38 4.3.3 Preemption Threshold setting 38 4.3.4 schedulability analysis 38-39 4.4 LSF algorithm implementation in Linux 39-42 4.5 LSF algorithm to improve the performance analysis 42-43 4.5.1 remain O ( 1) scheduling feature 42 4.5.2 real-time scheduling flexibility 42-43 4.5.3 new scheduling consideration 43 4.6 of this chapter Summary 43-44 Chapter 5 clock mechanism analysis and improvement 44-56 5.1 Linux clock system 44-46 5.1.1 Linux clock source 44 5.1.2 Linux timer 44-46 5.2 grained parallel clock system design and implementation 46-55 5.2.1 Real-time timer queue 47-48 5.2.2 APIC programming 48-49 5.2.3 APIC programmable clock interrupt realization 49 - 52 5.2.4 APIC and 8254 coexistence 52-55 5.3 Chapter Summary 55-56 Chapter 6 dual-core real-time systems analysis and implementation 56-72 6.1 dual core mechanism of technical analysis 56-65 6.1.1 soft interrupt simulation (Software Interrupt Emulation) 56-61 <br / > 6.1.2 Real-time hardware abstraction layer 61-64 6.1.3 Linux kernel modifications to the original 64-65 6.2 preemptive real-time kernel design and implementation 65-71 6.2.1 Linux kernel module technology 65-66 6.2.2 preemptive kernel architecture composition and realization 66-71 6.3 real-time Linux system specific build 71 6.4 Chapter Summary 71-72 Chapter 7 LINUX system improved real-time performance test 72-80 < br /> 7.1 real-time system evaluation 72 7.2 Test Tool Linux Trace Toolkit Introduction 72-73 7.3 Test results 73-80 7.3.1 Dual-core real-time analysis 73-76 7.3.2 real-time scheduler transformation test 76 7.3.3 Real-time clock system test 76-80 Chapter 8 Conclusions 80-82 8.1 thesis work summarizes 80 8.2 The main contribution of papers and innovation 80-81 < br /> 8.3 the lack of research and prospect 81-82 References 82-84 Thanks 84

Related dissertations

  1. Real-time Operating System Customization of Linux and Development of Device Driver
  2. Navigation System CAN Network Design and Implementation Based on Time-triggered
    YuYing ·Harbin Engineering University ·2013 ·Master's thesis
  3. Study of Real-time Based on Embedded Linux Operating System
    ZhuYu ·Chang'an University ·2012 ·Master's thesis
  4. Research on Virtual Machine Scheduling in Real-time Environment
    GongWenJia ·Harbin Institute of Technology ·2013 ·Master's thesis
  5. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  6. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  7. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  8. The Research of Household Remote Monitoring Based on Embedded Web Server
  9. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  10. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  11. Research and Design of Intelligent Video Surveillance System Based on ARM
  12. Design of Video Monitoring System Based on the Embedded
  13. The Design of Embedded Network Video Surveillance System Based on ARM9
  14. Design and Application of the Distributed Monitoring System Based on Embedded Web
  15. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  16. Embedded Software Design of AC Field Detection Instrument Based on ARM
  17. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  18. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  19. Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
    HaoYongLiang ·Tianjin University of Technology ·2013 ·Master's thesis
  20. Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus