Title :
AA-Sort: A New Parallel Sorting Algorithm for Multi-Core SIMD Processors
Author :
Inoue, Hiroshi ; Moriyama, Takao ; Komatsu, Hideaki ; Nakatani, Toshio
Author_Institution :
IBM Tokyo Res. Lab., Tokyo
Abstract :
Many sorting algorithms have been studied in the past, but there are only a few algorithms that can effectively exploit both SIMD instructions and thread-level parallelism. In this paper, we propose a new parallel sorting algorithm, called aligned-access sort (AA-sort), for shared-memory multi processors. The AA-sort algorithm takes advantage of SIMD instructions. The key to high performance is eliminating unaligned memory accesses that would reduce the effectiveness of SIMD instructions. We implemented and evaluated the AA-sort on PowerPCreg 970MP and Cell Broadband Enginetrade. In summary, a sequential version of the AA-sort using SIMD instructions outperformed IBM´s optimized sequential sorting library by 1.8 times and GPUTeraSort using SIMD instructions by 3.3 times on PowerPC 970MP when sorting 32 M of random 32-bit integers. Furthermore, a parallel version of AA-sort demonstrated better scalability with increasing numbers of cores than a parallel version of GPUTeraSort on both platforms.
Keywords :
multiprocessing systems; parallel processing; sorting; Cell Broadband Engine; GPUTeraSort; PowerPC 970MP; SIMD instructions; aligned-access sort; parallel sorting algorithm; shared-memory multiprocessors; Acceleration; Computational complexity; Engines; Laboratories; Libraries; Parallel processing; Pipelines; Scalability; Sorting; Yarn;
Conference_Titel :
Parallel Architecture and Compilation Techniques, 2007. PACT 2007. 16th International Conference on
Conference_Location :
Brasov
Print_ISBN :
978-0-7695-2944-8
DOI :
10.1109/PACT.2007.4336211