The Community for Technology Leaders
Parallel and Distributed Processing Symposium, International (2003)
Nice, France
Apr. 22, 2003 to Apr. 26, 2003
ISSN: 1530-2075
ISBN: 0-7695-1926-1
pp: 84b
Håkan Sundell , Chalmers University of Technology and G?teborg University
Philippas Tsigas , Chalmers University of Technology and G?teborg University
ABSTRACT
We present an efficient and practical lock-free implementation of a concurrent priority queue that is suitable for both fully concurrent (large multi-processor) systems as well as pre-emptive (multi-process) systems. Many algorithms for concurrent priority queues are based on mutual exclusion. However, mutual exclusion causes blocking which has several drawbacks and degrades the system?s overall performance. Non-blocking algorithms avoid blocking, and are either lock-free or wait-free. Previously known non-blocking algorithms of priority queues did not perform well in practice because of their complexity, and they are often based on non-available atomic synchronization primitives. Our algorithm is based on the randomized sequential list structure called Skiplist, and a real-time extension of our algorithm is also described. In our performance evaluation we compare our algorithm with some of the most efficient implementations of priority queues known. The experimental results clearly show that our lock-free implementation outperforms the other lock-based implementations in all cases for 3 threads and more, both on fully concurrent as well as on pre-emptive systems.
INDEX TERMS
Priority Queue, Parallel, Lock-Free, Non-Blocking, Multi-Thread, Shared Memory
CITATION
Håkan Sundell, Philippas Tsigas, "Fast and Lock-Free Concurrent Priority Queues for Multi-Thread Systems", Parallel and Distributed Processing Symposium, International, vol. 00, no. , pp. 84b, 2003, doi:10.1109/IPDPS.2003.1213189
79 ms
(Ver 3.3 (11022016))