Research on Optimization for High Performance Hardware Transactional Memory in Multicore System
- Author
- FuZuo
- Advisor
- YangXiaoZong
- School
- Harbin Institute of Technology
- Major
- Computer System Architecture
- Classification
- TP338.6 Parallel computer
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 33
- Citations
- 0
- Multicore Processor
- Hardware Transactional Memory
- Parallel Programming
- Performance Optimization
- Transaction Congestion
Abstract
The emergence of multicore processors shifts single threaded applications to concurrent multithreaded applications easily. Efficiently synchronization between the multicore processors is a key challenge for parallel programming. In the past years, lock mechanisms are used for multithread synchronization. But these systems are error-prone or poor scalability. After many multicore processors appear, Transactional memory is a parallel programming model that is proposed as an alternative to lock-based programming. Transactions allow a thread to execute a sequence of shared memory accesses atomically.Transactional memory can be implemented in hardware, software, or a mixed of the two. Because Software Transactional Memory (STM) systems don’t need to modify the existing hardware design, it is very easy to implement. Poor system performance and weak atomicity are two serious disadvantages for most existing STMs. Compared to STM, high performance and strong atomicity of Hardware Transactional Memory (HTM) are very useful advantages for researchers. The most hardware transactional systems can get access to shared memory concurrently. This may lead to data conflicts between transactions and even bring lower system performance or deadlock. Specially, when imperfect signature is used in the real multicore system based on hardware transactional memory, the data conflicts will become more and more. My work is based on this case.The first problem is that the systems use a fixed transaction backoff mechanism without tuning backoff time dynamically. Through monitoring the system runtime information, we proposed an adaptive transaction backoff mechanism with conflict congestion information. This mechanism monitors and records the change of backoff phase and useful transaction phase for tuning backoff time. It is very easy to realize that a transaction backoff time has relationship with the system’s conflict information. The system with this mechanism decreases the execution time.The second problem is how to choose a stalled transaction to abort for saving the current work and satisfying requirements of the other waiting transaction. We proposed a transaction abort mechanism based on EnemyQue. It is recored the number of the enemy transactions for every transaction. When the system will abort the stalled transaction and release the occupied resources, it chooses the stalled transaction with the more enemy transactions to abort. This makes more transactions get benefit for its aborting. This mechanism decreases the execution time.The third problem is how to choose transactions to restart. If a transaction restarts without the wanted resource, it has to abort again. So the system will have low performance. We proposed an Alert-on-Update transaction restart mechanism. In this mechanism, after the transaction commit, it will release the occupied resource and alert the enemy transaction to restart and execute. It avoids the restart with blindness and decrease the number of reabort operation. The mechanism also gets performance improvement in EL and LL HTM systems.
Table of contents
Abstract 4-6
Abstract 6-11
Contents 11-14
Chapter 1 Introduction 14-30 <br / > 1.1 Research background and significance 14-18
1.2 Affairs and transactional storage the 18-27 1.2.1
Affairs 19-20
1.2. the transactional storage 20-23
1.2.3 hardware transactional storage 23-25 ??
1.2.4 conflict management 25-27
1.3 this article research 27-28
1.3.1 based on the optimization of adaptive Affairs backoff mechanism the 1.3.2 based EnemyQue queue Affairs 27
give up mechanism optimization 27 -28
1.3.3 instant notification of transaction restart mechanism-based optimization 28
1.4 paper structure 28-30
Chapter 2 hardware transactional memory system experiment 30-38
2.1 experimental platform the 30-33 2.1.1 simulation environment
31-32
2.1.2 LogTM-SE hardware Affairs storage system architecture 32-33
2.2 hardware the transaction storage system simulator 33-35
2.3 test load 35-37
2.4 Chapter Summary 37-38
Chapter 3 hardware transactional memory system design space 38-46
3.1 Introduction 38
3.2 version control and conflict detection 38-40
3.2.1 the positive version control and positive conflict detection system 39
3.2.2 negative version control and negative conflict detection system 39
3.2.3 negative version control and positive conflict detection system 39-40
3.3 Conflict Management 40-44
3.3.1 Early conflict management strategies to analysis 40-41
3.3.2 morbid, and its solution the the conflict density analysis solutions 41-42
3.3.3 42-43
3.3.4 Affairs congestion 43-44
3.4 signature system the 44-45 3.5 Chapter Summary
45-46
Chapter 4 based on the optimization of adaptive Affairs backoff mechanism 46-66
4.1 Introduction 46-47
4.2 Adaptive Affairs backoff algorithm 47-49 <br / > 4.3 adaptive Affairs backoff mechanism 49-53
4.4 Experimental results and analysis 53-64
4.4.1 speedup analysis 55-56 <br / > 4.4.2 Analysis of the proportion of time 56-62
4.4.3 abort the operation related statistical data analysis 62-64
4.5 Chapter Summary 64-66 < br /> Chapter 5 to abandon the transaction based on EnemyQue queue mechanism optimization 66-83
5.1 Introduction 66
5.2 based the transaction retry queue to give up mechanism 66-68
5.3 Affairs based on EnemyQue queues give up mechanism 68-71
5.4 Experimental results and analysis 71-81
5.4.1 speedup analysis 72-73
5.4.2 Analysis on a time proportion 73-79
5.4.3 abort the operation statistics data analysis 79-81
5.5 Chapter Summary 81-83
Chapter 6, based on the the instant notification Affairs restart mechanism optimization 83-102
6.1 Introduction 83-84
6.2 competition matters matrix and abandon the transaction Matrix the 84-86
6.3 based the instant notification affairs restart mechanism 86-89
6.4 Experimental results and analysis 89-99 < br /> 6.4.1 speedup analysis the 6.4.2 time analysis of the proportion of 90-91
91-96
6.4.3 abort the operation statistics data analysis nbsp the EL and LL system; 96-99
6.5 99-101
6.6 Chapter Summary 101-102
conclusion 102-104 < br /> 115-116
Personal References 104-113
published during the PhD thesis and the other achievements 113-115
Acknowledgements Resume 116
Related dissertations
- Multi-Core Programming for Dynamic Follow-Tree Index of Full Text Search Research
- Research of Programming and Performance Optimization under Intel Many-core Architecture
- Study on Parallel Optimizations for Transactional Memory
- Research on the Improvement of the Performance Appraisal System for the Dispatching Labors of Changsha Mobile Communication Company
- Research on Performance Management of the Credit Cooperation in Shandongacounty
- The Research of Multi-face Recognition Algorithm for Intelligent Video Surveillance
- Software Design of HD Real-time Video Processing Based on Tilera Multicore Processor
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- Uncertain Construction and Optimization of Reverse Logistics System
- Design and Realization of Plastic Detection MIS Based on.NET
- Research on Parallel Computing Technology in Loudi Region Analysis of Soil and Water Loss in the Processing of Application
- Research on Optimization Technique for Hardware Transactional Memory System Based on CMP
- Research on Performance Testing and Optimization Based on Massive Data Storage
- Research on Key Techniques on Design of Data-driven Asynchronous Microprocessors
- Research of RTEMS Embedded Operating System with Support for Muliticore Processor
- Optimization Design and Implementation of the ICS Terminal
- A Theoretical Analysis of the Lifetime and Energy Hole in Cluster Based Wireless Sensor Networks
- Research on Data-driven Crosspoint-Queued on Chip Router
- The Research of of ZigBee Network Structure of the Network Construction and the Method of Performance Optimization
- Heat Transfer Characteristics and Mechanism Research of the Rmoelectric Generator