Affiliation:
1. Intel Labs, Santa Clara, CA
2. Intel China Research Center, Beijing, China
Abstract
Programmers have traditionally used locks to synchronize concurrent access to shared data. Lock-based synchronization, however, has well-known pitfalls: using locks for fine-grain synchronization and composing code that already uses locks are both difficult and prone to deadlock. Transactional memory provides an alternate concurrency control mechanism that avoids these pitfalls and significantly eases concurrent programming. Transactional memory language constructs have recently been proposed as extensions to existing languages or included in new concurrent language specifications, opening the door for new compiler optimizations that target the overheads of transactional memory.This paper presents compiler and runtime optimizations for transactional memory language constructs. We present a high-performance software transactional memory system (STM) integrated into a managed runtime environment. Our system efficiently implements nested transactions that support both composition of transactions and partial roll back. Our JIT compiler is the first to optimize the overheads of STM, and we show novel techniques for enabling JIT optimizations on STM operations. We measure the performance of our optimizations on a 16-way SMP running multi-threaded transactional workloads. Our results show that these techniques enable transactional memory's performance to compete with that of well-tuned synchronization.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference35 articles.
1. E. Allen D. Chase V. Luchangco J.-W. Maessen S. Ryu G. L. S. Jr. and S. Tobin-Hochstadt. The Fortress language specification version 0.707. http://research.sun.com/projects/plrg/fortress0707.pdf 2005. E. Allen D. Chase V. Luchangco J.-W. Maessen S. Ryu G. L. S. Jr. and S. Tobin-Hochstadt. The Fortress language specification version 0.707. http://research.sun.com/projects/plrg/fortress0707.pdf 2005.
2. Unbounded Transactional Memory
3. Simple generational garbage collection and fast allocation
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent Memory;Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2;2023-01-27
2. Tiered versus tierless IoT stacks;Proceedings of the 10th International Conference on the Internet of Things;2020-10-02
3. The Transactional Memory;International Journal of Scientific Research in Computer Science, Engineering and Information Technology;2019-02-25
4. NVHT: An efficient key–value storage library for non-volatile memory;Journal of Parallel and Distributed Computing;2018-10
5. NVHT;Proceedings of the 3rd IEEE/ACM International Conference on Big Data Computing, Applications and Technologies;2016-12-06