Study on Software Transaction Memory under Multi-thread Condition
- Author
- TanKe
- Advisor
- FuZuo
- School
- Chongqing University
- Major
- Theory of computer software
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 97
- Citations
- 0
Abstract
Currently, in a single chip integrates a plurality of processor cores, has become a major means of improving the performance of the processor . So , under the premise of not increasing processor frequency to reduce power consumption of the processor , greatly improving the computational performance of the multithreaded processor . However, for multi-core processors to give full play to multithreaded compute performance , the biggest challenge is to build a multi-threaded programming model . Multithreaded use locks to ensure synchronization between parallel threads , but if the lock has been carefully designed , can easily lead to deadlock , priority inversion error are poor , and program readability and reusability . Software transactional memory model series of shared storage area of operation as a transaction , to ensure the atomicity, consistency and isolation . Use it to replace the lock structure to simplify the programming model , to improve multi-threaded programming efficiency , the research focus . Software transactional memory model focuses on how to improve the performance and affairs of the execution of a single transaction priority scheduling algorithm , and less communication mechanism for coordination between the various affairs , each transaction is relatively independent . In multiple transactions between mutual restraint case , due to the lack of coordination means of communication , affairs submitted to the success rate will be a large performance penalty . Meanwhile , the transaction's reusability is poor . This situation, a software transactional memory model ( CSTM ) has immediate and effective means of communication by giving Affairs self- blocking ability as well as a combination of mechanisms , making the transaction . Proved by experiments , the model need to coordinate with each other in multiple transactions running case , relative to the locking mechanism and the system only has a simple transaction mechanism STM performance advantage . Also makes better reusability of the transaction module to simplify the programming of the software transactional memory model .
Table of contents
Abstract 3-4
ABSTRACT 4-7
1 Introduction 7-12
1.1 Background and problem statement topics 7-8
1.2 research status 8-10
1.3 Introduction this research work 10-11
1.4 thesis organization 11-12 <br / > 2 related knowledge base 12-27
2.1 multi-thread synchronization and locking mechanism 12-16
2.2 database transaction processing mechanism 16-21 < br /> 2.2.1 database transaction concepts 16-18
2.2.2 atomic Operations 18-20
2.2.3 flat Panel 20 <br / > 2.2.4 database transaction state transitions 20-21
2.3 software transactional memory model 21-26
2.3.1 Overview 21-22
2.3.2 STM transaction update mechanism 22-24
2.3.3 STM transaction priority algorithm 24-26
2.4 Summary 26-27
3 CSTM model design and analysis 27-40
3.1 design ideas 27
3.2 CSTM structure 27-28
3.3 examples 28-34
3.4 transaction with a combination of self blocking 34-39
3.4.1 affairs self blocking 34-37
3.4.2 the order of transactions combinations and choices 37-39
3.5 Summary 39-40
4 CSTM model realization 40-50
4.1 development environment 40-41
4.2 main data structures and process analysis 41-49
4.2.1 affairs priority calculation and queue management 41-43
4.2. 2 transaction log structure 43-45
4.2.3 affairs portfolio and run 45-49
4.3 Summary 49-50
5 system testing and performance analysis 50-59
5.1 test environment 50
5.2 test Description 50
5.3 test results 50-58 < br /> 5.4 performance Analysis 58-59
6 Summary and Outlook 59-60
Thanks 60-61
References 61-64
Appendix : the authors of papers published during the study for a degree directory 64
Related dissertations
- Research and Application on Intelligent Temperature Control System of Furnace Based on ePLC
- Research on and Implementation of Network Topology Discovery Algorithm
- Research and Implementation of a High-performance Packet Capture System
- Study of Multi-moving Pedestrians' Detection and Tracking
- The Performance Analysis and Optimization of the Police Performance Appraisal System
- Design and Implementation of Scientific Research Data Importing Module
- Research and Implementation of Parallel Query Processing in Column-store
- China Development Bank Asset Management Systemdesign and Implementation
- Design and implementation of intelligent Upper West pharmacy system software
- Research on Solving Maximum Flow Problem of Large-scale Networks Based on Granular Method
- Research of STM Conflict Management Based on Signature
- Research on Parallel Decompression System of Hyperspectral Data Based on JPEG2000
- Research on the Application of the Techniques of Chinese Women’s Volleyball Team
- Design of Power Quality Disturbances Identification System Based on Multithreading
- Design and Implementation Based on the Android Platform of Smart Home Client System
- Localization for Quadrotor Unmaned Aerial Vehicle in Complex Environment
- Study and Design of a UAV Ground Control Station Software System
- Synthesis and Application Characteristics of an Aminosilicone Polyether Block Copolymer
- Synthesis and Characterization of the Block Copolyimides and Nanocomposite Photoluminescent Polyimide Films
- The Uplift in the Northeastern Margin of the BaYan Har Block since the Quaternary