Replacing Locks by Higher-Level Primitives
Sarita V. Adve, Alan L. Cox, Sandhya Dwarkadas et al. · 1994
Locks are used in shared memory parallel programs to achieve a variety of synchronization objectives. They may provide mutual exclusion for a critical section, or they may provide synchronized access to a task queue. In the former case, no ordering is implied between data operations outside of the critical sections, while in the latter case the operations preceding the enqueue of a task are ordered before the operations following a dequeue of that task. In this paper we argue that many uses of locks can be replaced by higher-level primitives that directly express the intended behavior, such as, for example, enqueue and dequeue operations on a task queue. This approach not only simplifies the programming model, but also allows a more efficient implementation. By making the intended use explicit, we can tailor the implementation of each primitive accordingly, thereby achieving reductions in latency and communication overhead. Synchronization latency has been shown to be one of the major ...
Cited by 3 works.
Authors
References
- Strategies for multilocus linkage analysis in humans.
- How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs
- Faster sequential genetic linkage computations.
- SPLASH
- Memory consistency and event ordering in scalable shared-memory multiprocessors
- Implementation and performance of Munin
- Lazy release consistency for software distributed shared memory
- The Midway distributed shared memory system
- Memory access dependencies in shared-memory multiprocessors
- Parallelization of General-Linkage Analysis Problems