skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: The influence of caches on the performance of sorting

Conference ·
OSTI ID:471693
;  [1]
  1. Univ. of Washington, Seattle, WA (United States)

We investigate the effect that caches have on the performance of sorting algorithms both experimentally and analytically. To address the performance problems that high cache miss penalties introduce we restructure heapsort, mergesort and quicksort in order to improve their cache locality. For all three algorithms the improvement in cache performance leads to a reduction in total execution time. We also investigate the performance of radix sort. Despite the extremely low instruction count incurred by this linear sorting algorithm, its relatively poor cache performance results in worse overall performance than the efficient comparison based sorting algorithms.

OSTI ID:
471693
Report Number(s):
CONF-970142-; TRN: 97:001377-0042
Resource Relation:
Conference: 8. annual Association for Computing Machinery (ACM)-Society for Industrial and Applied Mathematics (SIAM) symposium on discrete algorithms, New Orleans, LA (United States), 5-7 Jan 1997; Other Information: PBD: 1997; Related Information: Is Part Of Proceedings of the eighth annual ACM-SIAM symposium on discrete algorithms; PB: 798 p.
Country of Publication:
United States
Language:
English

Similar Records

Data parallel sorting for particle simulation
Journal Article · Fri May 01 00:00:00 EDT 1992 · Concurrency. Practice and Experience; (United Kingdom) · OSTI ID:471693

Software methods for improvement of cache performance on supercomputer applications
Miscellaneous · Sun Jan 01 00:00:00 EST 1989 · OSTI ID:471693

Fast algorithms for sorting and searching strings
Conference · Sun Jun 01 00:00:00 EDT 1997 · OSTI ID:471693