TY - GEN
T1 - Lightweight contention management for efficient compare-and-swap operations
AU - Dice, David
AU - Hendler, Danny
AU - Mirsky, Ilya
N1 - Funding Information:
Partially supported by the Israel Science Foundation (grant number 1227/10) and by the Lynne and William Frankel Center for Computing Science at Ben-Gurion University.
PY - 2013/9/3
Y1 - 2013/9/3
N2 - 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.
AB - 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.
KW - Compare-and-swap
KW - concurrent algorithms
KW - contention management
UR - http://www.scopus.com/inward/record.url?scp=84883201361&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-40047-6_60
DO - 10.1007/978-3-642-40047-6_60
M3 - Conference contribution
AN - SCOPUS:84883201361
SN - 9783642400469
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 595
EP - 606
BT - Euro-Par 2013 Parallel Processing - 19th International Conference, Proceedings
T2 - 19th International Conference on Parallel Processing, Euro-Par 2013
Y2 - 26 August 2013 through 30 August 2013
ER -