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

Michael Axtmann, Sascha Witt, Daniel Ferizovic, Peter Sanders
5/5/2017
49 citations
cs.DC

Official code: SaschaWitt/ips4o (169 stars, C++, BSD-2-Clause, last commit 2025-01-15).

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.

Show full abstract

Extensive experiments show that our algorithm IPS$^4$o 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.

View on arXivView PDF

Code Implementations(1)

SaschaWitt/ips4oOfficial100%
BSD-2-Clause

In-place Parallel Super Scalar Samplesort (IPS⁴o)

16948C++Jun 28, 20171 years agoBSD-2-Clause
in-placeparallelsorting

Similar Papers

Cite this paper

@article{axtmann2017inplace,
  title  = {In-place Parallel Super Scalar Samplesort (IPS$^4$o)},
  author = {Michael Axtmann and Sascha Witt and Daniel Ferizovic and Peter Sanders},
  year   = {2017},
  eprint = {1705.02257},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.02257}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1705.02257.svg)](https://codeofpaper.com/paper/1705.02257)

Discussion