ACM Home Page
Please provide us with feedback. Feedback
Analysing cache effects in distribution sorting
Full text LatexLatex (0 KB),  PdfPdf (398 KB),  PsPs (375 KB)
Source Journal of Experimental Algorithmics (JEA) archive
Volume 5 ,  (2000) table of contents
Article No. 14  
Year of Publication: 2000
ISSN:1084-6654
Authors
Naila Rahman  King's College, London, UK
Rajeev Raman  King's College, London, UK
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 41,   Citation Count: 4
Additional Information:

appendices and supplements   abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/351827.384256
What is a DOI?

APPENDICES and SUPPLEMENTS
Tarp14-rahman.tar (61 KB),
The software suite accompanying the article; this is a small Unix tar file, which includes the source code, a Makefile, and the test files used in the article.


ABSTRACT

We study cache effects in distribution sorting algorithms for sorting keys drawn independently at random from a uniform distribution ('uniform keys'). We note that the performance of a recently-published distribution sorting algorithm, Flashsort1, which sorts <i>n</i> uniform floating-point keys in <i>O(n)</i> expected time, does not scale well with the input size due to poor cache utilisation. We present an approximate analysis for distribution sorting uniform keys which, as validated by simulation results, predicts the expected cache misses of Flashsort1 quite well. Using this analysis, we design a multiple-pass variant of Flashsort1 which outperforms Flashsort1 and comparison-based algorithms on uniform floating-point keys for moderate to large values of <i>n</i>. Using experimental results we also show that the integer distribution sorting algorithm MSB radix sort performs well on both uniform integer and uniform floating-point keys.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
HANDY, J. 1998. <i>The Cache Memory Handbook</i>. Academic Press.
 
4
 
5
 
6
 
7
 
8
 
9
NEUBERT, K. D. 1998. The Flashsort1 algorithm. In <i>Dr Dobb's Journal</i> (February 1998), pp. 123-125. FORTRAN code listing, p. 131, <i>ibid.</i>
 
10
 
11
 
12


Collaborative Colleagues:
Naila Rahman: colleagues
Rajeev Raman: colleagues