Skip to content

Sorting in PRAM, Parallel Comparison Model and Parallel External Memory Model

Gopalan Sajith, Manas Kumar Panda, Ranajit Senko

cs.DS

Abstract

We study the problem of sorting on the Parallel Random Access Machine (PRAM), Parallel Comparison Model (PCM) and Parallel External Memory Model (PEM). On PRAM, we present a Concurrent Read Exclusive Write algorithm that runs in O(log⁡n)O(\log n) time with nn processors; our algorithm is very different from Cole's Merge Sort. On PCM, we present the first optimal algorithm for sorting after AKS; our algorithm runs in O(log⁡n/log⁡α)O(\log n/\logα) comparison rounds with nαnα processors, for 1≤α≤n1\leqα\leq n. On PEM, we present a Concurrent Read Exclusive Write algorithm that sorts NN elements in O(log⁡NB)O\left(\log\frac{N}{B}\right) I/O rounds with p≥NBp\geq \frac{N}{B} processors.

Create a lesson