International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 1 - Number 22 |
Year of Publication: 2010 |
Authors: Monika Gupta, Rudrapatna K Shyamasundar, Shivali Agarwal |
10.5120/438-668 |
Monika Gupta, Rudrapatna K Shyamasundar, Shivali Agarwal . Clustered Checkpointing and Partial Rollbacks for Reducing Conflict Costs in STMs. International Journal of Computer Applications. 1, 22 ( February 2010), 80-85. DOI=10.5120/438-668
A Software Transactional Memory is a concurrency control mechanism that executes multiple concurrent, optimistic, lock-free, atomic transactions, thus alleviating many problems associated with conventional mutual exclusion primitives such as monitors and locks. With the advent of massive multi-cores, more transactions can be initiated concurrently, however resulting in an increase in the percentage of conflicting transactions. Each time a transaction conflicts, it imposes a significant cost on the system, originating from the need to abort and redo all the operations, including the costly shared memory read operations, thus making the overall system significantly heavy and impractical. We present an algorithm, Clustered Checkpointing and Partial Rollback (CCPR), for reducing the conflict costs of transactions in the face of increasing conflicts. The algorithm is based on intelligent checkpointing of transactions as they proceed, and, in case of conflict, rolling them back to a safe, consistent, intermediate checkpoint, thus reducing conflict costs.