Sorting with Asymmetric Read and Write Costs
Guy E. Blelloch, Jeremy T. Fineman, Phillip B. Gibbons, Yan, Gu, Julian Shun

TL;DR
This paper develops models and algorithms for sorting that minimize costly memory writes, addressing emerging memory technologies with asymmetric read/write costs, and presents efficient algorithms in various computational models.
Contribution
It introduces new algorithms and models that optimize sorting by reducing write operations in asymmetric memory and cache models.
Findings
Sorting can be performed with $O(n)$ writes and $O(n ext{log} n)$ reads in the asymmetric PRAM model.
Variants of external memory sorting algorithms significantly reduce write operations.
Parallel algorithms for sorting, FFTs, and matrix multiplication are optimized for asymmetric write costs.
Abstract
Emerging memory technologies have a significant gap between the cost, both in time and in energy, of writing to memory versus reading from memory. In this paper we present models and algorithms that account for this difference, with a focus on write-efficient sorting algorithms. First, we consider the PRAM model with asymmetric write cost, and show that sorting can be performed in writes, reads, and logarithmic depth (parallel time). Next, we consider a variant of the External Memory (EM) model that charges for writing a block of size to the secondary memory, and present variants of three EM sorting algorithms (multi-way mergesort, sample sort, and heapsort using buffer trees) that asymptotically reduce the number of writes over the original algorithms, and perform roughly block reads for every block write. Finally, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
