Back to Search
Start Over
Lock-free deques and doubly linked lists
- Source :
-
Journal of Parallel & Distributed Computing . Jul2008, Vol. 68 Issue 7, p1008-1020. 13p. - Publication Year :
- 2008
-
Abstract
- Abstract: We present a practical lock-free shared data structure that efficiently implements the operations of a concurrent deque as well as a general doubly linked list. The implementation supports parallelism for disjoint accesses and uses atomic primitives which are available in modern computer systems. Previously known lock-free algorithms of doubly linked lists are either based on non-available atomic synchronization primitives, only implement a subset of the functionality, or are not designed for disjoint accesses. Our algorithm only requires single-word compare-and-swap atomic primitives, supports fully dynamic list sizes, and allows traversal also through deleted nodes and thus avoids unnecessary operation retries. We have performed an empirical study of our new algorithm on two different multiprocessor platforms. Results of the experiments performed under high contention show that the performance of our implementation scales linearly with increasing number of processors. Considering deque implementations and systems with low concurrency, the algorithm by Michael shows the best performance. However, as our algorithm is designed for disjoint accesses, it performs significantly better on systems with high concurrency and non-uniform memory architecture. [Copyright &y& Elsevier]
- Subjects :
- *ALGORITHMS
*COMPUTER systems
*DATA structures
*CONCURRENT engineering
Subjects
Details
- Language :
- English
- ISSN :
- 07437315
- Volume :
- 68
- Issue :
- 7
- Database :
- Academic Search Index
- Journal :
- Journal of Parallel & Distributed Computing
- Publication Type :
- Academic Journal
- Accession number :
- 32501021
- Full Text :
- https://doi.org/10.1016/j.jpdc.2008.03.001