Towards a theory of cache-efficient algorithms

Sen, Sandeep ; Chatterjee, Siddartha ; Dumir, Neeraj (2002) Towards a theory of cache-efficient algorithms Journal of the ACM, 49 (6). pp. 828-858. ISSN 0004-5411

Full text not available from this repository.

Official URL: http://portal.acm.org/citation.cfm?id=602220.60222...

Related URL: http://dx.doi.org/10.1145/602220.602225

Abstract

We present a model that enables us to analyze the running time of an algorithm on a computer with a memory hierarchy with limited associativity, in terms of various cache parameters. Our cache model, an extension of Aggarwal and Vitter's I/O model, enables us to establish useful relationships between the cache complexity and the I/O complexity of computations. As a corollary, we obtain cache-efficient algorithms in the single-level cache model for fundamental problems like sorting, FFT, and an important subclass of permutations. We also analyze the average-case cache behavior of mergesort, show that ignoring associativity concerns could lead to inferior performance, and present supporting experimental evidence. We further extend our model to multiple levels of cache with limited associativity and present optimal algorithms for matrix transpose and sorting. Our techniques may be used for systematic exploitation of the memory hierarchy starting from the algorithm design stage, and for dealing with the hitherto unresolved problem of limited associativity.

Item Type:Article
Source:Copyright of this article belongs to Association for Computing Machinery.
Keywords:Hierarchical Memory; I/O Complexity; Lower Bound
ID Code:53436
Deposited On:08 Aug 2011 12:09
Last Modified:08 Aug 2011 12:09

Repository Staff Only: item control page