English

In-place Parallel Super Scalar Samplesort (IPS$^4$o)

Distributed, Parallel, and Cluster Computing 2017-07-03 v2

Abstract

We present a sorting algorithm that works in-place, executes in parallel, is cache-efficient, avoids branch-mispredictions, and performs work O(n log n) for arbitrary inputs with high probability. The main algorithmic contributions are new ways to make distribution-based algorithms in-place: On the practical side, by using coarse-grained block-based permutations, and on the theoretical side, we show how to eliminate the recursion stack. Extensive experiments show that our algorithm IPS4^4o scales well on a variety of multi-core machines. We outperform our closest in-place competitor by a factor of up to 3. Even as a sequential algorithm, we are up to 1.5 times faster than the closest sequential competitor, BlockQuicksort.

Keywords

Cite

@article{arxiv.1705.02257,
  title  = {In-place Parallel Super Scalar Samplesort (IPS$^4$o)},
  author = {Michael Axtmann and Sascha Witt and Daniel Ferizovic and Peter Sanders},
  journal= {arXiv preprint arXiv:1705.02257},
  year   = {2017}
}
R2 v1 2026-06-22T19:38:21.083Z