ACM Home Page
Please provide us with feedback. Feedback
Preventing versus curing: avoiding conflicts in transactional memories
Full text PdfPdf (645 KB)
Source
Annual ACM Symposium on Principles of Distributed Computing archive
Proceedings of the 28th ACM symposium on Principles of distributed computing table of contents
Calgary, AB, Canada
SESSION: R1 table of contents
Pages 7-16  
Year of Publication: 2009
ISBN:978-1-60558-396-9
Authors
Aleksandar Dragojević  Ecole Polytechnique Federale de Lausanne, Lausanne, Switzerland
Rachid Guerraoui  Ecole Polytechnique Federale de Lausanne, Lausanne, Switzerland
Anmol V. Singh  Ecole Polytechnique Federale de Lausanne, Lausanne, Switzerland
Vasu Singh  Ecole Polytechnique Federale de Lausanne, Lausanne, Switzerland
Sponsors
SIGOPS: ACM Special Interest Group on Operating Systems
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 28,   Downloads (12 Months): 76,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1582716.1582725
What is a DOI?

ABSTRACT

Transactional memories are typically speculative and rely on contention managers to cure conflicts. This paper explores a complementary approach that prevents conflicts by scheduling transactions according to predictions on their access sets.

We first explore the theoretical boundaries of this approach and prove that (1) a TM scheduler with an accurate prediction can be 2-competitive with an optimal offline TM scheduler, but (2) even a slight inaccuracy in prediction makes the competitive ratio of the TM scheduler in the order of the number of transactions.

We then show that, in practice, there is room for a pragmatic approach with good average case performance. We present Shrink, a scheduler that (1) bases its prediction of transactional accesses on the access patterns of the past transactions from the same thread, and (2) uses a novel heuristic, which we call serialization affinity, to schedule transactions with a probability proportional to the current amount of contention. Shrink obtains roughly 70% accurate read and write access predictions on STMBench7 and STAMP. In our experimental evaluation, Shrink significantly improves STM performance in cases the number of executing threads is higher than the number of available CPU cores. For SwissTM, Shrink improves the performance by up to 55% on STMBench7, and up to 120% on STAMP. For TinySTM, Shrink drastically improves the performance on STMBench7 and STAMP benchmarks.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
 
4
D. Dice, O. Shalev, and N. Shavit. Transactional Locking II. In DISC, pages 194--208. Springer, 2006.
5
6
 
7
R. Guerraoui, M. Herlihy, and B. Pochon. Polymorphic contention management. In DISC, pages 303--323. Springer, 2005.
8
9
10
 
11
V. J. Marathe, M. F. Spear, C. Heriot, A. Acharya, D. Eisenstat, W. N. Scherer III, and M. L. Scott. Lowering the overhead of software transactional memory. In TRANSACT. Jun 2006.
 
12
C. Cao Minh, J. Chung, C. Kozyrakis, and K. Olukotun. STAMP: Stanford Transactional Applications for Multi-Processing. In IISWC. IEEE, 2008.
 
13
K. E. Moore, J. Bobba, M. J. Moravan, M.D. Hill, and D. A. Wood. LogTM: Log-based transactional memory. In HPCA, pages 254--265. IEEE Computer Society, Feb 2006.
 
14
15
16
17
18
 
19
A. Tomar. Dynamic prediction based scheduling for tm. In Master Thesis, pages 169--178. EPFL, February 2009.
 
20
M. M. Waliullah and P. Stenstrom. Intermediate checkpointing with conflicting access prediction in transactional memory systems. In IPDPS, pages 1--11. IEEE Computer Society, 2008.
21

Collaborative Colleagues:
Aleksandar Dragojević: colleagues
Rachid Guerraoui: colleagues
Anmol V. Singh: colleagues
Vasu Singh: colleagues