Research on Mechanism of Thread ofμ-Kernel Operating System VTOS

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

Request the full text

Abstract

Operating system is one of the basic software systems, and its reliability, security, and performance play a vital role in the operation of the whole computer system.Monolithic kernel and micro kernel are two common architectures in the construction of an operating system. Compared with the operating system using monolithic kernel architecture, the operating system using micro kernel architecture has many distinguished characteristics:smaller kernel, system services are provided by some user-mode programs, policies are independent with mechanisms, faults in one service will not affect the other services. But the amount of switch between different address spaces in micro kernel operating system is more often than that in monolithic kernel operating system, which leads to the overhead of performance.With the multi-core processor becomes more and more prevalent, many researchers are dedicated to the study of mechanism of multi-threading, because a program with multiple threads can use the underlying processor to commit tasks in parallel, so as to improve the performance of the program itself.VTOS system is an operating system, whose architecture is micro-kernel, is developed on the base of Minix3.1.1. VTOS’s micro-kernel architecture can ensure the reliability and security. But its kernel cannot support the kernel level thread mechanism, and that is a short from the aspect of function and performance.This paper analyzed the corresponding design and implementation of Mach and L4systems, and designed and implemented the kernel level thread mechanism and user level thread library for VTOS. And our research includes the following perspectives:1. The architecture and structure of VTOS kernel level thread. Policies are separated with mechanism as much as possible, so as to improve the flexibility and extensibility.2. Describe the design with the method of object model, and propose some attributes about the security of the system.3. We reduce the amount of switch between different address spaces with the help of a novel algorithm of kernel level thread schedule.4. Provide a user level thread library to implement the one-to-one thread mode.

Table of contents

Abstract 4-5 ABSTRACT 5-9 first chapter 9-14 1.1 operating system microkernel architecture Introduction 9 1.2 threading mechanism Profile 9-12 1.2.1 Doula : multiple user -level threads mapped to a virtual processor 10-11 1.2.2 one : user-level threads and virtual processors is one to one 11-12 1.2.3 -many : a set of user -level threads can dynamically with a group. virtual processor corresponding 12 1.3 background organizational structure 12-13 1.4 papers 13-14 chapter related work 14-22 thread mechanism 2.1 Mach operating system 14-18 2.1.1 Mach Profile 14-15 2.1.2 Mach3.0 threading mechanism 15-18 2.2 L4 thread mechanism 18-20 2.2.1 L4 Profile 18 thread 2.2.2 L4 of mechanisms 18-19 2.2.3 L4Env threading mechanism 19-20 2.3 similarities and differences between paper design and related work 20-22 Chapter III structural design, functional design 22-25 3.1 VTOS threading mechanism design 22-23 3.2 VTOS thread functional design 23-25 3.2.1 thread creation 23-24 3.2.2 terminate the thread 24 3.2.3 inter-thread communication 24 3.2.4 thread scheduling switch 24 exclusive nbsp 3.2.5 synchronization between threads ; 24-25 Chapter IV VTOS threading model outline design 25-37 4.1 thread mechanism of basic efficacy layer 25-31 4.1.1 efficacy layer element set M . 25-26 4.1.2. efficacy semantic layer interface functions 26-28 4.1.3 process virtual address space and physical memory management mechanism . 28-31 4.2 VTOS thread mechanism to achieve layer 31-35 4.2.1 object Description semantic 32 4.2.2 interface functions 32-35 4.3 VTOS thread mechanism optimization layer 35 4.4 VTOS thread mechanism of security attributes tautology 35-37 key technical point design Chapter V kernel-level thread mechanism and implementation 37- 55 5.1 kernel-level thread identifier 37 5.2 core data structure description 37-39 thread communication between 5.3 IPC 39-42 5.3.1 SEND, RECEIVE and SENDREC services designed 40 design 5.3.2 NOTIFY services 40 5.3.3 SEND, RECEIVE, SENDREC, NOTIFY services achieve 40-42 5.4 thread and signal processing 42-46 5.4.1 related data structures described 43-44 5.4.2 PM services provided by the external server services 44-45 5.4.3 System_task kernel task to an externally supplied 45 5.4.4 kernel kernel in signal processing and capture mechanism for handling default 45-46 5.4.5 thread exits the process exit process relies signal processing 46 5.5 thread scheduling and switching 46-50 5.5.1 scheduling 46-49 5.5.2 switching synchronize exclusive nbsp 49-50 5.6 between threads ; 50-55 5.6.1 sync with the basic principles of necessity and exclusive 50 5.6.2 Futex locking mechanism 50-52 5.6.3 POSIX semaphore 52- 54 5.6.4 POSIX mutex 54-55 Chapter VI VTOS whole thread mechanism to achieve kernel initialization 55-62 6.1 VTOS system 55 6.2 kernel-level threads lifecycle 55-58 6.2.1 Creating threads . 56-57 6.2.2 thread replacement program nbsp. ; 57 6.2.3 thread exits . 57-58 6.3 user-level thread mechanism and one- thread mode 58-62 6.3 said nbsp .1 user-level thread object ; 58-59 6.3.2 one thread patterns to achieve 59-62 Chapter VII of the experimental design and analysis 62-64 7.1 experimental environment 62 7.2 functional verification 62-63 7.3 performance verification 63-64 eighth Chapter summary and Outlook 64-65 8.1 summarizes 64 8.2 Looking 64-65 Thanks 65-66 <br / > References published papers and master's project work during 66-70 70-71

Related dissertations

  1. Research on the Performance of National Audit Results Announcement and Its Influencing Factors
    JinSiChang ·Beijing Jiaotong University ·2014 ·Doctoral dissertation
  2. " Jinsui" Farmers Benefitial Card and Farmer Credit Loan Business Development Research
    WangHaiHong ·Nanjing Agricultural College ·2011 ·Master's thesis
  3. Research on the Performance of Property Insurance Lines in China
    CaoYunBo ·Dongbei University of Finance ·2013 ·Doctoral dissertation
  4. Study on Chinese Agricultural Futures Hedging Performance of Low Level
  5. Study of China’s Securities Industry Based on SCP Paradigm
  6. The Liquidity Effect on the Relationship between the Size and the Performance of the Equity Open-ended Fund
    ShiYuHong ·Huaqiao University ·2013 ·Master's thesis
  7. An Empirical Study on the Performance of Chinese Mutual Funds
    CaiZuo ·Shanghai Jiaotong University ·2013 ·Master's thesis
  8. The Study on the Development of Socially Responsible Investment Funds in China
    XiaDan ·Wuhan University of Technology ·2013 ·Master's thesis
  9. The Performance Analysis on the City Commercial Banks in China before and after the Listing
  10. Research on Performance Evaluation and Innovation of New-type Rural Financial Institutions
    YangLiNa ·Ningbo University ·2013 ·Master's thesis
  11. Analysis on Village Banks’Performance and Factors
    XuShuMin ·Nanjing Agricultural College ·2012 ·Master's thesis
  12. Research on the ownership structure of China's small and medium-sized commercial banks influence on its performance
    HuYanHua ·Northwestern University ·2013 ·Master's thesis
  13. A Study on the Effectiveness of Performance Evaluation System of A Bank Shaanxi Branch
    ChenChaoYu ·Northwestern University ·2013 ·Master's thesis
  14. Study on Internal Governance and Product Design for Rural Credit Union Funds Performance Influencing
    XuYong ·Anhui University of Finance ·2014 ·Master's thesis
  15. Research on the diversification of commercial bank China
  16. The Performance Evaluation of Listed Banks in China an Empirical Study on Lnfluencing Factors
    FengQin ·Xiangtan University ·2013 ·Master's thesis
  17. Evaluation and Empirical Study of China’s Listed Banks Operating Performance
    MiaoChunRui ·Hebei University of Economics ·2014 ·Master's thesis
  18. Research about Impact of Financial Openness on Commercial Bank Performance in China
    ChuYing ·Shanxi Normal University ·2014 ·Master's thesis
  19. Research on Performance Evaluation Index System of Listed Commercial Banks
    YangLi ·Anhui University ·2014 ·Master's thesis
  20. Synchronization between China and Global Stock Index