Research and Implementation Techniques on Thread Scheduling Method and Its Testing Tools
- Author
- JiangBo
- Advisor
- YangGuoGui
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 92
- Citations
- 4
Abstract
With the development of multi-core technology, multi-chip multi-core architecture has gained more and more popularity on modern commercial middle or high-end servers. Multithread techniques based on software and hardware provides an effective mechanism for parallel computing, especially for transaction processing applications. With the increasing number of processor chips and cores, the new architecture brings about a new challenge on the design of the operating system scheduler and the optimization of the performance. The scalability and performance optimization of thread scheduling technology has become a research hotspot. The analysis and evaluation method on thread scheduling faces new requirements.In this paper, the principle of major schedulers and its key technology is analyzed firstly. The following is development trend of thread scheduling. At the same time, the approach to performance optimization of thread scheduling is summarized. Based on these discussions, the thread scheduling evaluation method is deeply discussed. Four performance evaluation aspects are presented. A detailed evaluation method is proposed according to each aspect. A three hierarchical testing model, at microstructure, modular construction and application program level is designed.A new test program called LTC aim to test the thread context switching cost is designed and implemented. In order to decrease additional overhead and to improve the accuracy and stability of the test result, LTC uses semaphore to realize the communication and the multithread synchronization. The context switch latency can be analyzed in varied situations by tuning the scheduling strategies, sharing models and workloads. Another analysis tools named BLT is implemented to evaluate the scalabilities of schedulers. Many workload and binding stratifies are also integrated into the BLT. The comparative result can be achieved by modifying the integrated strategies of BLT.Base on LTC, BLT, Sysbench and DBT2, a set of test programs simulating the thread competitive model is made up of to test scheduling performance. The theoretical performance analysis is further verified by the test result on O (1) and CFS scheduler. Some optimization design criteria on scheduling algorithm and strategy are put forward. For shechule algorithms, it is not only the cost of a single context switch, but also the application for transaction scheduling efficiency under heavy load should be considered. The scheduling optimization strategy among many cores is also of importance. The same application threads or very relevant threads run on the same core as far as possible.Tasks sharing no data or less data,should run on different cores. Under such distributing discipline, the miss rate of cache is reduced, the hardware resource utilization can be increased, and the overall system performance will be largely improved.The test method and tools provide a reference and an effective measure for scheduling technology research and analysis on multi-chip multi-core system. The research is supported by“Research on High-end Fault-Tolerant of Computer Architecture”project under National High Technology Research and Development Program (863 Program).
Related dissertations
- Research on performance audit evaluation index system of government investment in infrastructure projects
- Research of Emulsion Pump Performance Test System
- Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
- Research on Paramenters Identification and Experimental Platform of Large-scale Space Manipulator Joints
- The Design and Implementation of Asynchronous Batch File Transmission System
- Design and Implementation of Website Security Protection System
- Research on Performance Testing of IPv6Transition Technology
- Analysis and Research of the Key Test Technologies of the Ultra-high Frequency Radio Frequency Identification Systems
- University research study to explore the evaluation method
- Evaluation of Western Art Museum Education Project Approach of three evaluation methods as an example
- Numerical Calculation Model and Simulation Optimization of a Effective Speece Cone for Recirculating Aquaculture System
- Research of2BQ-12Airflow First-order Centralized Metering Seeder
- Study on the Key Technology of the Shanghai Nanhui Flexible HVDC Demonstration Project
- Research of HTS Cable Termination Prefabricated Stress Cone
- Design and Study on Furnace and Grate of4t/h Biomass Briquette Mechanical Boiler
- Design and Research on Thermal Impact Test Facility for Nuclear ClassⅡ Pumps
- Research on Evaluation Methodology and Performance Requirements for Cooling Source of Air-conditioning System
- Study on the Performance and Microstructure of Carbon Fiber Enhanced Viscosity Time-varying Pulp Material
- Study on the Evaluation Index System of Water-saving Society
- Safety Technical Requirement and Performance Detecting Research for City Bus