The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.01 - January (1990 vol.39)
pp: 133-138
ABSTRACT
<p>A parallelization of the Quicksort algorithm that is suitable for execution on a shared memory multiprocessor with an efficient implementation of the fetch-and-add operation is presented. The partitioning phase of Quicksort, which has been considered a serial bottleneck, is cooperatively executed in parallel by many processors through the use of fetch-and-add. The parallel algorithm maintains the in-place nature of Quicksort, thereby allowing internal sorting of large arrays. A class of fetch-and-add-based algorithms for dynamically scheduling processors to subproblems is presented. Adaptive scheduling algorithms in this class have low overhead and achieve effective processor load balancing. The basic algorithm is shown to execute in an average of O(log(N)) time on an N-processor PRAM (parallel random-access machine) assuming a constant-time fetch-and-add. Estimated speedups, based on simulations, are also presented for cases when the number of items to be sorted is much greater than the number of processors.</p>
INDEX TERMS
fetch-and-add; parallelization; Quicksort algorithm; shared memory multiprocessor; partitioning phase; parallel algorithm; sorting; scheduling; N-processor PRAM; simulations; parallel algorithms; sorting.
CITATION
P. Heidelberger, A. Norton, J.T. Robinson, "Parallel Quicksort Using Fetch-And-Add", IEEE Transactions on Computers, vol.39, no. 1, pp. 133-138, January 1990, doi:10.1109/12.46289
35 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool