Real-time performance of embedded Linux and Performance Testing Methods

Author
HuangWuLing
Advisor
SongLi
School
Chinese Geology University (Beijing)
Major
Applied Computer Technology
Classification
TP316.81
Degree
Master's thesis
Year
2005
Downloads
266
Citations
1

Request the full text

Abstract

Linux is widely used in consumer electronic, industrial control and telecomfields for its open source, robustness and efficiency, abundant in applications etc.Taking these advantages, developers also try to make Linux a real time system,substituting the traditional expansive embedded realtime OS.This thesis aims to provide a router prototype with good QoS and lower kernellatencies based on lots of research on Linux kernel realtime extension. Aiming toreduce the latency caused by several kinds of kernel locks, this thesis brings up apriority inheritance mutex, substituting these locks, which prevents system frompriority inversion and achieves good performance. Furthermore, this thesis drawsanother conclusion that all ISRs, except the system timer ISR, can be managed bykernel threads which scheduled by the O(1) scheduler. Then the locks disabled IRQscan also be replaced by mutex, which further improves the kernel preemptible feature.Additionally, this thesis enhances Linux timer system and provides better resolutionthan tradition kernel’s 10ms timer. Therefore, the kernel gets highly extended.Successfully porting 2.6 Linux kernel to a MPC8260 board provides theenvironment for further development. As a part of thesis, several kinds of kernellatencies and their benchmark methods are discussed in the end of this thesis. Finally,this thesis looks forwards to new real time kernel technologies and discusses thepossible improvement of this system.

Table of contents

Chapter Introduction 8-12 1.1 Background and Significance 8 1.2 RTOS Introduction 8-10 1.2.1 real-time operating system classification 8-9 1.2.2 real-time operating system features 9-10 1.3 LINUX and embedded real-time operating system 10-11 1.3.1 Linux as an embedded real-time operating system, the advantages and disadvantages 10 1.3.2 limitations of the normal Linux real-time applications 10-11 1.4 chapter Summary 11-12 Chapter LINUX-based embedded real-time programs 12-16 2.1 LINUX real-time extension of the research status 12-14 2.1 .1 RTLinux and RTAI hard real-time programs 12-13 2.1.2 Montavista soft real-time programs 13-14 2.2 real-time implementation of the system 14-15 2.2.1 problems 14 2.2.2 system design goals 14 2.2.3 the system improvements 14 - 15 2.3 Chapter Summary 15-16 Chapter improving kernel preemption technology research and implementation 16-33 3.1 LINUX process scheduler performance improvements and task preemption support 16-21 3.1.1 Linux process scheduler analysis 16-21 3.2 LINUX kernel preemption is improving technology 21-32 <br / > 3.2.1 kernel locking mechanism and various delays 21-23 3.2.2 priority inheritance semaphore design and implementation 23-30 3.2.3 further improve the system preemption is 30-32 3.3 Chapter Summary 32-33 Chapter LINUX clock management system to improve technical 33-41 4.1 LINUX clock management 33-36 4.1.1 Linux kernel clock system 33-35 4.1.2 Linux timer service 35 - 36 4.2 LINUX clock system is inadequate and improved methods 36-40 4.2.1 precision timer to achieve 36-40 4.3 Summary 40 -41 Chapter router prototyping 41-58 5.1 hardware platform to introduce 41-43 5.2 2.6 LINUX transplanted into MPC8260 development board 43-57 5.2.1 bootloader transplant 43 5.2.2 kernel porting review 43-44 5.2.3 boot process analysis 44-50 5.2.4 portable code specific analysis 50-57 5.3 Chapter Summary 57-58 Chapter VI performance Test method 58-66 6.1 benchmark principle 58-59 6.2 real-time system performance metrics and test methods 59-60 6.3 router prototype performance testing 60-63 6.4 router prototype real-time clock performance test 63-65 6.5 Chapter Summary 65-66 Chapter VII Conclusion and Outlook 66 -67 References 67-69 Thanks 69-70 Profile 70 master's degree published during the academic papers 70

Related dissertations

  1. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  2. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  3. 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
  4. Research and Design of Harmonic Detecting Device Based on ARM9
  5. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  6. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  7. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  8. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  9. Research on Intelligent Home Furnishing system based on Android
  10. Research and Development of Intelligent Board Based on Multi-sensor Fusion
    WangBaiCai ·Northeastern University ·2013 ·Master's thesis
  11. Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
    LuoJing ·Hunan University ·2013 ·Master's thesis
  12. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  13. Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
    WangZhiChao ·Central South University ·2013 ·Master's thesis
  14. The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
    ChenWei ·Ningbo University ·2013 ·Master's thesis
  15. The Research and Design of Embedded Linux Based on ST-E9500
  16. Research of Embedded Linux Device Drivers Concurrency Control
    ZhangJiHong ·Chang'an University ·2013 ·Master's thesis
  17. Research and design of Beidou navigation terminal based on ARM+FPGA
  18. Designing and implement of terminal display and control of radar based on Embedded System
  19. The Design of Embedded Video Monitoring Terminal Based on3G Technology
    WuXiaoYun ·Northeastern University ·2012 ·Master's thesis
  20. Network Video System Design and Research Based on Davinci Architecture
    WeiLiZuo ·Tianjin University ·2012 ·Master's thesis