Impact of early abort mechanisms on lock-based software transactional memory
Authors:
- 1 December 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 225-234
Abstract
Software transactional memory (STM) is an emerging concurrency control mechanism for shared memory accesses. Early abort is one of the important techniques to improve the execution speed of STMs and has been explored intensively via experimental studies. This paper presents a theoretical analysis characterizing the properties of early abort and its impact on the performance of lock-based STMs. Queuing theory is adopted to model the behaviors of transactional execution. Analytical results are obtained for STMs with and without early abort. The analysis is validated through extensive experiments. Our results reveal that although early abort helps improve the performance of lock-based STMs especially when the contention level is low, the gain is often marginal. We expect our theoretical results to provide useful guidance towards the design and selection of appropriate lock-based STM schemes.Keywords
This publication has 14 references indexed in Scilit:
- CAR-STM2008
- Using Hardware Memory Protection to Build a High-Performance, Strongly-Atomic Hybrid Transactional Memory2008
- MetaTM/TxLinux2007
- Concurrent programming without locksACM Transactions on Computer Systems, 2007
- A flexible framework for implementing software transactional memory2006
- The M5 Simulator: Modeling Networked SystemsIEEE Micro, 2006
- Transactional MemorySynthesis Lectures on Computer Architecture, 2006
- Language support for lightweight transactions2003
- Software transactional memory for dynamic-sized data structures2003
- An architecture for mostly functional languages1986