Virtualizing Transactional Memory
Ravi Rajwar, Maurice P. Herlihy, Konrad K. Lai · Proceedings - International Symposium on Computer Architecture/Proceedings · 2005
Writing concurrent programs is difficult because of the complexity of ensuring proper synchronization. Conventional lock-based synchronization suffers from well-known limitations, so researchers have considered nonblocking transactions as an alternative. Recent hardware proposals have demonstrated how transactions can achieve high performance while not suffering limitations of lock-based mechanisms. However, current hardware proposals require programmers to be aware of platform-specific resource limitations such as buffer sizes, scheduling quanta, as well as events such as page faults, and process migrations. If the transactional model is to gain wide acceptance, hardware support for transactions must be virtualized to hide these limitations in much the same way that virtual memory shields the programmer from platform-specific limitations of physical memory. This paper proposes virtual transactional memory (VTM), a user-transparent system that shields the programmer from various platform-specific resource limitations. VTM maintains the performance advantage of hardware transactions, incurs low overhead in time, and has modest costs in hardware support. While many system-level challenges remain, VTM takes a step toward making transactional models more widely acceptable.
Cited by 244 works. doi:10.1109/isca.2005.54
Authors
References
- The notions of consistency and predicate locks in a database system
- One-Level Storage System
- Space/time trade-offs in hash coding with allowable errors
- Summary cache: a scalable wide-area Web cache sharing protocol
- Concurrent reading and writing
- Multiscalar processors
- Software transactional memory
- Software transactional memory for dynamic-sized data structures
- 801 storage: architecture and programming
- Language support for lightweight transactions