Thread scheduling based on multi-core systems

Author
ZuoZhong
Advisor
LiYi
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2009
Downloads
616
Citations
7

Request the full text

Abstract

Microprocessor since its birth, the performance improvement is mainly achieved by increasing the frequency and frequency enhancement requires a substantial increase in the number of transistors. The huge number of transistors means huge energy consumption and consequent cooling issues have become increasingly prominent. When processor performance is limited by the semiconductor process, researchers will be eyeing the processor architecture, the concept of multi-core processors. The multi-core processors have become the trend of the development of the microprocessor, the use of multi-core technology can greatly improve the performance of the microprocessor scheduling policy, but also put forward higher requirements. The paper first analyzes the background and significance of the research, a brief introduction of the basic theoretical knowledge of the processes, threads, and multi-threaded and single-processor scheduling. Multi-core processor hardware related technologies, including simultaneous multi-threading (Simultaneous Multithreading, SMT), chip multi-processor (Chip MultiProcessor, CMP), the main achievement of the chip multithreading (Chip Multiple Threading, CMT); analysis and multicore Research thread scheduling. Secondly, a detailed study Linux2.6 kernel O (1) scheduling algorithm and its concrete realization. Increase in the O (1) scheduler data structure runqueue, ready queue is divided into active the queue and expired queue combined bitmap [] do not have to traverse the whole ready queue time, look for the next process complexity reduced to O (1), the process of running time the re-allocation of the piece is more timely; dynamic priority calculation process easier. A detailed analysis of the specific implementation of the SMP in Linux, and focuses on the Linux load balancing system. Then pointed out that the lack of a of Linux2.6 scheduling algorithm: 1. Because of the costs of different processes of migration between the processor is not the same, so the migration process, it should be appropriate to consider the characteristics of the process. 2 scheduler to processor allocation process should consider the relevance of the process. When the system load imbalance and minor, do not necessarily need to balance the load. Finally, we propose a load balancing generic model, using a four-tuple lt;, E, T, L, S gt; said. Then each factor based on the model to analyze the Linux load balancing system, analyzes the the Linux load evaluation factor L and scheduling strategy factor S. For Linux scheduler does not consider the lack of consideration of process migration, load balancing algorithm based on resource utilization, CPU utilization and memory utilization of the computing process to select the migration process, and then by the statistical system overload CPU and light-load the CPU , according to the the Donor or Reciever algorithm to match the source the CPU and purpose CPU.

Table of contents

Abstract 4-5 ABSTRACT 5-9 first chapter 9-13 1.1 Background topics 9-11 1.2 multicore system scheduling problems raised 11-12 1.3 papers 12 1.4 papers organizational structure 12-13 second chapter of the technical basis of the multi-core systems 13-29 2.1 basic concepts 13-14 2.1.1 process 13 2.1.2 thread 13 2.1.3 multithreading 13-14 2.2 single core processor scheduling 14-17 2.2.1 processor scheduling types 14-15 2.2.2 scheduling algorithm 15-17 2.3 multi-core related technologies 17-25 2.3.1 SMT structure 18-19 2.3.2 CMP structure 19-22 2.3.3 CMT structure 22-23 2.3.4 SMP structure 23-25 2.4 multicore thread scheduling Research 25-27 2.4.1 CMP structural Scheduling 25-26 2.4.2 SMT structure Scheduling 26-27 2.4.3 CMT structured Scheduling 27 2.5 Typical operating system support for multi-core processors 27-28 2.6 This chapter Summary 28-29 the LINUX scheduling mechanism 29-46 3.1 LINUX2.6 scheduling mechanism 29-37 3.1.1 scheduler data structures 29-35 3.1.2 scheduling process 35-37 3.2 LINUX SMP support 37-44 3.2.1 SMP system process scheduling 37-38 3.2.2 multi-processor system running queue balance 38-42 3.2.3 of Linux2.6 CPU affinity characteristics (affinity) 42-44 3.3 LINUX scheduling mechanism inadequate 44-45 3.4 This chapter Summary 45-46 Chapter load balancing system based on resource utilization 46-73 4.1 load balancing 46 4.2 Theoretical Analysis 46-62 4.2.1 load balancing scheduling model 47-51 4.2.2 Linux load balancing scheduling model 51-55 several key issues in the 4.2.3 load balancing 55-62 4.3 algorithm design 62-70 4.3.1 algorithm 63-68 4.3.2 algorithm 2 68-70 4.4 data structure 70-72 4.5 of this chapter Summary 72-73 Chapter Summary and Outlook 73-74 Acknowledgements 74-75 the References 75-79 the attack Shuo achieved during the research 79-80

Related dissertations

  1. Software Design and Optimization of a Perceptual State System for Quadruped Bionic Robot
    WuDaHua ·Central South University ·2013 ·Master's thesis
  2. The Application of Load Balance for E-business Website
    JieZhen ·Tianjin University ·2012 ·Master's thesis
  3. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  4. The Research of Dynamic Resource Management Key Technologies in Cloud Computing
    FanYing ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. Research and Design of Scalable Network Server Based on Linux
  6. Research and application of pushing send technology of server cluster based on
  7. The Research for Distributed Control and Addressing Mode of Software Defined Network
  8. Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
    LvQiuYun ·Wuhan University of Technology ·2013 ·Master's thesis
  9. Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
    LiuJinZuo ·Northeastern University ·2013 ·Master's thesis
  10. Research on Resource Scheduling Algorithms in Cloud Computing Environment
    FanZongQin ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
    QianXuanTong ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Research and Implementation of Parallel Query Processing in Column-store
    ZhangGuangHui ·Donghua University ·2014 ·Master's thesis
  13. Application and Research of Digital Room Service System Based on Cluster Server
  14. Design and Implementation of Video Monitoring Management and Load Balancing in Fuzhou
  15. Design and Implement of Reapply System of China Graduate Student
  16. The Design and Implementation of the Intelligent Cluster Rendering System
    MaHaiYin ·Shandong University ·2013 ·Master's thesis
  17. Shandong Unicom Online Self-service Research and Design
    LiWeiXia ·Shandong University ·2013 ·Master's thesis
  18. Office system design and implementation of mobile collaboration
    ZhangWanJiang ·Heilongjiang University ·2013 ·Master's thesis
  19. Research and Implementation of Real-time Backup Platform
  20. Research and Implementation of Distributed Disaster Recovery System