Title :
CC-Radix: a cache conscious sorting based on Radix sort
Author :
Jiménez-González, Daniel ; Navarro, Juan J. ; Larriba-Pey, Josep-L
Author_Institution :
Comput. Archit. Dept., Univ. Politecnica de Catalunya, Barcelona, Spain
Abstract :
We focus on the improvement of data locality for the in-core sequential Radix sort algorithm for 32-bit positive integer keys. We propose a new algorithm that we call Cache Conscious Radix sort, CC-Radix. CC-Radix improves the data locality by dynamically partitioning the data set into subsets that fit in cache level L/sub 2/. Once in that cache level, each subset is sorted with Radix sort. In order to obtain the best implementations, we analyse the algorithms and obtain the algorithmic parameters that minimize the number of misses on cache levels L/sub 1/ and L/sub 2/, and the TLB structure. Here, we present results for a MIPS R10000 processor based computer, the SGI Origin 2000. Our results show that our algorithm is about 2 and 1.4 times faster than Quicksort and Explicit Block Transfer Radix sort, which is the previous fastest sorting algorithm to our knowledge, respectively.
Keywords :
cache storage; memory architecture; parallel programming; sorting; CC-Radix; Cache Conscious Radix sort; L/sub 1/ cache level; L/sub 2/ cache level; MIPS R10000 processor; SGI Origin 2000; TLB structure; cache conscious sorting; data locality; dynamic subset partitioning; sequential in-core sorting; Algorithm design and analysis; Application software; Clocks; Computer architecture; Content addressable storage; Contracts; Database systems; Operating systems; Partitioning algorithms; Sorting;
Conference_Titel :
Parallel, Distributed and Network-Based Processing, 2003. Proceedings. Eleventh Euromicro Conference on
Conference_Location :
Genova, Italy
Print_ISBN :
0-7695-1875-3
DOI :
10.1109/EMPDP.2003.1183573