Using elimination to implement scalable and lock-free FIFO queues

Mark Moir, Daniel Nussbaum, Ori Shalev, Nir Shavit
2005 Proceedings of the 17th annual ACM symposium on Parallelism in algorithms and architectures - SPAA'05  
This paper shows for the first time that elimination, a scaling technique formerly applied only to counters and LIFO structures, can be applied to FIFO data structures, specifically, to linearizable FIFO queues. We show how to transform existing nonscalable FIFO queue implementations into scalable implementations using the elimination technique, while preserving lock-freedom and linearizablity. We apply our transformation to the FIFO queue algorithm of Michael and Scott, which is included in
more » ... Java TM Concurrency Package. Empirical evaluation on a state-ofthe-art CMT multiprocessor chip shows that by using elimination as a backoff technique for the Michael and Scott queue algorithm, we can achieve comparable performance at low loads, and improved scalability as load increases.
doi:10.1145/1073970.1074013 dblp:conf/spaa/MoirNSS05 fatcat:v6u6kwd7zbhkfmltr34efb6rya