STMs in practice: Partial rollback vs pure abort mechanisms
Authors:
- 10 March 2018
- journal article
- conference paper
- Published by Wiley in Concurrency and Computation: Practice and Experience
- Vol. 31 (5)
Abstract
Summary: In this paper, we propose an enhanced Automatic Checkpointing and Partial Rollback (CaPR++) algorithm to realize Software Transactional Memory (STM), that employs partial rollback mechanism for conflict resolution. We have comparatively evaluated the “Abort” and “Partial Rollback” mechanisms for STMs. For purposes of comparison, we have used the state‐of‐the‐art RSTM system and for the “Partial Rollback”, and we have used our earlier CaPR+ algorithm that has been enhanced for our requirements. Note that we have enriched the STAMP benchmarks with varied delayed transaction times. The results obtained demonstrate the effectiveness of the Partial Rollback mechanism over pure abort mechanisms for applications consisting of large transaction delays, with up to 1.6x performance gain for applications with large transactional delays. Our study makes the case for a hybrid system of pure aborts and partial rollbacks, which can extract the benefits of both mechanisms. Keeping in line with our study, we have proposed a hybrid implementation where some of the transactions of an application subscribe to abort mechanisms and the rest to partial rollback. Our initial implementation demonstrates various scenarios where the hybrid approach outperforms the pure abort and partial rollback approaches.Keywords
This publication has 21 references indexed in Scilit:
- Non-interference and Local Correctness in Transactional Memory2014
- Transparent Support for Partial Rollback in Software Transactional MemoriesLecture Notes in Computer Science, 2013
- A comprehensive strategy for contention management in software transactional memoryACM SIGPLAN Notices, 2009
- A Lock-Based STM Protocol That Satisfies Opacity and Progressiveness2008
- STMBench7ACM SIGOPS Operating Systems Review, 2007
- Versioned boxes as the basis for memory transactionsScience of Computer Programming, 2006
- A Lazy Snapshot Algorithm with Eager Validation2006
- Transactional Locking II2006
- Advanced contention management for dynamic software transactional memory2005
- Software transactional memoryDistributed Computing, 1997