Efficient low-contention parallel algorithms

  • Phillip B. Gibbons*
  • , Yossi Matias
  • , Vijaya Ramachandran
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

15 Scopus citations

Abstract

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.

Original languageEnglish
Pages (from-to)417-442
Number of pages26
JournalJournal of Computer and System Sciences
Volume53
Issue number3
DOIs
StatePublished - 1996
Externally publishedYes

Funding

FundersFunder number
Texas Advanced Research Projects003658480, 003658386
National Science FoundationCCR-90-23059

    Fingerprint

    Dive into the research topics of 'Efficient low-contention parallel algorithms'. Together they form a unique fingerprint.

    Cite this