A transactional memory with automatic performance tuning
Authors:
Open Access
- 26 January 2012
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 8 (4) , 1-23
Abstract
A significant obstacle to the acceptance of transactional memory (TM) in real-world parallel programs is the abundance of substantially different TM algorithms. Each TM algorithm appears well-suited to certain workload characteristics, but the best choice of algorithm is sensitive to program inputs, available cores, and program phases. Furthermore, operating system and hardware characteristics can affect which algorithm is best, with tradeoffs changing across iterations of a single ISA. This paper introduces methods for constructing policies to dynamically select the most appropriate TM algorithm based on static and dynamic information. We leverage intraprocedural static analysis to create a static profile of the application. We also introduce a low-overhead framework for dynamic profiling of a running transactional application. Armed with these complementary descriptions of a program's behavior, we present novel expert adaptivity policies as well as machine learning policies that are trained off-line using simple microbenchmarks. In our evaluation, we find that both the expert and learned policies provide better performance than any single TM algorithm across the entire STAMP benchmark suite. In addition, policies that combine expert and learned policies offer the best combination of performance, maintainability, and flexibility.Keywords
Funding Information
- Division of Computer and Network Systems (CNS-1016828)
- National Science Foundation (953667)
- Defense Advanced Research Projects Agency (953667)
This publication has 37 references indexed in Scilit:
- Iterative optimization in the polyhedral model2008
- Lee-TM: A Non-trivial Benchmark Suite for Transactional Memory2008
- Dynamic performance tuning of word-based software transactional memory2008
- Transactional Locking II2006
- ACME2005
- Adaptive Software Transactional Memory2005
- Language support for lightweight transactions2003
- Evolving Neural Networks through Augmenting TopologiesEvolutionary Computation, 2002
- Evolving artificial neural networksProceedings of the IEEE, 1999
- Fast Effective Rule Induction1995