Analyzing the Performance of Lock-Free Data Structures: A Conflict-based Model
Aras Atalar, Paul Renaud-Goud, Philippas Tsigas

TL;DR
This paper introduces a new modeling approach for analyzing the performance of lock-free data structures, accurately predicting throughput by considering hardware and logical conflicts, and providing a framework for fair comparison and optimization.
Contribution
A novel conflict-based model for analyzing lock-free algorithms that predicts throughput and guides performance tuning.
Findings
Model predictions closely match actual performance.
Separate handling of hardware and logical conflicts improves accuracy.
Framework enables fair comparison of lock-free implementations.
Abstract
This paper considers the modeling and the analysis of the performance of lock-free concurrent data structures. Lock-free designs employ an optimistic conflict control mechanism, allowing several processes to access the shared data object at the same time. They guarantee that at least one concurrent operation finishes in a finite number of its own steps regardless of the state of the operations. Our analysis considers such lock-free data structures that can be represented as linear combinations of fixed size retry loops. Our main contribution is a new way of modeling and analyzing a general class of lock-free algorithms, achieving predictions of throughput that are close to what we observe in practice. We emphasize two kinds of conflicts that shape the performance: (i) hardware conflicts, due to concurrent calls to atomic primitives; (ii) logical conflicts, caused by simultaneous…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Parallel Computing and Optimization Techniques · Radiation Effects in Electronics
