The Research and Implemtation on Satellite Embedded Operating System Supporting Multicore Processors

Author
ZhuLiYong
Advisor
TanQingPing
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2008
Downloads
246
Citations
4

Request the full text

Abstract

With the continuous improvement of the satellite information processing capacity requirements, the contradictions between performance and power consumption of the onboard computer system is becoming increasingly apparent. With respect to single-core processors, multi-core processor in the same power consumption, higher performance, help to solve the contradiction between the onboard computer system performance and power consumption. In this context, the embedded operating system support for multi-core processors become the hot. Operating system to support SMP (Symmetric Multi-Processing) technology, shared memory, and performance-power ratio higher, easy-to-load balancing, etc., to give full play to the advantage of the performance of multi-core processors. In view of this, the paper focused to SMP way to support multi-core processors spaceborne key technologies for embedded operating systems research. This paper analyzes the architecture of the real-time operating system RTEMS (Real Time Executive for Multiprocessor Systems), and task scheduling mechanism in RTEMS interrupt mechanism, in-depth analysis of synchronization and mutual exclusion mechanism; On this basis, this paper RTEMS the key issues facing the in multicore transformation process, each of the solutions. In the exclusive control of the processor core, the kernel locks can be nested spinlock synchronization mutual exclusion mechanism, this mechanism to solve the deadlock problems arising from ordinary spinlock nesting use, and allows nested use, simple and reliable; on this basis, combined with the use of multi-core scheduler lock, effectively solve the integrity of the system, and play the performance advantages of multi-core processors. Interrupt management, proposed NS (Non-Spinning) interrupt the dynamic dispatch algorithm. The algorithm is based on an interrupt service routine need to get the kernel lock to interrupt dispatched, to solve a spin wait time uncertainty caused by fluctuations in the problem of excessive interrupt response time. Experiments show that, relative to the general distribution algorithm, the interrupt response time fluctuations smaller, and effectively improve the real-time system and response. Task management, task allocation algorithm based on the global queue, the algorithm is simple, efficient and time complexity is only O (1), and in the case of constant scheduling overhead to achieve load balancing for real-time systems sexual and predictability provided a guarantee. Finally, a the program transformation herein prototype system RTEM LEON3 multi-core processor platforms to 2S (The the Real Time Executive for Multi-core Multi-processor Systems), and in the realization of multi-core simulator, proposed the event-driven model On this basis, the successful design and simulator to support multi-core processors an MSIS (Multi-core Sparc Instruction Simulator), and the testing and analysis of qualitative and quantitative in MSIS RTEM ~ 2S. The experimental data show that RTEM ~ 2S realized SMP, and the techniques and methods of this paper, to achieve the desired effect.

Table of contents

Abstract 10-11 ABSTRACT 11-12 first chapter 12-19 1.1 Introduction 12-14 the 1.2 embedded real-time operating system overview 14-15 1.3 simulator 15-16 1.4 This paper work 16-17 1.5 paper structure 17-19 the the second chapter multicore processor real-time operating system overview 19-31 2.1 multicore processors Overview 19-21 2.2 support multicore real-time operating system status quo 21-23 2.3 based on the realization of the principle of multi-core processors Linux 23-30 2.3.1 Linux boot and initialization 23-24 2.3.2 scheduler 24-27 2.3.3 lock mechanism 27-29 2.3.4 multi-APIC interrupt system 29-30 2.4 This chapter Summary 30-31 real-time operating system RTEMS analysis 31-44 3.1 RTEMS architecture 31-32 3.2 RTEMS kernel profiling 32-43 3.2.1 Object Management 32-33 3.2.2 Task Manager 33-36 3.2.3 interrupt manage 36-38 3.2.4 Synchronization mutex communication mechanism 38-41 3.2.5 RTEMS multiprocessor support 41-43 3.3 This chapter Summary 43-44 Chapter RTEMS multicore design 44-61 4.1 nested kernel lock synchronization mutex mechanism 44-51 4.1.1 Description 45-46 a 4.1.2 new mechanism proposed and analysis 46-50 4.1.3 Advantages and Disadvantages of evaluation 50-51 4.2 NS interrupt dynamic dispatch algorithm 51-56 4.2.1 Description 51-52 4.2.2 algorithm design 52-55 4.2.3 algorithm evaluation 55-56 4.3 multicore task allocation algorithm 56-60 4.3.1 task allocation problem 56-57 4.3.2 algorithm design 57-59 4.3.3 algorithm evaluation 59-60 4.4 This chapter Summary 60-61 Chapter RTEM ~ 2S-for-Le0113 achieve and verify 61-77 5.1 system structure 61-63 5.2 RTEM ~ 2S implementation 63-69 5.2.1 system initialization module 63-64 5.2.2 mutex synchronization mechanism module 64-67 5.2.3 Interrupt the management module 67 5.2.4 Task Manager module 67-69 5.3 Experimental verification 69-76 5.3.1 task scheduling 70-72 5.3.2 inter-task communication 72-73 5.3.3 some performance testing 73-76 5.4 This chapter Summary 76-77 Chapter the MSIS multicore simulator design and implementation 77-85 6.1 SIS overview 77-78 6.2 the MSIS design 78-81 6.2.1 new strategy proposed 79-80 6.2.2 event-driven model 80-81 in an MSIS of the 6.3 to achieve 81-84 6.3.1 instruction event and multi-event queue 81-82 6.3.2-chip interface 82-83 6.3.3 clock parts 83 6.3.4 the Cache components 83-84 6.4 This chapter Summary 84-85 Chapter VII Conclusion 85-87 Acknowledgements 87-88 the References 88-91 the author achieved academic achievements during the study period 91

Related dissertations

  1. Research on Exact Model and Complexity for Task Assignment Problem in Multi-core Environment
    PanDong ·Dalian University of Technology ·2009 ·Master's thesis
  2. An Algorithm Research for Tasks Scheduling of Parallel System on Multi-core Processor
    YuanYun ·East China Normal University ·2009 ·Master's thesis
  3. Multi-robot Task Allocation and Path Planning Based on the Theory of Immunity
  4. Research on Task Allocation of Multiple Underwater Vehicles with Limited Communication
    YuDaHai ·Harbin Engineering University ·2013 ·Master's thesis
  5. Software Design and Optimization of a Perceptual State System for Quadruped Bionic Robot
    WuDaHua ·Central South University ·2013 ·Master's thesis
  6. Research on Task Scheduling and Communication Mechanisms Based on RTEMS
    LiuJianDong ·Harbin Engineering University ·2013 ·Master's thesis
  7. Research and Implementation of Parallel Query Processing in Column-store
    ZhangGuangHui ·Donghua University ·2014 ·Master's thesis
  8. Research and design of lightweight workflow engine
    LiuMuChun ·Shaanxi Normal University ·2013 ·Master's thesis
  9. Research on Energy-efficient Real-time Task Scheduling Algorithm Based on Multi-core Processors
    WangBin ·Harbin Engineering University ·2013 ·Master's thesis
  10. Research on Real-time and Energy-efficient Issues of Multi-core System Based on DVS
    ZhaoYang ·Hunan University of Technology ·2013 ·Master's thesis
  11. Research on the WCET Analysis of Real-time Systems in Multi-core Platform
  12. Research of Sparc-rtems Driving Technology for Java Accelerating System
    WangYongShuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Research of RTEMS Embedded Operating System with Support for Muliticore Processor
    NiuYingZuo ·Harbin Engineering University ·2013 ·Master's thesis
  14. Video Surveillance System Design Based on FPGA
    WuHuaZhong ·University of North ·2014 ·Master's thesis
  15. Research on UAV Mission Planning Methods Based on Intelligent Optimization and RRT Algorithm
  16. Cooperative Task Planning Technology for Multi-UAVs
  17. The Design and Research of a Smart Mold Based on Shape Memory Polymers
    ZhangLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Study on Logistics Export Service Chain Construction for Company A
    ZhangHongFei ·Dalian Maritime University ·2013 ·Master's thesis
  19. Research on Supplier Selection and Optimization of Port Logistics Service Based on Risk Identification
    ChenJie ·Dalian Maritime University ·2012 ·Doctoral dissertation
  20. Optimization of Task Allocation and Scheduling for Knowledge Workers Based on Particle Swarm Optimization
    ZhengHanChao ·Tianjin University of Commerce ·2012 ·Master's thesis