Research on Nested Transactional Memory

Author
HeTuanWei
Advisor
SunJiZhou
School
Tianjin University
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2007
Downloads
45
Citations
0

Request the full text

Abstract

Concurrent user application is gradually growing, modern computer contains a single-core multi-threaded and single-chip multi-core functionality. How to effectively multicore processor architecture developed high-performance portable parallel programs, reduce the difficulty of parallel program development, improve the efficiency of the design and development of parallel programs become a key issue in the field of parallel computing. The traditional user applications using fine-grained locks mutex to synchronize, but this way is easy to form a deadlock and has not be combined, issues such as priority inversion and escort effect. Nonblocking algorithm avoids these limitations, and to ensure that the thread delay or failure will not hinder the system as a whole and on the forward execution, but also difficult to achieve and applications. Transactional memory technology is based on the successful concurrent processing experience in database management systems, to efficiently complete the memory level concurrent read and write operations. Transactional memory system is the core of the conflict is detected. Summary and analysis of domestic and foreign research and exploration done in transactional memory, the existing software and hardware transactional memory system design methods and conflict detection mechanisms, analyzing the advantages and disadvantages of each. On this basis, the first mathematical models for conflict detection in transactional memory system. The composability modern software engineering based on nested transactional memory precisely transactional memory can be combined performance. This article through the analysis of the traditional parallel programming method, combined with the existing theory of transactional memory in the memory access level nested transaction memory model. The model has nothing to do with the hardware defined plane Affairs, closed the transaction and open transaction semantics in various operating describe the the firm visibility memory state, memory access conflicts, submitted with the premature death action. On the basis of the model, in-depth research and analysis of the open transaction semantics, and applicable nested transactional memory system priority competition management algorithm, this algorithm is applied to the system can effectively improve transaction execution unit time number. On the basis of the above work, a nested transactional memory system using the C programming language. The system has good scalability, friendly programming interface from the true sense of the development process to simplify parallel programming, and improve the efficiency of the parallel program development.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-7 first chapter 7-14 1.1 Background 7-9 1.2 research status 9-12 1.3 In this paper, the main research and innovation 12-13 1.4 of this article content and structure 13-14 transactional memory 14-23 2.1 transactional memory database transaction 14-17 2.1.1 database transaction 14-15 2.1.2 transactional memory 15-16 2.1.3 the transactional memory database transaction differences 16-17 2.2 transactional memory system classification 17-19 2.3 transactional memory 19-23 2.3.1 update timing 19-21 2.3.2 synchronization mechanism 21 2.3.3 concurrency control 21-23 Chapter nested transaction memory model 23-34 3.1 Definition of Terms 23-25 3.2 read and write operations semantics 25-27 The the 3.3 plane Affairs model termination semantics 27-29 3.3.1 the plane Affairs mortality semantic 28 3.3.2 flat transaction commits semantic 28-29 3.4 closed transaction model terminate semantics 29-30 3.4.1 closed transaction mortality semantic 29 3.4.2 closed transaction commits semantic 29-30 3.5 Open transaction model termination semantics 30-34 3.5.1 Open affairs mortality semantic 31 3.5.2 open transaction commits semantic 31-34 Chapter nested transactional memory system design 34-43 4.1 metadata 34-37 the 4.1.1 shared object metadata 34-35 the 4.1.2 thread Affairs metadata 35-36 4.1.3 nested transaction metadata 36-37 4.2 Collision Detection 37-39 4.2.1 Affairs descriptive model 37-38 4.2.2 conflict detection algorithm 38-39 4.3 competition 39-43 4.3.1 Priority algorithm 40-42 4.3.2 Priority algorithm with Aggressive algorithm differences 42-43 Chapter nested transactional memory system 43-56 5.1 programming interface 43-48 5.1.1 shared object interface 43-44 5.1.2 thread transaction interface 44-46 5.1.3 nested transaction interface 46-48 5.2 platform portability 48-56 5.2.1 X86 platform on the design and implementation of 49-51 5.2.2 SPARC platforms Design and Implementation 51-52 5.2.3 PowerPC platform Design and Implementation 52-56 Chapter Summary and Outlook 56-58 6.1 Full Summary 56-57 6.2 further work 57-58 the References 58-62 the papers and research Description 62-63 Acknowledgements 63

Related dissertations

  1. Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
    XieYing ·Northeastern University ·2013 ·Master's thesis
  2. A Distributed Programming Framework Based on Transactional Memory
  3. Cache Coherence Techniques for Chip Multiprocessor Architecture
  4. Study on Parallel Programming Models
    YaoZhen ·University of Science and Technology of China ·2006 ·Doctoral dissertation
  5. Study on Transactional Memory Programming and Software Library Optimization of Tera-Flops Computer KD-50-I
  6. Certifying Concurrent Porgrams Using Transactional Memory
    LiLong ·University of Science and Technology of China ·2008 ·Doctoral dissertation
  7. Verifying Parallel Programs Using Software Transactional Memory
    LiYong ·University of Science and Technology of China ·2011 ·Doctoral dissertation
  8. Research on Key Techniques for NUMA-aware Transactional Memory
  9. Research on Nested Transactional Memory of Object-oriented Program
    CaoMingTeng ·Zhejiang University ·2008 ·Master's thesis
  10. Support for scalable speculative parallelization transactional storage architecture design and performance evaluation
  11. Based on the OpenMP Fortran programming language transactional storage and realization of environmental studies