loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Seventh International Conference on Parallel and Distributed Systems (ICPADS'00)
A Practical Nonblocking Queue Algorithm Using Compare-and-Swap
Iwate, Japan
July 04-July 07
ISBN: 0-7695-0568-6
Chien-Hua Shann, National Chiao Tung University
Ting-Lu Huang, National Chiao Tung University
Cheng Chen, National Chiao Tung University
Many nonblocking algorithms have been proposed for shared queues. Previous studies indicate that link-based algorithms perform best. However, these algorithms have a memory management problem: a dequeued node cannot be freed or reused without proper handling. The problem is usually overlooked; one just assumes the existence of a lower level mechanism, which takes care of all the details of handling the problem. Employing such a mechanism incurs significant overheads, and consequently the link-based queues may not perform as well as claimed. A new nonblocking queue algorithm based on a finite array is proposed in this paper. Comparing with the link-based algorithms, the new algorithm provides the same degree of concurrency without being subject to the memory problem, hence suggests a good performance.
Index Terms:
concurrent queue, nonblocking, compare-and-swap, linearizability
Citation:
Chien-Hua Shann, Ting-Lu Huang, Cheng Chen, "A Practical Nonblocking Queue Algorithm Using Compare-and-Swap," icpads, pp.470, Seventh International Conference on Parallel and Distributed Systems (ICPADS'00), 2000
Usage of this product signifies your acceptance of the Terms of Use.