DocumentCode
749039
Title
Sorting on STAR
Author
Stone, Harold S.
Author_Institution
Department of Electrical and Computer Engineering, University of Massachusetts
Issue
2
fYear
1978
fDate
3/1/1978 12:00:00 AM
Firstpage
138
Lastpage
146
Abstract
This paper gives timing comparisons for three sorting algorithms written for the CDC STAR computer. One algorithm is Hoare´s Quicksort, which is the fastest or nearly the fastest sorting algorithm for most computers. A second algorithm is a vector version of Quicksort that takes advantage of the STAR´s vector operations. The third algorithm is an adaptation of Batcher´s sorting algorithm, which makes especially good use of vector operations but has a complexity of N (log N)2 as compared to a complexity of N log N for the Quicksort algorithms. In spite of its worse complexity, Batcher´s sorting algorithm is competitive with the serial version of Quicksort for vectors up to the largest that can be treated by STAR. Vector Quicksort outperforms the other two algorithms and is generally preferred. These results indicate that unusual instruction sets can introduce biases in program execution time that counter results predicted by worst-case asymptotic complexity analysis.
Keywords
Batcher sort; CDC STAR; Quicksort; parallel computation; pipeline computers; sorting; Algorithm design and analysis; Books; Computational complexity; Computer science; Concurrent computing; Counting circuits; Instruction sets; Pipelines; Sorting; Timing; Batcher sort; CDC STAR; Quicksort; parallel computation; pipeline computers; sorting;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/TSE.1978.231484
Filename
1702507
Link To Document