English

Lightweight Contention Management for Efficient Compare-and-Swap Operations

Distributed, Parallel, and Cluster Computing 2013-05-27 v1

Abstract

Many concurrent data-structure implementations use the well-known compare-and-swap (CAS) operation, supported in hardware by most modern multiprocessor architectures for inter-thread synchronization. A key weakness of the CAS operation is the degradation in its performance in the presence of memory contention. In this work we study the following question: can software-based contention management improve the efficiency of hardware-provided CAS operations? Our performance evaluation establishes that lightweight contention management support can greatly improve performance under medium and high contention levels while typically incurring only small overhead when contention is low.

Keywords

Cite

@article{arxiv.1305.5800,
  title  = {Lightweight Contention Management for Efficient Compare-and-Swap Operations},
  author = {Dave Dice and Danny Hendler and Ilya Mirsky},
  journal= {arXiv preprint arXiv:1305.5800},
  year   = {2013}
}

Comments

25 pages, to be published in Euro-Par 2013 proceedings

R2 v1 2026-06-22T00:22:11.626Z