The Influence of Caches on the Performance of Sorting
β Scribed by Anthony LaMarca; Richard E Ladner
- Publisher
- Elsevier Science
- Year
- 1999
- Tongue
- English
- Weight
- 248 KB
- Volume
- 31
- Category
- Article
- ISSN
- 0196-6774
No coin nor oath required. For personal study only.
β¦ Synopsis
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 mergesort, quicksort, and heapsort 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 time sorting algorithm, its relatively poor cache performance results in worse overall performance than the efficient comparison based sorting algorithms. For each algorithm we provide an analysis that closely predicts the number of cache misses incurred by the algorithm.
π SIMILAR VOLUMES
## Abstract The rapid rate of growth of the brain during the last third of gestation and the early postnatal stage makes it vulnerable to an inadequate diet, although brain development continues into adulthood and micronutrient status can influence functioning beyond infancy. Certain dietary defici
In the past few years, there has been considerable interest in general purpose computational models of parallel computation to enable independent development of hardware and software. The BSP and related models represent an important step in this direction, providing a simple view of a parallel mach