Title
The OpenTM Transactional Application Programming Interface
Abstract
Transactional Memory (TM) simplifies parallel programming by supporting atomic and isolated execution of user-identified tasks. To date, TM programming has required the use of libraries that make it difficult to achieve scalable performance with code that is easy to develop and maintain. For TM programming to become practical, it is important to integrate TM into familiar, high-level environments for parallel programming. This paper presents OpenTM, an application programming interface (API) for parallel programming with transactions. OpenTM extends OpenMP, a widely used API for shared-memory parallel programming, with a set of compiler directives to express non-blocking synchronization and speculative parallelization based on memory transactions. We also present a portable OpenTM implementation that produces code for hardware, software, and hybrid TM systems. The implementation builds upon the OpenMP support in the GCC compiler and includes a runtime for the C programming language. We evaluate the performance and programmability features of OpenTM. We show that it delivers the performance of fine-grain locks at the programming simplicity of coarsegrain locks. Compared to transactional programming with lower-level interfaces, it removes the burden of manual annotations for accesses to shared variables and enables easy changes of the scheduling and contention management policies. Overall, OpenTM provides a practical and efficient TM programming environment within the familiar scope of OpenMP.
Year
DOI
Venue
2007
10.1109/PACT.2007.74
PACT
Keywords
Field
DocType
hybrid tm system,tm programming,shared-memory parallel programming,application programming interface,c programming language,portable opentm implementation,parallel programming,opentm transactional application programming,programming simplicity,simplifies parallel programming,efficient tm programming environment,application program interface,shared memory,transactional memory,content management
Functional reactive programming,Procedural programming,System programming,Programming language,Programming paradigm,Computer science,Inductive programming,Parallel computing,Extensible programming,Reactive programming,Programming domain,Operating system
Conference
ISSN
ISBN
Citations 
1089-795X
0-7695-2944-5
31
PageRank 
References 
Authors
1.83
21
5
Name
Order
Citations
PageRank
Woongki Baek140225.85
Chi Cao Minh2116061.54
Martin Trautmann31808.55
Christos Kozyrakis45817355.99
Kunle Olukotun54532373.50