The Research and Implementation of the Key Techniques on Single Chip Multiprocessors

Author
LuJianZhuang
Advisor
WangZhiYing
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2005
Downloads
438
Citations
9

Request the full text

Abstract

Enhancing the performance of microprocessors is the uppermost goal of all researchers. The fast development of the semiconductor’s technology provides a wide space for chip design. Currently one of the most important tasks of computer architecture’s further advancement is how to make full use of the endless recourses of the on chip to implement faster and more efficient microprocessors with shorter time.There are many limitations of improving the microprocessor performance on traditional architectures by exploiting further ILP (Instruction Level Parallelism), such as the occasion, the scope, the self-architecture, the implementation of hardware and so on. Adopting on chip multithreading architectures and extracting TLP (Thread Level Parallelism) is an efficient way to conquer these limitations. SCMP (Single Chip Multi-Processors) can simplify the hardware implementations further when exploiting TLP. Running general-purpose applications on SCMP has the best research and application value. In order to improve the execution efficiency of SCMP for general-purpose applications, this paper studies the key techniques and gives the following contributions:1. This paper proposes a SCMP model, called SWT (SCMP With TLS), which supports TLS (Thread Level Speculation). Design principles of SCMP and characteristics of general-purpose applications are considered when designing the SWT architecture. TLS, an important way to simplify TLP extraction, is implemented in SWT naturally.2. This paper presents a thread partition algorithm that focuses on general-purpose applications. Many factors, which influence the execution efficiency of SCMP, are considered in this algorithm. Based on the CFG (Control Flow Graph), the algorithm evaluates thread size and inter-thread data dependence quantitatively by the profiling information. It sets up a partial order to analyze the program structure more efficiently. The hardware cost in TLP extraction is also referred when designing the heuristic principles in this algorithm. Only a few changes are made when adopting the algorithm on other multithreading architectures.3. This paper issues a method for maintaining data dependence based on a dual-ring structure. Inter thread data dependence is an inevitable problem on multithreading architectures. The quality of data dependence maintaining method affects the performance of processor directly. Based on SWT, we unite the data speculation of TLS and data dependence. A method for data dependence based on dual-ring structure is designed in these conditions. The method can be implemented with little design complexity. With this method, inter thread synchronizations can be eliminated and conflicts in maintaining data dependence operations are reduced in SWT.

Table of contents

Summary 11-13 Abstract 13-15 Chapter 1 Introduction 15-27 § 1.1 VLSI technology development and the microprocessor impact to § 1.2 microprocessor architecture trends 15-16 the 16-24 1.2.1 Overview of traditional architecture and limitations 16-19 < br /> 1.2.2 microprocessor system structure research progress 19-23 1.2.3 thread-level prospective implementation of technology 23-24 § 1.3 of this article 24-26 § 1.4 The structure of this paper 26-27 Chapter 2 the SWT processor structure nbsp and § 2.1 SWT structure overview 27-37 ; 27-28 § 2.2 SWT in the thread and hardware support 28-29 2.2.1 SWT thread 28-29 2.2. 2 data and hardware support 29 § 2.3 SWT's execution mode 29-33 2.3.1 thread prospective level 29-30 The analysis of the 2.3.2 operating mechanism and the implementation of state 30-33 § 2.4 execution examples and key analysis 33-36 2.4.1 examples and analysis are found; 33-35 2.4.2 affect the performance of the three core issues 35-36 § 2.5 Summary 36-37 Chapter 3 threads divided and optimization methods nbsp 37-58 § 3.1 thread partition key issues; 37-40 3.1.1 thread division and thread-level prospective execution 37-38 the 3.1.2 thread divided status and inadequate 38-39 3.1.3 thread partition key issues and support technology 39-40 § 3.2 thread volume and related Quantitative evaluation of the 40-45 3.2.1 thread definition and representation 40-41 3.2.2 thread dynamic volume assessment - the path analysis 41 - 44 3.2.3 Inter-thread data assessment 44-45 § 3.3 thread partitioning algorithm 45-54 3.3.1 compiler optimization and the principle of classification 45-46 3.3.2 structural analysis based on partial ordering relations 46-49 the 3.3.3 thread by basic processes 49-51 <br / > 3.3.4 threads divided optimization 51-54 § 3.4 algorithm performance analysis 54-57 3.4.1 complex analysis 54-55 3.4.2 division process the 55-56 3.4.3 overall performance the 56-57 3.4.4 Applicability analysis 57 <br / > § 3.5 Summary 57-58 Chapter 4 data solution - bicyclic structure 58-78 § 4.1 data related issues outlined the 58 -62 4.1.1 traditional cache consistency and 58-59 the 4.1.2 of SCMP structure under the new characteristics 59-60 4.1. 3-level threads prospective implementation and inter-thread data correlation the 60-62 § 4.2 based the bicyclic structure the data correlation solution 62-65 4.2.1 support thread class forward-looking data correlation model the 62-64 4.2.2 The basic idea 64 4.2.3 working process 64-65 § 4.3 bicyclic structure of the hardware design are found; the 65-73 4.3.1 the record thread prospective state - cache flag extended 65-67 4.3.2 bicyclic structure-based data Maintenance pathway 67-71 4.3.3 Data Cache control flow changes 71-73 4.3.4 problems and solving strategies 73 <br / > § 4.4 Performance Analysis the 73-76 4.4.1 Research defect analysis the analysis 73-74 4.4.2 bicyclic structure validity 74 - 75 4.4.3 Performance assessment 75-76 § 4.5 Summary 76-78 Chapter 5 support thread-level threads forward-looking control 78 -89 § 5.1 thread control Overview the 78-80 thread 5.1.1 The concept of control 78-79 5.1.2 thread execution analysis 79-80 § 5.2 thread control design 80-83 5.2.1 thread create and end 80-81 5.2.2 thread-level prospective perform control 81-82 the thread 5.2.3 SWT controller 82-83 § 5.3, inter-thread register communication 83-86 5.3 .1 SWT basic transmission mechanism 83-84 5.3.2 final copy problem 84-85 5.3.3 drawbacks and optimization design 85-86 § 5.4 thread control flow analysis and performance testing 86-87 5.4.1 process analysis. 86 of 5.4.2 performance test 86 - 87 § 5.5 Summary 87-89 Chapter 6 prototype system instruction set and assembler design 89-96 § 6.1 prototype system for basic instruction set the 89-90 6.1.1 Addressing the 89-90 6.1.2 instruction format 90 § 6.2 of SWT-oriented instruction set extensions 90-93 6.2.1 extended instruction described the 90-91 6.2.2 instruction encoding 91-93 § 6.3 Assembler design 93-95 6.3.1 lexical analysis 93-94 6.3.2 Parsing 94-95 § 6.4 Summary 95 - 96 Chapter 7 prototype system hardware structure design and realization the processor core 96-108 1 § 7.1 SWT 96-99 7.1.1 processor the nuclear pipeline structure 96-97 7.1.2 global indication registers and thread control unit 97-99 the § 7.2 storage system design 99-103 7.2.1 Cache Design 99-101 7.2.2 bus arbitration is designed 101-102 7.2.3 storage interface unit 102-103 < br /> § 7.3 interrupt handling 103-104 § 7.4 hardware emulation platform and simulation environment 104-107 7.4.1 hardware emulation platform 104-106 7.4.2 simulation environment and process overview 106-107 § 7.5 Summary 107-108 Chapter 8 Conclusion 108-111 § 8.1 of this paper work and innovation to 108-109 § 8.2, the future research directions 109-111 Acknowledgements 111-112 papers published during the PhD 112-113 PhD during application and obtained a patent 113-114 during the PhD research work participation References 114-115 115-121

Related dissertations

  1. Study on Parallel Optimizations for Transactional Memory
  2. Research on Hardware Techniques for Thread Level Parallelism
    ZhuXia ·Northwestern Polytechnical University ·2003 ·Doctoral dissertation
  3. Parallel Algorithm Design and Optimization for H.264 Video Encoding
    JiangXingChang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  4. GPU-Based Parallel Optimization of Adaptive Gaussian Mixture Background Modeling Algorithms