Back to Search
Start Over
Analyzing the Performance of Lock-Free Data Structures: A Conflict-Based Model
- Source :
- Lecture Notes in Computer Science ISBN: 9783662486528, DISC
- Publication Year :
- 2015
- Publisher :
- Springer Berlin Heidelberg, 2015.
-
Abstract
- This paper considers the modeling and the analysis of the performance of lock-free concurrent 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 concurrent operations on the shared data structure. We propose also a common framework that enables a fair comparison between lock-free implementations by covering the whole contention domain, and comes with a method for calculating a good back-off strategy. Our experimental results, based on a set of widely used concurrent data structures and on abstract lock-free designs, show that our analysis follows closely the actual code behavior.
- Subjects :
- Theoretical computer science
Computer science
Concurrent data structure
CPU cache
020206 networking & telecommunications
0102 computer and information sciences
02 engineering and technology
Data structure
01 natural sciences
Domain (software engineering)
Set (abstract data type)
010201 computation theory & mathematics
0202 electrical engineering, electronic engineering, information engineering
Non-blocking algorithm
Code (cryptography)
Throughput (business)
Subjects
Details
- ISBN :
- 978-3-662-48652-8
- ISBNs :
- 9783662486528
- Database :
- OpenAIRE
- Journal :
- Lecture Notes in Computer Science ISBN: 9783662486528, DISC
- Accession number :
- edsair.doi...........91bb2746a6b92d3a7053c9b84956ddb5