Title :
Read-Write Lock Allocation in Software Transactional Memory
Author :
Bavarsad, Amir Ghanbari ; Atoofian, Ehsan
Author_Institution :
Dept. of Electr. Eng., Lakehead Univ., Thunder Bay, ON, Canada
Abstract :
Transactional Memory (TM) is a promising programming model for managing concurrent accesses to the shared memory locations. Time-based Software Transactional Memories (STMs) exploit a global clock to maintain consistency of transactions and validate transactional data. One of the shortcomings of this technique is that the global clock becomes bottleneck as the number of transactions increases. In this paper, we introduce two optimization techniques to overcome the overhead of the global clock. The first technique is Read-Write Lock Allocation (RWLA) which does not exploit any central data structure to maintain consistency of transactions. This method improves performance of STMs only if transactions commit successfully. However, in the event of frequent conflicts, RWLA increases cost of abort and degrades performance. Our second optimization technique is an adaptive technique which dynamically selects either baseline scheme or RWLA. Our experimental results reveal that our adaptive technique is effective and is able to improve performance of transactional applications up to 66%.
Keywords :
concurrency control; data structures; parallel programming; transaction processing; RWLA; TM programming model; data structure; optimization techniques; read-write lock allocation; shared memory locations; time-based software transactional memory; transaction consistency; transactional data validation; Benchmark testing; Bioinformatics; Clocks; Genomics; Instruction sets; Synchronization; Vectors; Global Clock; Performance; Transactional Memory; Validation;
Conference_Titel :
Parallel Processing (ICPP), 2013 42nd International Conference on
Conference_Location :
Lyon
DOI :
10.1109/ICPP.2013.81