Flat combining and the synchronization-parallelism tradeoff

Danny Hendler, Itai Incze, Nir Shavit, Moran TzafrirSPAA 2010

Abstract

Traditional data structure designs, whether lock-based or lock-free, provide parallelism via fine grained synchronization among threads.We introduce a new synchronization paradigm based on coarse locking, which we call flat combining. The cost of synchronization in flat combining is so low, that having a single thread holding a lock perform the combined access requests of all others, delivers, up to a certain non-negligible concurrency level, better performance than the most effective parallel finely synchronized implementations. We use flat-combining to devise, among other structures, new linearizable stack, queue, and priority queue algorithms that greatly outperform all prior algorithms.
BibTeX
@inproceedings{hendler2010flat,
  author = {Danny Hendler and Itai Incze and Nir Shavit and Moran Tzafrir},
  title = {{Flat combining and the synchronization-parallelism tradeoff}},
  booktitle = {SPAA},
  year = {2010},
  url = {https://openreview.net/forum?id=L4BA9lX7v4},
}
Figure