Virtues and limitations of commodity hardware transactional memory
Open Access
- 24 August 2014
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 3-14
Abstract
Over the last years Transactional Memory (TM) gained growing popularity as a simpler, attractive alternative to classic lock-based synchronization schemes. Recently, the TM landscape has been profoundly changed by the integration of Hardware TM (HTM) in Intel commodity processors, raising a number of questions on the future of TM. We seek answers to these questions by conducting the largest study on TM to date, comparing different locking techniques, hardware and software TMs, as well as different combinations of these mechanisms, from the dual perspective of performance and power consumption. Our study sheds a mix of light and shadows on currently available commodity HTM: on one hand, we identify workloads in which HTM clearly outperforms any alternative synchronization mechanism; on the other hand, we show that current HTM implementations suffer of restrictions that narrow the scope in which these can be more effective than state of the art software solutions. Thanks to the results of our study, we identify a number of compelling research problems in the areas of TM design, compilers and self-tuning.Keywords
Funding Information
- Fundação para a Ciência e a Tecnologia (PEst-OE/EEI/LA0021/2013, GreenTM EXPL/EEI-ESS/0361/2013)
This publication has 37 references indexed in Scilit:
- Programming with hardware lock elisionACM SIGPLAN Notices, 2013
- On the design of energy‐efficient hardware transactional memory systemsConcurrency and Computation: Practice and Experience, 2012
- On the analytical modeling of concurrency control algorithms for Software Transactional Memories: The case of Commit-Time-LockingPerformance Evaluation, 2012
- Measuring energy consumption for short code paths using RAPLACM SIGMETRICS Performance Evaluation Review, 2012
- Embedded-TM: Energy and complexity-effective hardware transactional memory for embedded multicore systemsJournal of Parallel and Distributed Computing, 2010
- NOrecACM SIGPLAN Notices, 2010
- Compiler aided selective lock assignment for improving the performance of software transactional memoryACM SIGPLAN Notices, 2010
- An analytic framework for performance modeling of software transactional memoryComputer Networks, 2009
- Software Transactional Memory: Why Is It Only a Research Toy?Queue, 2008
- Transactional memoryACM SIGARCH Computer Architecture News, 1993