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

Request the full text

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

  1. Multi-Core Programming for Dynamic Follow-Tree Index of Full Text Search Research
    ZhangXiang ·Guangxi University ·2013 ·Master's thesis
  2. Research of Programming and Performance Optimization under Intel Many-core Architecture
    YangXiaoZhe ·Shandong University ·2012 ·Master's thesis
  3. Study on Parallel Optimizations for Transactional Memory
  4. Research on the Improvement of the Performance Appraisal System for the Dispatching Labors of Changsha Mobile Communication Company
    SuHang ·Hunan University ·2013 ·Master's thesis
  5. Research on Performance Management of the Credit Cooperation in Shandongacounty
  6. The Research of Multi-face Recognition Algorithm for Intelligent Video Surveillance
    ChengZhanYuan ·Wuhan University of Technology ·2013 ·Master's thesis
  7. Software Design of HD Real-time Video Processing Based on Tilera Multicore Processor
    LiYiQing ·Zhejiang University ·2014 ·Master's thesis
  8. The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
    MaYingYing ·Hunan University ·2013 ·Master's thesis
  9. Uncertain Construction and Optimization of Reverse Logistics System
    ZhangLing ·Zhejiang University ·2014 ·Doctoral dissertation
  10. Design and Realization of Plastic Detection MIS Based on.NET
    DuLinFeng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  11. Research on Parallel Computing Technology in Loudi Region Analysis of Soil and Water Loss in the Processing of Application
    WangXiuLin ·Hunan University ·2013 ·Master's thesis
  12. Research on Optimization Technique for Hardware Transactional Memory System Based on CMP
    ZhangZuo ·Harbin Engineering University ·2013 ·Master's thesis
  13. Research on Performance Testing and Optimization Based on Massive Data Storage
  14. Research on Key Techniques on Design of Data-driven Asynchronous Microprocessors
  15. Research of RTEMS Embedded Operating System with Support for Muliticore Processor
    NiuYingZuo ·Harbin Engineering University ·2013 ·Master's thesis
  16. Optimization Design and Implementation of the ICS Terminal
  17. A Theoretical Analysis of the Lifetime and Energy Hole in Cluster Based Wireless Sensor Networks
  18. Research on Data-driven Crosspoint-Queued on Chip Router
    WangZhen ·Shanghai University ·2013 ·Master's thesis
  19. The Research of of ZigBee Network Structure of the Network Construction and the Method of Performance Optimization
    MouWeiQing ·Qilu Industrial University ·2013 ·Master's thesis
  20. Heat Transfer Characteristics and Mechanism Research of the Rmoelectric Generator
    ZhouZeGuang ·South China University of Technology ·2013 ·Doctoral dissertation