Implementation and Design of Multi-core Support for Micro-kernel Operating System

Author
YanJieJun
Advisor
HuangZuo
School
Nanjing University
Major
Computer Software and Theory
Classification
TP316 Operating system
Degree
Master's thesis
Year
2011
Downloads
9
Citations
0

Request the full text

Abstract

With the development of microprocessor technology, Multi-core processors have become more and more popular. Most PCs adopt multi-core processors nowadays. However, it is obvious that software should keep pace of the development of hardware. Therefore, how does OS, which is the most important supporting software, support for multi-core architectures becomes a research hotspot. Microkernel-based architecture is always an important research direction of operating system, which has the advantage of reliability, security flexibility and so on. Minix3is a second generation of micro-kernel operating system that has been widely developed. But Minix3does not support for multi-core architectures.In this paper, we first introduce some microkernel related knowledge, including microkernel’s development and features, and analyze the constitution of Minix3operating system, which is the research object of this paper. Then, introduce the features of multi-core technologies, and compare them with multi-processor architectures as well. We draw a conclusion that the most apparent difference of multi-process and multi-core architectures is processors in multi-core architecture share some hardware resources, i.e. LLC cache, FSB, memory controller.Processes that executed concurrently will content for the shared resources such that affect the performance of the system. We argue that the operating system should support for multi-core architectures in functional and the process of optimization for shared resources as well.Minix3does not support for multi-core architecture in functional, so in this paper, we introduce two points:1. Minix3support for multi-core architecture. We analyze the features of Intel Multi-core architecture, and study the difference between multi-core and single-core architecture in hardware. We have a detail analysis of Minix3source code and partial Linux source code and some papers that discuss how to support multi-processor architectures in microkernel operating system.And we also research the mechanism supporting for multi-core architecture from the aspect of system structure and system function. For system structure design, we adopt fine-gained lock for Minix3kernel, and separate the severs and applications from running on the same LLC group in order to ensure the quality of services. For system function design,we describe the differences between single-core and multi-core architecture from multi-core boot initialization, interrupt management, process scheduling, processor synchronization and mutex, and consistency of the kernel and cache, and then we propose a design of Minix3which supports for multi-core architecture.2. Minix3optimization for multi-core architecture. We aim to decrease processes’contention for L2cache. We analyze the advantages and disadvantages after researching the current cache management techniques. And we propose a method to decrease L2cache contention in Minix3: Controlling the cache misses of the whole system at a low level.

Table of contents

Abstract 4-5 ABSTRACT 5-9 Chapter 1 Introduction 9-15 1.1 Background 9-10 1.2 current research research status 10-13 1.2.1 microkernel multi-processor support 10-11 1.2.2 multicore shared resource management Research Status 11-13 1.3 content of this paper and the main work organizational structure 13 1.4 papers 13-15 chapter related technologies introduction 15-22 2.1 microkernel architecture 15-19 2.1.1 operating system microkernel technology 15-17 2.1.2 Minix3 microkernel operating system 17-19 2.2 multicore processor technology 19-21 2.2.1 mainstream multi-core processor technology 20 2.2.2 multi-core and symmetric multiprocessor contrast 20-21 2.3 Chapter Summary 21-22 Chapter III system architecture design 22-27 3.1 kernel single-instance model 22-23 3.1.1 master-slave structure 22 3.1.2 symmetrical structure 22-23 3.2 kernel multi-instance model 23-24 3.3 The system design 24-26 3.4 Summary 26-27 Chapter IV system functions design 27-46 4.1 multicore boot and initialization 27-32 4.1.1 Minix3 guidance and initialize 27-28 4.1.2 guidance and support for multi-core initialization 28-32 4.2 interrupt management 32-35 4.2.1 APIC system 32-34 4.2.2 The system interrupt handling design 34-35 4.3 process scheduling 35-42 4.3.1 Minix3 process scheduling 35-36 4.3. 2 supports multicore Minix3 process scheduling 36-42 4.4 processor synchronization and mutual exclusion 42-43 synchronization and mutual exclusion under 4.4.1 multicore architecture processor core 42-43 between 4.4.2 Minix3 processor synchronization and mutual exclusion achieve 43 4.5 consistency nbsp cache and memory ; 43-46 <br / > 4.5.1 TLB and memory consistency achieved optimization strategies 44-46 Chapter multicore architecture 46-50 5.1 multicore optimization analysis 46-47 5.2 multicore optimized design select 47-49 5.2.1 evaluation of 47-48 5.2.2 optimization strategy 48 -49 5.3 Chapter Summary 49-50 Chapter VI experimental environment and results 50-53 6.1 experimental environment 50 6.2 experimental methods 50-51 6.3 performance test 51-53 Chapter VII summary and Outlook 53-54 Thanks 54-55 references 55-57 participate in master projects and articles published during the 57-58

Related dissertations

  1. Design and Implementation of DM3730Heterogeneous Multi-core Processor Based Operating System
  2. Cooperative Scheduling Method with Hardware and Software for Heterogeneous Multi-core in Embedded System
    HuangZhenBao ·Zhejiang University ·2007 ·Master's thesis
  3. Fuzhou Mail Processing Center Optimization Research
    ZhuangYouLin ·Xiamen University ·2013 ·Master's thesis
  4. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  5. The Hybrid Opearting System with Hardware and Software
    ZhaoJiYuan ·Harbin Engineering University ·2013 ·Master's thesis
  6. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  7. Research on the Scheduling Algorithm of Virtual Machine in Multi-core System
    ChenHuiXing ·Hunan University ·2013 ·Master's thesis
  8. Research of Task Scheduling Algorithm Based on Critical Path for Multi-core
  9. Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
  10. Improved L7-Filter’s Pattern Matching Algorithm Based on Multi-core Processors
  11. PACDSP CORE Oriented Multi-core Debug Controller Hardware Design and Software Validation
  12. Research on Schedule Performance of VMM Based on Multi-core
    Li ·Nanjing University ·2011 ·Master's thesis
  13. Research on Parallel Processing of SAR Image Change Detection
  14. Research and Development of a Multi-core CPU Based Software Radio Platform and Applications
    FangZuo ·Beijing Jiaotong University ·2013 ·Doctoral dissertation
  15. Design and implementation of universal software radio platform based on multi core DSP
  16. Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
    ZhouXueWen ·Shanghai Jiaotong University ·2012 ·Master's thesis
  17. Design and Simulation of Multi-core DSP Parallel Route Planning Based on Route Segments
  18. The Key Technology Research of Array CCD Aerial Camera Manipulator System in the High Altitude
    DuanJie ·Changchun University of Science and Technology ·2014 ·Doctoral dissertation
  19. Research of SC Mobile Data Service Operation System
  20. Probing into Small and Micro Enterprises Development Strategy