The Influence of Caches on the Performance of Heaps

63Citations
Citations of this article
24Readers
Mendeley users who have this article in their library.
Get full text

Abstract

As memory access times grow larger relative to processor cycle times, the cache performance of algorithms has an increasingly large impact on overall performance. Unfortunately, most commonly used algorithms were not designed with cache performance in mind. This paper investigates the cache performance of implicit heaps. We present optimizations which significantly reduce the cache misses that heaps incur and improve their overall performance. We present an analytical model called collective analysis that allows cache performance to be predicted as a function of both cache configuration and algorithm configuration. As part of our investigation, we perform an approximate analysis of the cache performance of both traditional heaps and our improved heaps in our model. In addition empirical data is given for five architectures to show the impact our optimizations have on overall performance. We also revisit a priority queue study originally performed by Jones [25]. Due to the increases in cache miss penalties, the relative performance results we obtain on today’s machines differ greatly from the machines of only ten years ago. We compare the performance of implicit heaps, skew heaps and splay trees and discuss the difference between our results and Jones’s. Categories and Subject Descriptors: F.2.2 [Noimumerical Algorithms and Problems]: Sorting and searching—Priority queues. © 1996, ACM. All rights reserved.

Cite

CITATION STYLE

APA

LaMarca, A., & Ladner, R. E. (1996). The Influence of Caches on the Performance of Heaps. ACM Journal of Experimental Algorithmics, 1, 4. https://doi.org/10.1145/235141.235145

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free