Research on Real-time Performance of the Embedded Linux Kernel

Author
LongFei
Advisor
GuanMo
School
Shenyang University of Technology
Major
Computer Software and Theory
Classification
TP316.81
Degree
Master's thesis
Year
2012
Downloads
147
Citations
0

Request the full text

Abstract

In numerous embedded operation systems, embedded Linux system is widely used inembedded system development because of its opened source codes, good scalable andportability performance. However, Linux is firstly designed as a time-sharing system toimprove the system throughput and overall performance. It is difficult to meet somerequirements of embedded real-time application systems, so it is necessary to research thereal-time performance of embedded Linux kernel.Based on the research of Linux kernel, the advantages of Linux as embeddedoperation system and the shortcomings of real-time performance are analyzed in the paper,and the main emphasis is how to improve the real-time performance of Linux. The taskscheduling strategy is the critical issue of real-time performance of Linux. According to thetask_struct definition of Linux, the paper use multi-level feedback scheduler for nonreal-time tasks and use FIFO (First Input First Output) and RR (Round-Robin) schedulerfor real-time tasks. The paper put forward two methods to improve the real-timeperformance of embedded Linux kernel. (1) Using dual kernel, RT-Linux is transplanted toLinux as the real-time kernel to process the real-time tasks. The system uses virtualinterrupt mechanism and interrupt response is processed by real-time kernel to solve theproblem of the interrupt mask. (2) Loading real-time scheduler improve systemperformance in terms of Linux task scheduling mechanism. For static periodic task, thesystem uses the RM scheduler,and it assigns short-period task higher priority. Fordynamic task, the system uses the EDF scheduler. According to the task of the earliestdeadline, it assigns early-deadline task higher priority. The test results indicate that themethods can effectively improve the real-time performance of embedded Linux kernel.

Table of contents

Summary 5-6 Abstract 6-9 The first chapter 9-15 1.1 subject background 9-10 1.2 domestic and foreign research status 10-13 1.3 The main work 13-15 The second chapter of the Linux kernel analysis 15-23 <br / > 2.1 Linux system components 15-17 2.2 Linux real-time constraints factors 17-19 2.3 Linux real-time transformation method 19-23 2.3.1 compatible kernel method 19-20 2.3.2 core kernel method 20 2.3.3 dual-core law 20-22 2.3 .4 resource kernel method 22-23 Chapter III Linux process scheduler 23-38 3.1 Linux process scheduler 23-30 3.1. 1 Linux process scheduler timing of 24-25 3.1.2 Linux scheduling policies achieve 25-27 3.1.3 Linux scheduling 27-30 <br / > 3.2 real-time scheduling algorithm 30-35 3.2.1 priority-based scheduling algorithm 31-33 3.2.2 based on time -driven scheduling algorithm 33-34 3.2.3 proportion of share -based scheduling algorithm 34 3.2.4 multiprocessor scheduling algorithm 34-35 3.3 Linux2.6 kernel scheduling is 35-38 3.3.1 to run the new queue runqueue 35-36 3.3.2 task_struct data structure 36-37 3.3 .3 new scheduling function schedule () 37 3.3.4 O (1) algorithm 37-38 Chapter IV of the Linux kernel design and implementation of real-time 38-56 4.1 improved by adding real-time scheduler for Linux real-time 38-50 4.1.1 add RM scheduler 38-42 4.1.2 Add EDF scheduler 42-47 4.1.3 scheduler modular 47-50 4.2 nbsp improved real-time Linux kernel structure by double ; 50-56 4.2.1 Linux interrupt mechanism 50-51 4.2.2 use of RT-Linux handle external interrupt 51-52 4.2.3 RT-Linux kernel configuration 52-53 4.2.4 compile the kernel 53 4.2.5 experimental results 53-56 Chapter V Conclusion 56 - 57 References 57-59 learning research 59-60 Thanks 60

Related dissertations

  1. Development of a Real-time Embedded Linux System in an Integrated Strong-Motion Seismograph Oriented to Earthquake Early Warning
  2. The Research of Embedded Linux and the Design of Gui
  3. The Implementation and Performance Analysis for Pseudo Token Bus in the Central Vehicle Navigation System
    CuiTianYing ·Jilin University ·2008 ·Master's thesis
  4. Research on Scheduling Algorithm of Multimedia System
  5. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  6. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  7. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  8. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  9. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  10. Research and Design of Harmonic Detecting Device Based on ARM9
  11. Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
    HaoYongLiang ·Tianjin University of Technology ·2013 ·Master's thesis
  12. Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
  13. Research on Control System of a6-DOF Motion Platform
    YaoShiLei ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and Application Research on Multi-Master Node TTCAN Network
  15. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  16. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  17. Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
    ZhaoYue ·Shenyang University ·2013 ·Master's thesis
  18. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  19. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  20. The Realization and Research on Real-time of CANopen Network