Research on Thread-based Data Prefetching Techniques
- Author
- OuGuoDong
- Advisor
- ZhangMinXuan
- 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
- 2011
- Downloads
- 82
- Citations
- 0
- Multi-threaded processor
- single-threaded application
- critical memory instructions
- thread-based multi-path data prefetching
- evaluation
- in-correct speculation
- confidence
Abstract
With the development of technology and architecture, multi-threaded processors have gradually become the mainstream of microprocessor. But a lot of legacy code as well as new code coded with sequential model can not take advantage of multiple con-texts; their performance may be downgraded because of competition with other applica-tions. Approcaches to impove single-threaded applications’s performance in multi-threaded processors become the focus of discussion.Thread-based data prefetching is an effective way to ease the memory wall under multithreading environment. Data prefetching threads extracted from the main program are executed in parallel with the main program threads, and typically generate the access address much faster since they only execute dependent address computations. Thread-based data prefetching is the development and complementation of traditional data prefetching techniques, and it is also an extension and enhancement of multi-threaded architecture.This dissertation studies data prefetching techniques, focusing on thread-based data prefetching technique and related optimization. The main contributions are as follows:1. Analyze memory access behavior of applications; define problem memory in-structions and critical memory instructions. Propose a data prefetching tech-nique using helper threads: Thread-based Multi-Path Data Prefetching, TMPDP.2. Propose a two-phase evaluation scheme. Evaluate the effects of data prefetch threads in the stage of construction and execution.3. Propose an optimized data prefetching technique using incorrect speculation. The influence of control flow in data prefetch threads is also analyzed. We use branch instructions in data prefetch threads to control the execution flow. Such accurate control helps to improve the accuracy of prefetch, to reduce useless prefetch and cache pollution.4. Propose a confidence-based control scheme. This scheme use confidence to enhance branch prediction, especially multi-branch prediction and to control data prefetch thread extraction, spawning and execution.In this dissertation we implement and validate TMPDP techniques on two different platform including simultaneous multithreading(SMT) processors (one is a superscalar simultaneous multi-threading processor, the other one is an Explicitly Parallel Instruc-tion Computing processor with simultaneous multithreading extension) and single chip multi-processors(CMP). Simulation results show that TMPDP not only accelerates sin-gle-threaded applications, but also improves system throughput. TMPDP has already been applied in projects supported by The National High Technology Research (2002AA110020, 2005AA110020) and Development Program of China and National Natural Science Foundation of China (60376018).
Table of contents
Summary 9-10
ABSTRACT 10-12
first chapter 12-22
1.1 research background 12-17
1.1.1 thread-level parallelism development 12-13
1.1.2 explicitly multithreaded architecture 13-14
1.1.3 implicit multithreading architecture 14-15
1.1.4 thread-based data prefetching 15-17
1.2 topics engineering background 17-19
1.3 of this article work 19-20
1.4 the paper is organized 20-22
chapter multipath threading technology -based data prefetching 22-40
2.1 application storage behavior analysis 22-27
2.1.1 application storage behavior under a single-threaded environment analysis 23-25 ??
multithreaded environment under 2.1.2 application storage behavior analysis 25-27
2.2 key storage instructions 27-30
2.2.1 traditional hardware prefetch process \> 2.2.2 proposed critical storage instructions 29
2.2.3 analysis of the key features of the store instruction ; 2.3 related research nbsp 29-30
30-34 <br / > 2.3.1 -oriented data structure prefetching SMT technology 30-32
2.3.2 -oriented data structures such as prefetching CMP technology 32-34
2.3.3 summary thread-based data prefetching methods 34
2.4 TMPDP design ideas 34-38
2.5 summary 38-40
Chapter prefetch thread structure 40-52
3.1 key command recognition 41-42
3.2 storage correlation processing 42-43
3.3 trigger instruction selection 43-45
3.4 data prefetch thread merger 45-47
3.5 simulation experiments and results analysis 47-51
3.5.1 storage relevance 47-49
3.5.2 trigger command selection 49-50
3.5.3 data prefetch thread merger 50-51
3.6 Summary 51-52
Chapter IV two-stage data prefetch threads assessment strategies 52-60
4.1 related research 52-54
4.1.1 threading Building assessment stage assess 52-53
4.1.2 thread execution stage 53
4.1.3 two- stage data prefetch threads assessment 53-54
4.2 build new data prefetch threads assessment 54-56
4.3 data prefetching threads assess the actual effect 56
4.4 simulation experiments and results analysis 56-59
4.5 Summary 59-60
Chapter multipath error prospective data prefetching methods affect 60-72
5.1 control flow for prefetching 60-63
5.2 error prospective multi- path data prefetching 63-65
5.2.1 deviated from the correct path to the timing of the implementation of the performance impact of 64-65 < br /> 5.2.2 deviate from the correct path of execution impact on performance 65
5.2.3 mispredicted branch instruction type impact on performance 65
5.3 simulation experiments and results analysis 65-70
5.4 related research 70-71
5.5 Summary 71-72
Chapter VI execution control mechanism based on the confidence of 72-80
6.1 branch prediction 72-73
6.2 confidence evaluator 73-76
6.3 degree of confidence based on the data prefetch thread control mechanism 76
6.4 simulation experiments and results analysis 76-77
6.5 Summary 77-80
Chapter VII oriented structure TMPDP SMT technology 80-106
7.1 while TMPDP model for superscalar multithreaded structure 80-94
7.1.1 Simultaneous multithreading superscalar architecture model 80-81
7.1.2 while TMPDP model for superscalar multithreaded structure 81-82
7.1.3 simulation experiments and results analysis 82-94
7.2 for EPIC Meanwhile TMPDP technology multithreaded architecture of 94-105
7.2.1 EPIC simultaneous multithreading structure model EDSMT 94-97
7.2.2 for EDSMT of TMPDP model EDSMT-TMPDP 97-105
7.3 Summary 105-106
Chapter VIII of the CMP -oriented structure TMPDP technology 106-116
8.1 CMP structural model TMPDP model 106-107
8.2 CMP -oriented structure 107-109
8.3 CMP-TMPDP key technology 109-111
8.3.1 monitoring thread 109-110
8.3.2 prefetch thread construction algorithm 110
8.3.3 prefetch threads assessment 110
8.3.4 nuclear communication between 110-111
8.4 simulation experiments and results analysis 111-113
8.5 Summary 113-116
IX Conclusion 116 -118
9.1 work done and innovation 116-117
9.2 future research directions 117-118
Thanks 118-120 <br / > References research results 120-128
doctorate during 128-129
Related dissertations
- Evaluation of Public Scientific Literacy Level in Fujian Province and Its Influencing Factors
- Study on Innovation Capability of Agricultural Research Institutions of Gansu Province
- Study on the Evaluation of Science and Technological Innovation Capability in Jing-jin-ji Region
- Study on Influence Factors and Evaluation of Knowledge Management Capability of Small and Medium-Sized Enterprises in Hunan Province
- Study on the improvement of trustworthiness evaluation and decision-making mechanism of group decision results
- The research framework of evaluation index system of the designated medical institutions for medical insurance credit rating
- Social Health Insurance Fund is Exposed and Evaluation Mechanism of the Influence
- Financial Ecology Environment Evaluation of Qingdao and Countermeasures to Improve
- Research on the Method for Identifying and Evaluating Enterprise Credit Risk Considering Commercial Banking System
- Quality Evaluation of China’s Commercial Banks’ Profits
- Research on Performance Audit Evaluation in Ommercial Banks
- A Study on the Effectiveness of Performance Evaluation System of A Bank Shaanxi Branch
- Research on Industrial Security of Bank in China
- Evaluation on the Listed Commercial Banks in China Based on the Discounted Cash Flow Method
- Study on Perfecting Fiscal Expenditure Performance Management in China
- Evaluation Research on Service Industry’s Public Image
- Guides Psychological Capital and Promotion of-a Case Study of Qingdao City
- The Research on Evaluation and Exploitation of Tourism Value of Historical and Cultural Heritage in Liaoning Provinee
- Evaluation on Competitiveness of Dessert Tourism in Xinjiang
- DEA-based Evaluation on the Efficiency of Regional Tourism Industry