Based on the extension of the real-time operating system for multi-core processors
- Author
- ZhangChengKe
- Advisor
- SunShiXin
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 663
- Citations
- 16
- Multi-core Processor
- Symmetric Multi-Processor Architecture
- Real-time Operation System
- multi-task scheduling algorithm
Abstract
From the born of microprocessor, the promotion of performance is mainly by increasing the frequency of the processor. But the upgrade of frequency demands a huge number of transistors, which requires more power consumptions and can cause significant heat dissipation. All of those problems are critical to the embedded system. With this background, multi-core processors are being paid more and more attentions. A multi-core microprocessor is one which combines two or more independent processors into a single chip; this means it can be got a better performance with a fairly lower frequency. In the embedded system, along with the application of multi-core processor, the system software such as Real Time Operation System (RTOS) and parallel compilers are becoming a research hotspot.First of all, this dissertation discusses the realization technique of multi-core processor with a hardware view, especially the interface cooperating with the operation system. After that, it analyzes some mainly implementations of the RTOSs which support multi-core processor. And those key points, including the bootloader of the multi-core processor, the task scheduler and the mutex and communications between processors, are described in detail.From the version 2.0, Linux begin to provide the support for Symmetric Multi-Processor Architecture (SMP). We analyze the implementations of SMP in the Linux. By using the SMP architecture, we extend a RTOS MicroC/OS-II which only supports single processor to a RTOS named“MicroC/OS-SMP”which can support multi-core processor platform. As the RTOS running on the multi-core processor, MicroC/OS-SMP introduces a more complex multi-task scheduler and a more smart inter-processor communication mechanism. This dissertation discusses those key problems about the implementation, and especially discusses the algorithm of the multi-task scheduling on the multi-core platform. We also set the two conditions for a good task scheduling algorithm, and designed a simple and effective multi-task scheduling algorithm for the multi-core processor platform.
Table of contents
Chapter Introduction background and significance of the topic 10-13
1.1 10-11
1.2 my main job 11-12
1.3 The paper is organized 12-13
Chapter II multicore processors 13-23
2.1 multicore processors Overview 13-14
2.1.1 SMT technology 14
2.1.2 CMP and SMT contrast 14
2.2 multicore processor architecture 14-16
2.3 CMP key technology 16-20
2.4 CMP Research and 20-23
2.4.1 CMP Research Systems 20-21
2.4.2 Commercial CMP processing is 21-23
Chapter multicore processors on the real-time operating system 23-35
3.1 real-time operating system support for multi-core processors Overview 23 - 24
3.2 support multi-core processors, real-time operating system, a key technology the 24-32 3.2.1 Architecture
24-26
3.2.2 system boot and initialization 26-27
3.2.3 process scheduling 27-29
3.2.4 Interrupt handling 29-30
3.2.5 sync mutex technology 30-32
3.3 several typical real-time operating system to support multi-core processors nbsp the RTOS 32-35 extended
3.3.1 synchronization primitives ; 32-34
3.3.2 based microkernel and distributed technology RTOS the 34-35
Chapter Linux SMP system and its implementation 35-45
4.1 multi-processor SMP system architecture overview 35-36
the 4.2 SMP achieve the key technology 36-42
4.2.1 inter-processor synchronization with each other denounced nbsp 36-38
4.2.2 cache memory between consistency; the 38-40 4.2.3 interrupt handling
40-42
4.3 in Linux for SMP systems implementation 42-45
4.3.1 SMP system system boot 42-43
the 4.3.2 SMP system process scheduling 43-45
Chapter the MicroC / OS-II on a single-core processor transplantation 45-53
5.1 the MicroC / OS-II Introduction 45
5.2 FR555 Processor nbsp 45-46
5.3 the MicroC / OS-II porting work; 46-48 key issues
5.4 transplantation 48 -52
5.4.1 critical region visited the 5.4.2 system boot 48-49
49-50
the 5.4.3 stack of switching and management 50-52
5.5 transplantation test 52-53
Chapter MicroC / OS-II expansion and support for multi-core processors is due to the precise forecast, the basis which determines the degree <br / > 6.1 goals 53
6.2 FR1000 Processor the 53-54
6.3 Summary of Design 54-57
6.4 Detailed design the boot 57-65
6.4.1 multicore processors 58-59
6.4.2 task scheduling 59-63
6.4.3 multinucleated, processor communication to 63-65
6.4.4 clocks, interrupt handling 65
6.5 concrete realization the 65-70
6.5.1 Methods 65 -68
6.5.2 debugging tools 68-70
Chapter VII MicroC / OS-SMP testing and analysis 70-77
7.1 MicroC/OS- the SMP test cases and their analysis are found; 70-76
7.1.1 Test Case 1 70-71
7.1.2 Test Case 2 71-72
7.1.3 test cases 72-73
7.1.4 test cases 73-74
7.1.5 test cases 74-75 < br /> 7.1.6 Test Case 6 the 75-76
7.2 test cases to analyze and summarize 76-77
Chapter VIII Summary and Outlook 77 - 78
Acknowledgements 78-79
Reference 79-81
master's degree has been published during the accepted papers 81
Related dissertations
- The Research and Application of Parallel Embedded Operating System Interrupt Management
- Design and Implementation of Vectorized FFTs on the YHFT-Matrix
- Research of STM Conflict Management Based on Signature
- The Research and Realization of the High-Speed Signaling Data Collection System Based on Netio Technology of Multi-Core Processor
- Research and Realization of Network Management System Based on the CN56xx Series Network Processor
- Design and Implementation of Traffic Control Gateway Based on Cavium Multi-Core Processing Platform
- Parallel Simulation of Large Scale Computer Systems
- Software Design of Video Surveillance Server Based on Tilera Multi-Core Processor
- Collision Culling with Massive Bodies on Multi-core Processor
- Study on Search Results Clustering Algorithm Based on Multi-Core Technology
- Design and Implementation of Dispatching Module Based on Multi-core Processor Platform
- Research on Stream Programming Framework and Language for Multi-core Processor Base on X10
- Research and Design of Multi-core Processor System Based on FPGA
- Research of Multi-core Processor Scheduling Algorithm Based on Task Clustering and Duplication
- The Research of Linux2.6System Multicore Scheduling Based on the EDF
- The Research of Energy-Aware Scheduling Algorithm for Multi-core processor
- Multi core processor and inter core communication module design research
- Research on Key Techniques of Task Scheduling Based on Multi-core Distributed Environment
- Software Design of JPEG XR Image Encoder Based on Tilera Multi-core Processor
- High Definition Real Time Scalable Video Coding Based on Tilera-Gx Processor