Skip to main content
Journal cover image

The combinatorics of cache misses during matrix multiplication

Publication ,  Journal Article
Hanlon, PJ; Chung, D; Chatterjee, S; Genius, D; Lebeck, AR; Parker, E
Published in: Journal of Computer and System Sciences
January 1, 2001

In this paper we construct an analytic model of cache misses during matrix multiplication. The analysis in this paper applies to square matrices of size m where the array layout function is given in terms of a function Θ that interleaves the bits in the binary expansions of the row and column indices. We first analyze the number of cache misses for direct-mapped caches and then indicate how to extend this analysis to A-way associative caches. The work in this paper accomplishes two things. First, we construct fast algorithms to estimate the number of cache misses. Second, we develop a theoretical understanding of cache misses that will allow us, in subsequent work, to approach the problem of minimizing cache misses by appropriately choosing the bit interleaving function that goes into the array layout function.

Duke Scholars

Published In

Journal of Computer and System Sciences

DOI

ISSN

0022-0000

Publication Date

January 1, 2001

Volume

63

Issue

1

Start / End Page

80 / 126

Related Subject Headings

  • Computation Theory & Mathematics
  • 49 Mathematical sciences
  • 46 Information and computing sciences
  • 0806 Information Systems
  • 0805 Distributed Computing
  • 0802 Computation Theory and Mathematics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Hanlon, P. J., Chung, D., Chatterjee, S., Genius, D., Lebeck, A. R., & Parker, E. (2001). The combinatorics of cache misses during matrix multiplication. Journal of Computer and System Sciences, 63(1), 80–126. https://doi.org/10.1006/jcss.2001.1756
Hanlon, P. J., D. Chung, S. Chatterjee, D. Genius, A. R. Lebeck, and E. Parker. “The combinatorics of cache misses during matrix multiplication.” Journal of Computer and System Sciences 63, no. 1 (January 1, 2001): 80–126. https://doi.org/10.1006/jcss.2001.1756.
Hanlon PJ, Chung D, Chatterjee S, Genius D, Lebeck AR, Parker E. The combinatorics of cache misses during matrix multiplication. Journal of Computer and System Sciences. 2001 Jan 1;63(1):80–126.
Hanlon, P. J., et al. “The combinatorics of cache misses during matrix multiplication.” Journal of Computer and System Sciences, vol. 63, no. 1, Jan. 2001, pp. 80–126. Scopus, doi:10.1006/jcss.2001.1756.
Hanlon PJ, Chung D, Chatterjee S, Genius D, Lebeck AR, Parker E. The combinatorics of cache misses during matrix multiplication. Journal of Computer and System Sciences. 2001 Jan 1;63(1):80–126.
Journal cover image

Published In

Journal of Computer and System Sciences

DOI

ISSN

0022-0000

Publication Date

January 1, 2001

Volume

63

Issue

1

Start / End Page

80 / 126

Related Subject Headings

  • Computation Theory & Mathematics
  • 49 Mathematical sciences
  • 46 Information and computing sciences
  • 0806 Information Systems
  • 0805 Distributed Computing
  • 0802 Computation Theory and Mathematics