An efficient unbounded lock-free queue for multi-core systems

  • Authors:
  • Marco Aldinucci;Marco Danelutto;Peter Kilpatrick;Massimiliano Meneghin;Massimo Torquati

  • Affiliations:
  • Computer Science Department, University of Torino, Italy;Computer Science Department, University of Pisa, Italy;Computer Science Department, Queen's University Belfast, UK;IBM Dublin Research Lab, Ireland;Computer Science Department, University of Pisa, Italy

  • Venue:
  • Euro-Par'12 Proceedings of the 18th international conference on Parallel Processing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

The use of efficient synchronization mechanisms is crucial for implementing fine grained parallel programs on modern shared cache multi-core architectures. In this paper we study this problem by considering Single-Producer/Single-Consumer (SPSC) coordination using unbounded queues. A novel unbounded SPSC algorithm capable of reducing the row synchronization latency and speeding up Producer-Consumer coordination is presented. The algorithm has been extensively tested on a shared-cache multi-core platform and a sketch proof of correctness is presented. The queues proposed have been used as basic building blocks to implement the FastFlow parallel framework, which has been demonstrated to offer very good performance for fine-grain parallel applications.