Pith. sign in

REVIEW 2 cited by

Malthusian Locks

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1511.06035 v7 pith:AWIISPVK submitted 2015-11-19 cs.DC

classification cs.DC
keywords threadsemphlockcirculatinglocksoftenperformanceadmission
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Applications running in modern multithreaded environments are sometimes \emph{over-threaded}. The excess threads do not improve performance, and in fact may act to degrade performance via \emph{scalability collapse}. Often, such software also has highly contended locks. We opportunistically leverage the existence of such locks by modifying the lock admission policy so as to intentionally limit the number of threads circulating over the lock in a given period. Specifically, if there are more threads circulating than are necessary to keep the lock saturated, our approach will selectively cull and passivate some of those threads. We borrow the concept of \emph{swapping} from the field of memory management and intentionally impose \emph{concurrency restriction} (CR) if a lock is oversubscribed. In the worst case CR does no harm, but it often yields performance benefits. The resultant admission order is unfair over the short term but we explicitly provide long-term fairness by periodically shifting threads between the set of passivated threads and those actively circulating. Our approach is palliative, but often effective.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Reciprocating Locks

    cs.DC 2025-01 conditional novelty 6.0 of 10

    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.

  2. Semaphores Augmented with a Waiting Array

    cs.DC 2025-01 conditional novelty 5.0 of 10

    A ticket-based semaphore augmented with a waiting array, TWA-Semaphore, preserves FIFO admission while improving throughput over plain ticket semaphores in a microbenchmark.

Pith tools