Parallel computing software transactional memory programming algorithm research and optimization

Author
HeXiaoYuan
Advisor
LiJingTao
School
Fudan University
Major
Software Engineering
Classification
TP338.6 Parallel computer
Degree
Master's thesis
Year
2011
Downloads
56
Citations
0

Request the full text

Abstract

In recent years , along with computer multicore era , software development there has been a new challenge , how to conduct effective parallel computing programming , the full release of the multi-core computing power , has become the hot issues of the current discussion . Traditional parallel computing programming mode is generally used multiple threads in a lock mechanism to achieve. This multi- threaded programming model requires the programmer must write code using the lock mechanism control program at the thread level synchronization problems , a very high degree of complexity of the code , can easily lead to deadlock , livelock , priority inversion and other issues. Software transactional memory ( Software Transactional Memory , STM ) is a new parallel programming model , which uses the transaction for thread synchronization , an alternative lock synchronization mechanism . Software transactional memory package a set of operations to the transaction through an atomic operation to run a very simple and effective means of programming for parallel computing programming . Software transactional memory the complex conflict detection mechanism , and the conflict misjudgment make it there has been a lot of performance issues . In this paper , on the basis of theory and algorithm analysis of existing software transactional proposed comprehensive use of the following three-point optimization program : invalid validation strategy instead of the traditional validation strategy to improve the pass rate of the transaction ; competition management algorithm dynamically adjusted according to the actual operation of the system , making the system's utility greatly improved ; optimal adjustment strategy , through the introduction of dynamic Bloom Filter parameters , greatly reduce the error rate of the transaction conflict , making the performance of the system has been further improved . Finally, we designed and implemented a prototype of a comprehensive optimization of object-based software transactional memory system ( Integrate Multi Optimized STM , IMO.STM ) , the experimental results show that this integrated optimization by dynamically at runtime software transactional memory system has a very good overall performance advantage .

Table of contents

Abstract 4-5 ABSTRACT 5-6 first chapter 6-13 1.1 multicore era and parallel computing 6 -8 1.1.1 Design of parallel computing model 6-8 1.1.2 transactional memory and locking mechanism 8 1.2 transactional memory 8 -10 1.2.1 Hardware-based transactional memory 9 1.2.2 software-based transactional memory 9 1.2.3 Mixed transactional memory 9-10 1.3 domestic and foreign research 10 1.4 The main work and achievements 10-11 1.5 full organizational structure 11 - 13 Chapter II software transactional memory 13-27 2.1 software transactional memory, semantic description 13-14 2.2 shared memory modification process 14-15 2.3 object-based software transactional memory 15-19 2.4 word-based software transactional memory 19-21 2.5 Factors affecting STM design 21-24 2.5.1 Synchronization type (SYNCHRONIZATION TYPES) ?? 21-22 2.5.2 memory write protection lock acquisition opportunities 22 2.5 .3 memory update policy (UPDATING POLICIES) 22-23 2.5.4 Memory size (MEMORY GRANULARITY) considerations 23 2.5.5 affairs verify 23 -24 2.6 Analysis of performance optimization of existing STM 24-27 Chapter STM comprehensive optimization strategy 27-45 3.1 transaction verification process optimization 27-34 3.1.1 Validation and ineffective verification 28-30 3.1.2 Conflict Detection and correctness guarantee 30-33 3.1.3 correctness analysis and conflict detection efficiency 33 3.1.4 affairs through rate 33-34 3.1.5 Summary 34 < br /> 3.2 dynamically adjusts contention manager algorithms 34-41 3.2.1 Basic Concepts 35-36 3.2.3 common competition policy 36 -38 3.2.4 priority policy 38 3.2.5 dynamic priority strategy 38-39 3.2.6 Dynamic adjustment algorithm 39 -40 3.2.7 Summary 40-41 3.3 Dynamic Optimization BLOOM FILTER 41-44 3.3.1 Standard BLOOM FILTER algorithm 41 - 42 3.3.2 Using BLOOM FILTER manage transactional memory object 42-43 3.3.3 Dynamic Optimization BLOOM FILTER 43-44 3.3.4 Summary 44 3.4 Optimization Summary 44-45 Chapter 4 System Design and Implementation 45-54 4.1 overall design 45-46 < br /> 4.2 system lock design 46-47 4.3 affairs to achieve 47-50 4.4 to read and write data set structure 50-51 < br /> 4.5 Competition Manager 51-52 4.6 Statistics module and optimizer 52-53 4.7 Design and Implementation Summary 53-54 Chapter tests and results analysis 54-60 5.1 test environment 54 5.2 test procedures 54-55 5.3 test cases illustrate 55 5.4 Test Results and Analysis 55-60 Chapter VI Conclusion 60-62 6.1 study concluded 60 <br / > 6.2 requires further work 60-62 References 62-66 Thanks 66-67

Related dissertations

  1. Research and Implementation of Key Technologies in3D Virtual Clothing Animation
    LiHanWen ·Lanzhou University ·2012 ·Doctoral dissertation
  2. Research of Software Speculative Parallelization Based on Transactions
  3. A Dynamic Analysis of the Trade Relationship between China and Asean under the Condition of Cafta
    YingMeiQun ·Zhejiang University of Technology ·2013 ·Master's thesis
  4. Comparison About the Characters of Merchandise Trade by the BRICS
  5. Competitive Strategy Research for Newspapers Publishing Agency of Shandong Post
    LiuZhongSu ·Shandong University ·2013 ·Master's thesis
  6. Research of broadband competition strategy in BH Telecom Company
  7. Research on the integration of tourism industry based on self organization theory
    ShenYing ·Northwestern University ·2012 ·Doctoral dissertation
  8. Analysis of Market Competitive Situation of Inbound Tourism in Hainan from the Pan-Pearl River Delta Region Cooperation Background and Related Suggestions
    ZhaoYueSi ·Hainan University ·2013 ·Master's thesis
  9. To Research the Issue of the Development Process of China’s High-tech Enterprises
  10. Study on the Construction and Implementation Guarantee of Enterprise Customer Relationship Management System
    YeChun ·Nanchang University ·2013 ·Master's thesis
  11. The Study of Establishing Marketing Management System about Mobile Communication Market
    WangRongKuan ·Jilin University ·2013 ·Master's thesis
  12. Optimization design of compensation system of Hunan mobile communication company
    QuYing ·Central South University ·2012 ·Master's thesis
  13. A Case Study of Enrolled Employee Training in Risk Control Department of Z Company
    ZuoTian ·Liaoning University ·2012 ·Master's thesis
  14. The Analysis and Countermeasures of Zhuoyue Company Internal Management Issues
    ZhangShengNan ·Tianjin University ·2012 ·Master's thesis
  15. S Company’s Competition Strategy Analysis in China Market
  16. The Research of Competitiveness Strategy for Dachong Mahogany Furniture Industry Cluster
  17. Research on Marketing Strategy of Business Wear in QZB Company
    JiangBo ·Guangdong University of Technology ·2013 ·Master's thesis
  18. The Research of Flat-panel TV Industry Competition and Development in China
  19. The Research of Company’s Accounts Receivable Management in Household Appliance Industry
  20. Analysis of Competition Strategy in Urban Rail Business of Dalian Locomotive and Rolling Stock CO., LTD CNR Group
    SuShiXun ·Dalian University of Technology ·2013 ·Master's thesis