A Distributed Programming Framework Based on Transactional Memory

Author
PengZuo
Advisor
JinHai
School
Huazhong University of Science and Technology
Major
Computer System Architecture
Classification
TP333.1 In the internal memory (main memory ) General
Degree
Master's thesis
Year
2012
Downloads
15
Citations
0

Request the full text

Abstract

Transactional memory (TM) is a parallel programming concept which reduceschallenges found in parallel programming and has been researched widely in recent years.If the advanced concurrency control mechanism applied by transactional memory can beintegrated into the distributed programming model, the designing of distributed programswill become very convenient. But existing distributed transactional memory systemsconsume too much bandwidth and bring high latency which makes them barely used inprogram designing. And moreover, because of being built on the traditional distributedshared memory systems, they are usually difficult to use in normal programming.In this paper, we propose a generalized and scalable distributed programmingframework, Clustm, based on transactional memory, which consumes low cost ofbandwidth and reduce the latency of transactional operations. Clustm provides goodtransparency which makes the programmer design the distributed programs easily withoutconsidering the distribution or migration of the shared data and computing task. Clustmaddresses several novel issues posed by this domain. First, we design a model ofdistributed shared memory, which including a cache consistency protocol, and adistribution strategy of the metadata across the nodes. And then a transactional memoryconsistency protocol is built on the distributed memory. After that, a type of calculationunit is designed which can be easily scheduled and executed in the distributedtransactional memory system, and we call the calculation units parallel functions. Then wepropose a programming model based on parallel functions.Clustm is implemented by C++library, several distributed computing programs aredesigned by Clustm, and the tests show that the distributed computing programs built onClustm are more simple and efficient. Comparing to the distributed transactional memorysystems, Clustm can get more than30%performance improvement.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction 8-15 1.1 transactional memory 8-12 <br / > 1.2 distributed programming model 12-14 1.3 Research objectives and this paper is organized as 14-15 2 overall design of distributed programming framework Clustm 15-28 2.1 The main design ideas 15-16 2.2 system architecture 16-18 2.3 Clustm function module structure 18-20 the basic module and interface design nbsp 2.4 programming framework ; 20-26 2.5 Summary 26-28 3 distributed programming framework Clustm main implementation technology 28-53 3.1 distributed data sharing model 28-35 3.2 distributed transactional memory access control mechanism 35-43 3.3 -based distributed computing model nbsp concurrent function ; 43-51 3.4 Summary 51-53 4 performance evaluation and analysis 53-58 4.1 test program distributed array performance testing 54-55 4.2 SSCA2 benchmark performance test 55-57 4.3 Summary 57-58 5 Conclusion 58-60 <br / > Thanks 60-62 References 62-65

Related dissertations

  1. Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
    XieYing ·Northeastern University ·2013 ·Master's thesis
  2. Cache Coherence Techniques for Chip Multiprocessor Architecture
  3. Study on Parallel Programming Models
    YaoZhen ·University of Science and Technology of China ·2006 ·Doctoral dissertation
  4. Study on Transactional Memory Programming and Software Library Optimization of Tera-Flops Computer KD-50-I
  5. Certifying Concurrent Porgrams Using Transactional Memory
    LiLong ·University of Science and Technology of China ·2008 ·Doctoral dissertation
  6. Verifying Parallel Programs Using Software Transactional Memory
    LiYong ·University of Science and Technology of China ·2011 ·Doctoral dissertation
  7. Research on Key Techniques for NUMA-aware Transactional Memory
  8. Research on Nested Transactional Memory of Object-oriented Program
    CaoMingTeng ·Zhejiang University ·2008 ·Master's thesis
  9. Research on Nested Transactional Memory
    HeTuanWei ·Tianjin University ·2007 ·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