arXiv:2611.04914cs.DSNov 2026

Manuscript Offprint

arXiv:2611.04914

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

Gopalan Sajith, Manas Kumar Panda, Ranajit Senko

GOPALAN SAJITH*, MANAS KUMAR PANDA†, and RANAJIT SENKO†, Indian Institute of Technology Guwahati, India

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 \alpha) comparison rounds with nαn\alpha processors, for 1≤α≤n1 \leq \alpha \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.

CCS Concepts: • Theory of computation → Shared memory algorithms; Sorting and searching.

Additional Key Words and Phrases: external memory algorithms, models of computation

ACM Reference Format:

Gopalan Sajith, Manas Kumar Panda, and Ranajit Senko. 2026. Sorting in PRAM, Parallel Comparison Model and Parallel External Memory Model. 1, 1 (November 2026), 20 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

1 Introduction

Sequential algorithms, studied in traditional algorithms, are designed to run on a single processor [2, 13]. Improvements in processor speeds have hitherto enabled us to solve increasingly larger problem instances using such algorithms. However, processor speeds are approaching their inherent physical limits, making it difficult to achieve further speedups through sequential algorithms alone. As technological advances continue to spawn ever larger problem instances, the use of multiple processors will become essential. Algorithms specifically designed to run on multiple processors are known as parallel algorithms.

References (24)