A Fair Fast Scalable Rea,der-Writer Lock

  • Authors:
  • Orran Krieger;Michael Stumm;Ron Unrau;Jonathan Hanna

  • Affiliations:
  • University of Toronto,Canada;University of Toronto,Canada;University of Toronto,Canada;University of Toronto,Canada

  • Venue:
  • ICPP '93 Proceedings of the 1993 International Conference on Parallel Processing - Volume 02
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

A reader-writer (RW) lock allows either multiple readers to inspect shared data or a single writer exclusive access for modifying that data. On shared memory multiprocessors,cost of acquiring and releasing these locks can have a large impact on the performance of parallel applications. A major problem with naive implementations of these locks, where processors spin on a global lock variable waiting for the lock to become available, is that the memory containing the lock and the interconnection network to that memory will also become contended when the lock is contended.