Reciprocating Locks is a new spin lock that combines an arrival stack, detached entry segments, and per-thread TLS wait elements to provide constant-time paths, local spinning, and bounded bypass.
Performance Prediction for Coarse-Grained Locking
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
A standard design pattern found in many concurrent data structures, such as hash tables or ordered containers, is an alternation of parallelizable sections that incur no data conflicts and critical sections that must run sequentially and are protected with locks. A lock can be viewed as a queue that arbitrates the order in which the critical sections are executed, and a natural question is whether we can use stochastic analysis to predict the resulting throughput. As a preliminary evidence to the affirmative, we describe a simple model that can be used to predict the throughput of coarse-grained lock-based algorithms. We show that our model works well for CLH lock, and we expect it to work for other popular lock designs such as TTAS, MCS, etc.
citation-role summary
citation-polarity summary
fields
cs.DC 1years
2025 1verdicts
CONDITIONAL 1roles
background 1polarities
unclear 1representative citing papers
citing papers explorer
-
Reciprocating Locks
Reciprocating Locks is a new spin lock that combines an arrival stack, detached entry segments, and per-thread TLS wait elements to provide constant-time paths, local spinning, and bounded bypass.