Linux Kernel Scheduler Analysis and Simulation

Author
GaoBo
Advisor
ChenWenZhi
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP316 Operating system
Degree
Master's thesis
Year
2008
Downloads
361
Citations
5

Request the full text

Abstract

The operating system kernel scheduling algorithm has always been a research focus for people to improve system performance . As a mainstream operating system Linux , one of its scheduling algorithm several improvements , showing excellent performance , gradually occupy an important position in a growing number of areas . Simulator based on the Linux scheduling algorithm are very few existing simulators are always in some respects inadequate simulation of the linux the scheduling process that can not be good . This article first analyzes the linux the history of the development of the most important of the three scheduling algorithms . Scheduling algorithms , including the 2.4 kernel 0 (n) 0 ( 1) in the 2.6 kernel scheduling algorithm , as well as the latest CFS scheduling algorithm . 2.6 0 ( 1 ) the complexity of the scheduling algorithm greatly reduced, compared with the previous scheduling algorithm has been greatly improved performance . CFS scheduling algorithm introduces a modular structure , the expansion of the algorithm easier . Its design goal is to make the process more equitable sharing of the processor resources . Then analyze a common scheduling algorithm simulator , and focus About schedsim simulator . On the basis of the above work , we have to be improved to better support linux scheduling algorithm schedsim simulator . This includes the improvement of the multi-processor , global distribution algorithm and CFS scheduler analog . Improvements for multi-processor , the simulator can support different processing capabilities of the processor , and each processor has its own run parade . For global distribution algorithm, we achieve two simple methods , and a number of processes assigned to a processor to another processor power distribution process . CFS scheduler based on linux kernel method . Finally, the effect of simulator output at different input combinations .

Table of contents

Abstract 3-4 Abstract 4-7 Figures 7-8 The first chapter 8-12 1.1 Background 8-9 1.2 research 9-10 1.3 research objectives 10 1.4 This organizational structure 10-11 1.5 Summary 11-12 Chapter linux scheduler 12-30 2.1 linux2.4 scheduler 12-16 2.1.1 related data structures 12-13 2.1.2 Scheduling opportunity 13-15 2.1.3 scheduling process 15-16 2.2 linux2.6 scheduler 16-23 2.2.1 related data structures 16-18 2.2.2 priority and time slice calculation 18-20 2.2.3 scheduling process 20-21 2.2.4 Load balancing 21-23 2.3 CFS scheduler 23-28 2.3.1 related data structures 23-27 2.3.2 scheduling process 27-28 2.3.3 group scheduling 28 2.4 Summary 28-30 Chapter scheduling simulator 30-42 3.1 Background 30-32 3.2 simulator platform 32-34 3.2.1 Kevin K.Leung simulator 32-33 3.2.2 CSCI 152 CPU simulator 33-34 3.2.3 SuKanya Suranauwarat simulator 34 3.3 schedsim simulator 34-40 3.3.1 overall framework 35-38 3.2.2 drawbacks 38-40 3.4 Summary 40-42 Chapter Schedsim simulator improvements 42-53 4.1 for multi-processor support 42-44 4.2 add global distribution function 44-48 4.3 add support for linux scheduler 48-52 4.4 Summary 52-53 CHAPTER results 53-59 5.1 Data Simulation 53-54 5.2 Test results 54-58 5.3 Chapter Summary 58-59 Chapter Summary 59-60 References 60-63 Thanks 63

Related dissertations

  1. Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
  2. Energy and Workload Efficient Strategies for Real-time Database Systems
    LiJianJun ·Huazhong University of Science and Technology ·2012 ·Doctoral dissertation
  3. Research on multi process scheduling based on Linux
  4. Research on Purposive Vision and Its Application in Skin Symptom Recognition
    HuYueLi ·Shanghai University ·2005 ·Doctoral dissertation
  5. Fault-Tolerant Task Scheduling in Real-Time Industrial Systems and Its Applications
    YangChunHua ·Central South University ·2002 ·Doctoral dissertation
  6. Design and Implementation of Video Compression Protocol Based on Cradle CT3400
  7. PCB Layout and SI Technique of High-Speed Digital Design Based on High Performance Embed Computer System
    ZhanGuoHua ·Shanghai Jiaotong University ·2007 ·Master's thesis
  8. Weather Data Acquisition System Base on MSP430
    LiFuJun ·Beijing Jiaotong University ·2008 ·Master's thesis
  9. The Research and Implementation of Realtime Multiprocessor Operating System on On-Board Computer System
  10. Design of Multiprocessor Parallel System Based on Vxibus
    ZhengXianGuo ·Beijing University of Technology ·2004 ·Master's thesis
  11. An Improved Scheduling Algorithms of RMS and EDF and Mixed Scheduling Algorithm of the Two
    WangHui ·Jilin University ·2004 ·Master's thesis
  12. Multi-mode combined guidance system for high-speed parallel processing
  13. Design and Application about One Multi-Processor Module in Monitoring Receiver
    ChenJuan ·Beijing University of Technology ·2003 ·Master's thesis
  14. Research for the Parallel Algorithm of FIR Filter at IF Digitalization of Software Radio System
    GuoDongMei ·Harbin Engineering University ·2007 ·Master's thesis
  15. Studies on DOA Estimation of Underwater Short-Range Target Based on UCA
    YuXinLai ·Northwestern Polytechnical University ·2007 ·Master's thesis
  16. The Research of the Embedded Multiprocessor Controller’s Famework
    WuXiang ·Jinan University ·2006 ·Master's thesis
  17. Global flow analysis in parallel reconfigurable systems
    JiXiaoMei ·Institute of Computing Technology ·1994 ·Master's thesis
  18. The Design of Electronic Control System for Jet Looms
    LiuBing ·Ocean University of China ·2006 ·Master's thesis
  19. SOC Platform Design for Flash Card Production Tool
  20. Study and Design of Embedded Operationg System of Rtems-for-Sparc