Performance Optimization on Multicore Transactional Memory Architecture Supporting Speculative Parallelization
- Author
- WangYaoBin
- Advisor
- AnHong , LiGuoJie
- School
- University of Science and Technology of China
- Major
- Computer System Architecture
- Classification
- TP333 Memory
- Degree
- Doctoral dissertation
- Year
- 2010
- Downloads
- 247
- Citations
- 1
- Multicore
- Transactional storage
- thread-level speculative parallelism
- Offline profiling
- Online profiling
Abstract
With the popularity of multi-core platforms, how to take advantage of multi-core to accelerate the execution of serial applications has become a hot research issues of common concern in academia and industry. Explicit lock synchronization mechanism itself has a high complexity, easy wrong and conservative performance natural defects, fundamentally limits the scalability of parallel programs and programming efficiency limits take full advantage of multi-core resources. Correctness maintenance to parallel programming complexity and performance constraints, transactional memory (Transactional Memory, TM) technology to solve the parallel program to develop thread-level parallelism available on multicore structure, has become consensus in academia and industry. This article from the effective development and application of thread-level parallelism start focusing on the high-performance, easy programming and is compatible with three goals, through the optimization of the hardware and software co-depth study of the of multicore transaction support speculate parallel storage architecture both increase the effective utilization of multicore chip-chip computing resources, and can effectively reduce the difficulty of parallel programming, smooth migration of traditional applications. Multicore transactional memory architecture division and thread from the thread to perform two aspects, the synergy of hardware and software support speculate parallel performance optimization is carried out in-depth research, involving the structure model, programming model, and performance analysis model, offline profiling guiding thread divided mechanisms and online profiling guiding thread enforcement mechanisms. The main contents and results include: (1) a detailed and in-depth research, analysis and comparison of their hardware and software support mechanism, proposed a new type of software and hardware thread-level speculative parallelism of two mainstream technology trends collaborative support speculate parallel multicore transactional storage architecture based juice program. Thread division, the system software thread-level speculative thinking, the thread execution hardware transactional memory technology support a variety of hardware and software factors and offline profiling and online profiling technology synergies achieved while improving program performance and reduce The dual goals of parallel programming difficulty. (2) in terms of software threads divided from simplify parallel programming and parallel execution performance optimization point of view, the proposed set of thread-level speculated parallel criteria, research methods and parsing mechanisms determined use offline profiling technology to achieve based on transactional storage thread partitioning scheme. And designed and implemented in accordance with the mechanism set of thread-level speculative parallelism offline profiling tool set OpenPro. (3) the use of the the OpenPro tool set of desktop applications, multimedia applications and high-performance computing application speculated impact of thread-level parallelism of the key factors to analyze the parallel potential angles to explore, from the application itself, such as a single program can only be effective The use of 16-core computing resources are some important understanding of the current multi-core technology roadmap inflection point. (4) in thread execution support mechanisms, starting from scalability and easy hardware to achieve two optimization objectives put forward a kind of support priority judgment directory-based cache coherency protocol, designed on the basis of and complete mechanism for a runtime library supports both thread-level speculation and transactional memory semantics of distributed scalable multicore transactional storage processor PTT hardware simulator. The processor design breakthrough in the centralized structure of the previous similar scenarios bus and other hardware systems limit scalability, while achieving good scalability, and easy-to-hardware design to achieve the goal; positive version management and positive detection mechanism set distributed hardware transactional storage mechanism automatically safeguard the consistency of the hardware system, greatly reducing the complicated work and the complexity of the programmers during parallel programming. This has a very important significance for the popularity of parallel programming, improve the productivity of parallel programs. (5) presents a the the PCL performance analysis model for thread-level speculative parallelism technology and online profiling technology into the PTT hardware simulation platform based on the model proposed final optimization. At the same time through a variety of hardware and software means the PTT system analysis and collaboration mechanism, its full evaluation and analysis correctness, validity and flexible configurability three levels, respectively. Obtained some important understanding of this research work: (1) the thread-level speculative transaction storage technology combined hardware and software factors reasonable coordination can effectively develop the potential in the serial program thread-level parallelism , while effectively reducing the difficulty of parallel programming, which greatly improves the productivity of parallel programming. (2) traditional superscalar the mononuclear structure multicore chip technology roadmap, focusing on both the effective utilization of the hardware and to maximize the potential of the inherent parallelism in the program, accelerated single serial application, partially dependent serious some applications (such as SPEC and some rely on serious scientific computing program) with 2-4 nuclear had enough; most multimedia applications and high-performance computing applications using 8-16 the nuclear to accelerate more appropriate; particularly suitable for applications effective utilization of 64-128 core and over the computing resources. (3) Although thread-level speculation parallel technology in desktop applications such as program data dependent serious applications ineffective, but has a large amount of computation, moderate speculative threads granularity and fuzzy dependent multimedia and high-performance computing applications or appropriate to adopt. Thread-level speculation parallel the biggest advantage of the technology is its compatibility with the programmability of good articles on these two points, the most classic application software smooth migration to multi-core platforms, further liberate programmers, thread-level speculative parallel will have an important place in the architecture study. Work and results of this research can be used to guide the shared storage multicore chip architectures and parallel programming environment design, parallel programming difficulty as small as possible, the complexity of the system software and system hardware cost as much as possible from the serial The program developed can be used in a multi-core chip thread level parallelism.
Table of contents
Abstract 5-7
ABSTRACT 7-17
Chapter 1 Introduction 17-30
1.1 Background 17-22
1.1.1 use of the multicore acceleration applications significance serial 17-20
1.1.2 traditional thread-level parallelism technology limitations 20-22
estimated 1.2 thread-level parallel technology 22-26
1.2.1 transactional storage technology About 22-23
the
the 1.2.2 thread level speculative Technical Overview 23-25
1.2.3 will combine the advantages of thread-level speculative transaction storage technology 25-26
1.3 thesis goals and major work 26-28
1.4 thesis structure 28-30
Chapter 2 research 30-54
2.1 thread-level estimation technology trends 30-38
2.1.1 hardware-thread-level speculative 30-31
2.1.2 software type thread-level speculative 31-33
2.1.3 software and hardware combination of thread-level speculation 33-34
2.1.4 thread-level speculative representative work Hydra 34-38
2.2 transactional storage technology trends 38-47
2.2.1 hardware support for transactional memory system implementations 39-41
2.2.2 software supports transactional storage system implementations 41-43
2.2.3 Transaction store representative research LogTM 43-47
the
the 2.3 thread level speculated transactional memory technology combined technology trends 47-52
2.3.1 software and hardware combination technology trends 47-49
2.3.2 thread-level speculated transactional storage technologies representative research TCC 49-52
2.4 Summary 52-54
Chapter 3 thread-level speculated parallel research methods and profiling tools 54-72
3.1 thread-level speculated the parallel research methods 54-61
3.1.1 thread the division and speculative execution model 54-56
3.1.2 thread-level speculative parallelism performance influencing factors 56-58
3.1.3 thread-level dependency analysis method 58-59
3.1.4 parse guiding thread divided mechanism 59-60
3.1.5 thread partitioning scheme based on transactional storage 60-61
3.2 thread-level speculated parallel profiling tools 61-71
3.2.1 parsing program the Framework Design 61-62
3.2.2 profiling tools achieve mechanism 62-69
3.2.3 OpenPro profiling tool set designed to illustrate 69-71
3.3 Summary 71-72
Chapter 4 threads speculated parallelism in the application of adaptive research 72-90
4.1 application classification and research significance 72-74
4.2 experimental program description 74
4.3 desktop application adaptive analysis 74-79
4.3.1 application, select Help 74-76
4.3.2 for the performance evaluation of the circular structure 76-78
4.3.3 for the performance evaluation of the subroutine structure 78
4.3.4 Summary 78-79
4.4 multimedia applications adaptive analysis 79-83
4.4.1 application, select Help 79-80
4.4.2 for the performance evaluation of the circular structure 80-82
4.4.3 for the performance evaluation of the subroutine structure 82-83
4.4.4 Summary 83
4.5 of high-performance the adaptive analysis computing applications 83-88
4.5.1 application, select Help 83-84
4.5.2 for the performance evaluation of the circular structure 84-87
4.5.3 for the performance evaluation of the subroutine structure 87
4.5.4 Summary 87-88
4.6 Summary 88-90
Chapter 5 multicore transactional storage processor system design optimization 90-107
5.1 Introduction 90-92
5.1.1 design ideas 90-91
5.1.2 optimization 91-92
5.2 hardware structure model 92-95
5.2.1 hardware architecture 92-93
5.2.2 speculative execution hardware support mechanism 93-94
5.2.3 sequential submit hardware support mechanism 94-95
5.3 programming model 95-100
5.3.1 cycle package 96-97
5.3.2 variable statement adjustment 97-98
5.3.3 runtime library 98-99
The
5.3.4 compiler support 99-100
5.4 thread execution model 100-104
5.4.1 Overview 100-101
5.4.2 speculative threads initialization 101-102
5.4.3 speculative threads to start 102
5.4.4 speculative threads execute 102-103
5.4.5 speculative threads submit 103-104
5.5 PTT simulator to achieve 104-105
5.5.1 GEMS simulator About 104-105
5.5.2 the PTT simulator instructions 105
5.6 Summary 105-107
Chapter 6 support speculated parallel multicore transactional memory architecture performance evaluation 107-133
6.1 experimental program 107-111
6.1.1 Overview of the program 107-109
6.1.2 test program sets 109
6.1.3 experimental configuration and its calculation memory access communication cost model 109-111
6.2 Basic performance evaluation 111-117
6.2.1 speedup analysis 111-113
6.2.2 rollback rate analysis 113-114
6.2.3 IPC analysis 114-115
6.2.4 cache miss rate analysis 115-116
6.2.5 link delay analysis 116-117
6.2.6 Summary 117
6.3 system performance impact factors evaluation 117-123
6.3.1 interconnect topology 117-119
6.3.2 token passing overhead 119
6.3.3 L2 Cache organization 119-121
6.3.4 thread to start Strategic Analysis 121-122
6.3.5 thread the retry strategy analysis 122-123
6.3.6 Summary 123
6.4 dissect guidance optimization 123-131
6.4.1 design principles 123-126
6.4.2 Online analysis of the PCL performance analysis model 126-128
6.4.3 thread optimization of the start-up phase 128-130
the
the 6.4.4 thread execution stage optimization 130-131
6.4.5 Summary 131
6.5 Summary 131-133
Chapter 7 Full Summary 133-139
7.1 research work and achievements 133-136
7.2 major innovation 136-138
7.3 further work 138-139
the
References 139-148
Acknowledgements 148-150
the
papers published during reading the research achievements 150-152
read during participation in scientific research 152-153
Related dissertations
- Self-Tuning Data Prefetcher for Embedded System
- Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
- Fabrication and Transmission Property Research of Photonic Crystal Fiber
- Design and Supermode Analysis of Seven-core Photonic Crystal Fiber
- Heterogeneous Platform Research Based on Streamit Compiler
- Design and implementation of a hierarchical MapReduce model based on multi-core clusters
- Design and Implementation of Multicore Simulator Based Dataflow Execution
- Research on Technology of Managing Shared Memory in Multicore Operating Systems
- Operating System Scheduling for Multicore Processors
- Research and Implementation of Linux-based Multi-core Parallelization on XviD Encoding
- Cache Optimizations and Parallel Simulation for Multi-threaded Workloads
- Hierarchical virtual bus cluster structure of the interconnection network design and research based on
- Research and application of parallel algorithm in AOI system
- Synchronization-Aware Energy-Efficient Scheduling Algorithm in VFI-Based Multicore Real-Time Systems
- Model Complexes of Manganese-Containing Metalloenzyme: Studies on Synthesis, Structure and Properties of Mn(Ⅲ),Mn(Ⅳ) and Mixed-Valence Multnuclear Manganese Complexes
- Research on the Efficient Thread-level Speculation and Transactional Execution Model on Multi-core Platform
- One Dimensional Functional Nanomaterials by Electrospinning Technique and Their Property
- Support-Vector Modeling and Compensation for the Effect of Structural Factors on Electrical Performance of Electronic Equipments
- Research on the Performance and Scalability of Data-Parallel Programming Model on Multicore
- Research on Parallel Algorithms and Performance Optimization of Top-к Querying Problem