Design and Implementation of Schedule Mechamism, Semaphore Mechanism and Interrupt Mechanism of VxWorks SMP Kernel
- Author
- RenQiang
- Advisor
- WuJiaZhu
- School
- National University of Defense Science and Technology
- Major
- Computer technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 151
- Citations
- 1
Abstract
As integrated circuit technology advances and the development of the processor architecture, is isomorphic to the multi-core processors has been widely used in the field of embedded. However, compared with the rapid development of the hardware, the same basic software configuration of the multi-core processors (especially embedded operating system) is relatively backward. Isomorphic multi-core processors embedded operating system development is difficult, the development of low efficiency. Symmetric multi-processing (SMP) architecture analysis, analysis of the difference between the SMP architecture and AMP architecture, and advanced technology of the SMP architecture are briefly described. Detailed analysis of the Linux SMP system, to provide a reference for the VxWorks SMP system design. Depth analysis of the operating mechanism of the VxWorks kernel, VxWorks kernel of the whole structure, task scheduling module, signal modules, interrupt management module is analyzed in detail, a clear relationship between the call module, multi-core design of the back of the playing good foundation. In this paper, on the basis of the analysis of the key issues facing the various modules of the design process for the SMP architecture features, the VxWorks kernel to support SMP architecture design of the mechanism, given a reasonable solution ideas. Task scheduling, task allocation algorithm based on the global queue, the algorithm to achieve a better VxWorks SMP task scheduling, scheduling overhead has nothing to do with the number of ready tasks, in the case of a heavy load on the system can also smooth work to improve the real-time and predictability; mutex synchronization mechanism, the proposed spin-lock mechanism to implement the new semaphore mechanism, the mechanism better realization the VxWorks SMP of synchronization and mutual exclusion, to solve the deadlock, the kernel synchronization mutex more simple and efficient; DR interrupt in the interrupt management, dynamic routing algorithm, the algorithm allows multiple nuclear deal with different interrupt request, interrupt latency is reduced relative to the single-core systems to improve the system responsiveness. VS simulator test platform on the global queue-based scheduling algorithm spin lock, DR interrupts the correctness of the algorithm functions, and compared with the single-core version of VxWorks kernel mechanism operating results have been satisfactory results. VxWorks SMP architecture-based scheduling, semaphores, interrupt mechanism design and its initial implementation, the development of embedded operating system supports multi-core technology has a certain practical and theoretical significance.
Table of contents
Summary 9-10
abstract 10-11
first chapter 11-16
1.1 research background 11 - 12
1.2 research status 12-13
1.3 13-14
1.4 The structure of the paper is 14-16
Chapter II symmetric multi-processing technology overview 16-26
2.1 Symmetric Multi-Processing Architecture Overview; nbsp nbsp 16-17
2.2 symmetric multi-processing with non-symmetric multi-processing distinction; 17-18
2.3 Linux SMP principle 18-24
2.3.1 scheduling mechanism 19-21
2.3.2 semaphore mechanism 21-23
2.3.3 interrupt mechanism 23-24
the 2.4 SMP architecture advanced technology Overview 24-25
2.4.1 distributed real-time task scheduling algorithm 24-25
2.4.2 dynamic task migration technology 2.5 Chapter Summary 25
25-26
Chapter VxWorks SMP kernel scheduling and semaphore Mechanism Design 26-49
3.1 VxWorks kernel structure 26-28
3.2 VxWorks the SMP task scheduling mechanism design 28-39
3.2.1 VxWorks task scheduling mechanism analysis 28-34
3.2.2 VxWorks SMP task allocation problems faced by 34-36
3.2.3 VxWorks SMP task scheduling algorithm design 36 -37
3.2.4 VxWorks SMP task scheduling algorithm to achieve 37-39
3.3 the VxWorks SMP semaphore mechanism design 39-48
3.3.1 VxWorks signal mechanism analysis 39-40 the
VxWorks 3.3.2 SMP synchronization problems faced by mutually exclusive 40-42
3.3.3 VxWorks SMP the semaphore mechanism design 42 - 43
3.3.4 VxWorks SMP semaphore mechanism 43-48
section 3.4 of this chapter 48-49 New
VxWorks SMP kernel, Chapter interrupt mechanism design 49-60
4.1 VxWorks interrupt mechanism analysis 49-54
4.1.1 interrupt service routine mechanism 49-51
4.1.2 extension mechanism 51-54
VxWorks 4.2 SMP interrupted the management is facing problems 54-55
4.3 DR interrupt algorithm design 55-59
4.4 DR interrupt algorithms to achieve 59
4.5 of this chapter section a 59-60 the
fifth chapter test validation 60-67
5.1 task scheduling mechanism to test 60 - 63
5.2 semaphore mechanism The test 63-64
5.3 interrupt management mechanism test 64-66
5.4 This chapter section 66-67 <br / > Chapter VI Concluding remarks 67-68
Acknowledgements the 68-69
reference to the literature nbsp academic achievements 69-71 the
author in the study period; 71
Related dissertations
- The Research and Optimize of Schedule Mechamism and Intrerrupt Mechanism Based on X86 Architecture of VxWorks SMP
- Interrupt mechanism for multi - CPU system
- Blackfin561 interrupt mechanism of multi-core transformation
- Desisn of Switch Based on Shared Structure
- The Design and Implementation of a Delivery and Scheduling System for Video Files
- Software Design of the Embedded System for Underwater Targets Recognition
- The software bus and self recovery technology based on VxWorks
- Multi-channel Signal Acquisition Card Based on Compact PCI Bus
- A Design of ISDN Gateway Based on MTCA and Soft Switch
- Risk Prevention and Control of Rural Power and Employment Security Responsibility
- Analysis of Staff Returning Mechanism in Labor Dispatching System
- Research and Design of RTU Based on COLDFIRE Hardware Platform
- A Design of Integrated Network Management System in the Grid
- The Coordination of Economic Dispatch of Power System with Distributed Generation
- Study on the Online Early-warning and Dynamic Assessment System of Shandong Grid
- Research and Design on Main Transformer Intelligent Protection Device for Digital Substation
- Research on Path Planning Problem of Underactuated AUV Considering Constraints
- The Application of Wireless Network Technology in Ships Navigation System
- Design and Implementation for Real-time Monitoring of Vehicle Terminal
- Intelligent Taffic Cntrol Sytem Bsed on VxWorks