Parallel Quicksort without Pairwise Element Exchange

04/20/2018
by   Jesper Larsson Träff, et al.
0

Standard implementations of 2-way, parallel, distributed memory Quicksort algorithms exchange partitioned data elements at each level of the recursion. This is not necessary: It suffices to exchange only the chosen pivots, while postponing element redistribution to the bottom of the recursion. This reduces the total volume of data exchanged from O(n p) to O(n), n being the total number of elements to be sorted and p a power-of-two number of processors, while preserving the flavor, characteristics and properties of a Quicksort implementation. We give a template implementation based on this observation, and compare against a standard, 2-way parallel Quicksort implementation as well as other recent Quicksort implementations. We show substantial, and considerably better absolute speed-up on a medium-large InfiniBand cluster.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/16/2020

Parallel Implementation of Distributed Global Optimization (DGO)

Parallel implementations of distributed global optimization (DGO) [13] o...
research
09/15/2016

An object oriented parallel finite element scheme for computations of PDEs: Design and implementation

Parallel finite element algorithms based on object-oriented concepts are...
research
08/16/2017

A Survey of Parallel A*

A* is a best-first search algorithm for finding optimal-cost paths in gr...
research
07/31/2023

Sequential and Shared-Memory Parallel Algorithms for Partitioned Local Depths

In this work, we design, analyze, and optimize sequential and shared-mem...
research
02/07/2023

Engineering Shared-Memory Parallel Shuffling to Generate Random Permutations In-Place

Shuffling is the process of rearranging a sequence of elements into a ra...
research
08/28/2019

Parallel and Scalable Precise Clustering for Homologous Protein Discovery

This paper presents a new, parallel implementation of clustering and dem...
research
07/07/2020

The Stackelberg Kidney Exchange Problem is Σ_2^p-complete

We introduce the Stackelberg kidney exchange problem. In this problem, a...

Please sign up or login with your details

Forgot password? Click here to reset