Title
Sorting with Asymmetric Read and 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 O(n) writes, O(n log n) reads, and logarithmic depth (parallel time). Next, we consider a variant of the External Memory (EM) model that charges k > 1 for writing a block of size B to the secondary memory, and present variants of three EM sorting algorithms (multi-way merge sort, sample sort, and heap sort using buffer trees) that asymptotically reduce the number of writes over the original algorithms, and perform roughly k block reads for every block write. Finally, we define a variant of the Ideal-Cache model with asymmetric write costs, and present write-efficient,cache-oblivious parallel algorithms for sorting, FFTs, and matrix multiplication. Adapting prior bounds for work-stealing and parallel-depth-first schedulers to the asymmetric setting, these yield provably good bounds for parallel machines with private caches or with a shared cache, respectively.
Year
DOI
Venue
2016
10.1145/2755573.2755604
Proceedings of the 27th ACM symposium on Parallelism in Algorithms and Architectures
Keywords
Field
DocType
Sorting,asymmetric read-write costs,non-volatile memory,persistent memory,write-efficient,write-avoiding,parallel algorithms,cache-oblivious algorithms,external memory model,mergesort,sample sort,I/O buffer tree,FFT,matrix multiplication
Comparison sort,Merge algorithm,Computer science,Parallel computing,Adaptive sort,Selection sort,Integer sorting,External sorting,Block sort,Sorting algorithm
Journal
Volume
Citations 
PageRank 
abs/1603.03505
11
0.55
References 
Authors
30
5
Name
Order
Citations
PageRank
Guy E. Blelloch12927207.30
Jeremy T. Fineman258736.10
Phillip B. Gibbons36863624.14
Yan Gu4435.10
Julian Shun559332.57