TY - JOUR
T1 - Efficient low-contention parallel algorithms
AU - Gibbons, Phillip B.
AU - Matias, Yossi
AU - Ramachandran, Vijaya
N1 - Funding Information:
* E-mail: gibbons research.att.com. -E-mail: matias research.att.com. Supported in part by NSF Grant CCR-90-23059 and Texas Advanced Research Projects Grants 003658480 and 003658386. E-mail: vlr cs.utexas.edu.
PY - 1996
Y1 - 1996
N2 - The queue-read, queue-write (QRQW) parallel random access machine (PRAM) model permits concurrent reading and writing to shared memory locations, but at a cost proportional to the number of readers/writers to any one memory location in a given step. The QRQW PRAM model reflects the contention properties of most commercially available parallel machines more accurately than either the well-studied CRCW PRAM or EREW PRAM models, and can be efficiently emulated with only logarithmic slowdown on hypercube-type noncombining networks. This paper describes fast, low-contention, work-optimal, randomized QRQW PRAM algorithms for the fundamental problems of load balancing, multiple compaction, generating a random permutation, parallel hashing, and distributive sorting. These logarithmic or sublogarithmic time algorithms considerably improve upon the best known EREW PRAM algorithms for these problems, while avoiding the high-contention steps typical of CRCW PRAM algorithms. An illustrative experiment demonstrates the performance advantage of a new QRQW random permutation algorithm when compared with the popular EREW algorithm. Finally, this paper presents new randomized algorithms for integer sorting and general sorting.
AB - The queue-read, queue-write (QRQW) parallel random access machine (PRAM) model permits concurrent reading and writing to shared memory locations, but at a cost proportional to the number of readers/writers to any one memory location in a given step. The QRQW PRAM model reflects the contention properties of most commercially available parallel machines more accurately than either the well-studied CRCW PRAM or EREW PRAM models, and can be efficiently emulated with only logarithmic slowdown on hypercube-type noncombining networks. This paper describes fast, low-contention, work-optimal, randomized QRQW PRAM algorithms for the fundamental problems of load balancing, multiple compaction, generating a random permutation, parallel hashing, and distributive sorting. These logarithmic or sublogarithmic time algorithms considerably improve upon the best known EREW PRAM algorithms for these problems, while avoiding the high-contention steps typical of CRCW PRAM algorithms. An illustrative experiment demonstrates the performance advantage of a new QRQW random permutation algorithm when compared with the popular EREW algorithm. Finally, this paper presents new randomized algorithms for integer sorting and general sorting.
UR - https://www.scopus.com/pages/publications/0030398560
U2 - 10.1006/jcss.1996.0079
DO - 10.1006/jcss.1996.0079
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:0030398560
SN - 0022-0000
VL - 53
SP - 417
EP - 442
JO - Journal of Computer and System Sciences
JF - Journal of Computer and System Sciences
IS - 3
ER -