ComputingComputer EngineeringComputer ScienceComputer ArchitectureData StructuresParallel ComputingConcurrency ControlConcurrent ProgrammingData ParallelismData SynchronizationDistributed SynchronizationParallel Data StructuresFine-grained SynchronizationHierarchical StructuresHierarchyLocking MechanismsSynchronizationSynchronization MechanismsThroughputThroughput Improvement
We present efficient locking mechanisms for hierarchical data structures. Several applications work on an abstract hierarchy of objects, and a parallel execution on this hierarchy necessitates synchronization across workers operating on different parts of the hierarchy. Existing synchronization mechanisms are either too coarse, too inefficient, or too ad hoc, resulting in reduced or unpredictable amount of concurrency. We propose a new locking approach based on the structural properties of the underlying hierarchy. We show that the developed techniques are efficient even when the hierarchy is an arbitrary graph, and are applicable even when the hierarchy involves mutation. Theoretically, we present our approach as a locking-cost-minimizing instance of a generic algebraic model of synchronization for hierarchical data structures. Using STMBench7, we illustrate considerable reduction in the locking cost, resulting in an average throughput improvement of 42%.
18
The notions of consistency and predicate locks in a database system
Kapali P. Eswaran, Jim Gray, Raymond A. Lorie et al. · Communications of the ACM · 1976 · 2K citations · Full text
Michael J. Carey, David J. DeWitt, Jeffrey F. Naughton · 1993 · 312 citations · Full text
Morgan Kaufmann Publishers, Inc.
IEEE Software · 1986 · 311 citations
Granularity of locks in a shared data base
Jim Gray, Raymond A. Lorie, G. R. Putzolu · 1975 · 202 citations