Opacity Proof for CaPR+ Algorithm
Preprint
Abstract
In this paper, we describe an enhanced Automatic Check- pointing and Partial Rollback algorithm(CaP R + ) to realize Software Transactional Memory(STM) that is based on con- tinuous conflict detection, lazy versioning with automatic checkpointing, and partial rollback. Further, we provide a proof of correctness of CaP R+ algorithm, in particular, Opacity, a STM correctness criterion, that precisely captures the intuitive correctness guarantees required of transactional memories. The algorithm provides a natural way to realize a hybrid system of pure aborts and partial rollbacks. We have also implemented the algorithm, and shown its effectiveness with reference to the Red-black tree micro-benchmark and STAMP benchmarks. The results obtained demonstrate the effectiveness of the Partial Rollback mechanism over pure abort mechanisms, particularly in applications consisting of large transaction lengths.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- A Single-Version STM that Is Multi-Versioned PermissiveTheory of Computing Systems, 2012
- On the Cost of Concurrency in Transactional Memory2011
- Read Invisibility, Virtual World Consistency and Probabilistic Permissiveness are CompatibleLecture Notes in Computer Science, 2011
- Clustered Checkpointing and Partial Rollbacks for Reducing Conflict Costs in STMsInternational Journal of Computer Applications, 2010
- Intermediate checkpointing with conflicting access prediction in transactional memory systems2008
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990