The Research and Implementation of Hyper-Threading Technology in Kylin Operating System
- Author
- LiLiang
- Advisor
- WuQingBo
- 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
- 2005
- Downloads
- 32
- Citations
- 0
- Simultaneous multithreading
- Hyper-Threading Technology
- Hardware Performance Counter
- Kernel Scheduler
Abstract
Hyper-Threading technology is a groundbreaking innovation from Intel that brings the SMT (Simultaneous Multithreading) into the commercial Intel architecture. Hyper-Threading processors duplicate architecture state to make a physical packet appear as two processors and share the function unit, which increases the unitization of the processor. Hyper-Threading processor can be implemented by lower energy cost and smaller die-size, which alleviates the conflict of low energy cost and high performance.Intel provides the Hyper-Threading technology to increase system output. However if the operating system cannot support the technology effectively, the Hyper-Threading processor will not bring any benefit. This paper presents the methods that Kylin operating system support Hyper-Threading Technology.In this paper we firstly analyze the commercial SMT processors, especially Intel Hyper-Threading Technology and present how operating system should support the Hyper-Threading Technology.Secondly, present a performance estimate model based on the processor event.Thirdly, design and implement Kylin Hyper-Threading aware kernel scheduler that optimizes the thread scheduling for Hyper-Threading processor.Lastly, estimate the validity of Kylin Hyper-Threading aware scheduler.
Table of contents
List of Figures 7-8
table directory 8-9
summary for 9-10
ABSTRACT 10-11
first chapter 11-15
§ 1.1 subject sources 11
§ 1.2 research background 11-13
§ 1.3 research and the completion of the work 13 organizations
§ 1.4 papers 13-15
Chapter II operating system of simultaneous multithreading (SMT) technology 15-25
§ 2.1 processor instructions in parallel 15-17
2.1.1 multiple transmit processor 15
2.1.2 multi-threaded processor 15-16
2.1.3-chip multi-processor (CMP) 16
2.1.4 multi-threading technology (SMT) 16-17
§ 2.2 commercial SMT processing is 17-22
2.2.1 Intel Hyper-Threading (Hyper-Hyperthreading) processor 17-20
2.2.2 IBM's Power 5 20-22 < br /> § 2.3 at the same time multi-threaded operating system support 22-24
2.3.1 SMT system hierarchy support 22
2.3.2 SMT environment invalid operation problems the 2.3.3 the Cache issues 22-23
23
2.3.4 threads execute in parallel 23-24
§ 2.4 Chapter Summary 24-25
Chapter Kylin hyperthreading-aware scheduling algorithm design 25-36
§ 3.1 the current mainstream operating system scheduler 25-29 <, br / > 3.1.1 Linux scheduler 25-28
3.1.2 FreeBSD scheduler 28-29
§ 3.2 Kylin hyperthreading-aware scheduling algorithm design 29 - 35
3.2.1 belong to the process of the interaction studies 29-31
3.2.2 hyperthreading system performance evaluation formula 31-33
3.2.3 performance ratio computing model 33-35
§ 3.3 Chapter Summary 35-36
Chapter Kylin hyperthreading-aware kernel scheduler design and implementation of 36-52
§ 4.1 Kylin thread scheduling framework 36-38
4.1.1 operating system thread model outlined 36-37
4.1.2 Kylin, thread scheduling model 37 -38
§ 4.2-Kylin kernel threads model 38-46
4.2.1 kernel threads associated structures and their mutual relations are found; 38-42
4.2.2 kernel thread Related state model 42-46
§ 4.3 hyperthreading aware kernel scheduler queue mechanism 46-48
4.3.1 Kylin, the traditional single-queue mechanism 46 < br /> 4.3.2 more than ready queue 46-47
4.3.3 ready queue allocation are 47-48 the
§ 4.4 hyperthreading perception thread scheduler 48 - 51
4.4.1 performance data acquisition and recording are found; 48-49
4.4.2 thread priority dynamically adjust are found; 49-51
§ 4.5 Chapter Summary 51-52
Chapter performance testing and analysis 52-56
§ 5.1 thread performance testing 52-53
5.1.1 test environment 52
5.1.2 testing program 52
the 5.1.3 LMbench test results and analysis 52-53
§ 5.2 Volanomark comprehensive performance test 53-54
§ 5.3 the SPEC CPU2000 test the 54-55 5.3.1 testing program
54
5.3.2 Results and analysis 54-55
§ 5.4 Chapter Summary 55-56
Chapter VI Conclusion 56-58 the
§ 6.1 working summarizes § 6.2 Research 56
Looking 56-58
Acknowledgements the published papers 58-59
for Master to References 59-60
60-61
Related dissertations
- Design and Implementation of Interrupt Processing System and Adaptive Multi-threaded Module in Matrix DSP
- Research on Resource Allocation in Simultaneous Multithreading Processors
- The Study of Simultaneous Multithreading in VLIW Processors
- Research on Godson-2 Multithreading Processor Technique
- Optimization Techniques of Cache in Chip MultiThreading
- Research on Resource Sharing Control in Simultanecous Multithreading Processors
- Adaptive Cache Management Policies for High Performance Microprocessors
- The Research and Design of Godson Ⅱ Multi-Threading Processor
- Research on CMP Architecture Based on Resource Optimization
- H.264/AVC Based Video Encoder Design and Optimization