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
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
- Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
- Energy and Workload Efficient Strategies for Real-time Database Systems
- Research on multi process scheduling based on Linux
- Research on Purposive Vision and Its Application in Skin Symptom Recognition
- Fault-Tolerant Task Scheduling in Real-Time Industrial Systems and Its Applications
- Design and Implementation of Video Compression Protocol Based on Cradle CT3400
- PCB Layout and SI Technique of High-Speed Digital Design Based on High Performance Embed Computer System
- Weather Data Acquisition System Base on MSP430
- The Research and Implementation of Realtime Multiprocessor Operating System on On-Board Computer System
- Design of Multiprocessor Parallel System Based on Vxibus
- An Improved Scheduling Algorithms of RMS and EDF and Mixed Scheduling Algorithm of the Two
- Multi-mode combined guidance system for high-speed parallel processing
- Design and Application about One Multi-Processor Module in Monitoring Receiver
- Research for the Parallel Algorithm of FIR Filter at IF Digitalization of Software Radio System
- Studies on DOA Estimation of Underwater Short-Range Target Based on UCA
- The Research of the Embedded Multiprocessor Controller’s Famework
- Global flow analysis in parallel reconfigurable systems
- The Design of Electronic Control System for Jet Looms
- SOC Platform Design for Flash Card Production Tool
- Study and Design of Embedded Operationg System of Rtems-for-Sparc