User-Level Implementations of Read-Copy Update
Authors:
- 9 June 2011
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 23 (2) , 375-382
Abstract
Read-copy update (RCU) is a synchronization technique that often replaces reader-writer locking because RCU's read-side primitives are both wait-free and an order of magnitude faster than uncontended locking. Although RCU updates are relatively heavy weight, the importance of read-side performance is increasing as computing systems become more responsive to changes in their environments. RCU is heavily used in several kernel-level environments. Unfortunately, kernel-level implementations use facilities that are often unavailable to user applications. The few prior user-level RCU implementations either provided inefficient read-side primitives or restricted the application architecture. This paper fills this gap by describing efficient and flexible RCU implementations based on primitives commonly available to user-level applications. Finally, this paper compares these RCU implementations with each other and with standard locking, which enables choosing the best mechanism for a given workload. This work opens the door to widespread user-application use of RCU.Keywords
This publication has 12 references indexed in Scilit:
- NOrec2010
- Early experience with a commercial hardware transactional memory implementation2009
- Scalable and reliable communication for hardware transactional memory2008
- Software Transactional Memory: Why Is It Only a Research Toy?Queue, 2008
- The read-copy-update mechanism for supporting real-time applications on shared-memory multiprocessor systems with LinuxIBM Systems Journal, 2008
- Concurrent programming without locksACM Transactions on Computer Systems, 2007
- A Scalable, Non-blocking Approach to Transactional Memory2007
- Scalable reader-writer locks for parallel systems2003
- A methodology for implementing highly concurrent data objectsACM Transactions on Programming Languages and Systems, 1993
- Concurrent manipulation of binary search treesACM Transactions on Database Systems, 1980