ACM Home Page
Please provide us with feedback. Feedback
Tight bounds on cache use for stencil operations on rectangular grids
Full text PdfPdf (307 KB)
Source Journal of the ACM (JACM) archive
Volume 49 ,  Issue 3  (May 2002) table of contents
Pages: 434 - 453  
Year of Publication: 2002
ISSN:0004-5411
Authors
Michael A. Frumkin  NASA Ames Research Center, Moffett Field, California
Rob F. Van der Wijngaart  NASA Ames Research Center, Moffett Field, California
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 32,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/567112.567115
What is a DOI?

ABSTRACT

We derive tight bounds on cache misses for evaluation of explicit stencil operators on rectangular grids. Our lower bound is based on the isoperimetric property of the discrete crosspolytope. Our upper bound is based on a good surface-to-volume ratio of a parallelepiped spanned by a reduced basis of the interference lattice of a grid. Measurements show that our algorithm typically reduces the number of cache misses by a factor of three, relative to a compiler optimized code. We show that stencil calculations on grids whose interference lattices have a short vector feature abnormally high numbers of cache misses. We call such grids unfavorable and suggest to avoid these in computations by appropriate padding. By direct measurements on a MIPS R10000 processor we show a good correlation between abnormally high numbers of cache misses and unfavorable three-dimensional grids.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
David H. Bailey, Unfavorable strides in cache memory systems (RNR Technical Report RNR-92-015), Scientific Programming, v.4 n.2, p.53-58, Summer 1995
 
2
Cassels, J. W. S. 1957. Introduction to Diophantine Approximations (Ch. I Theorem VIII). Cambridge Univ. Press. Cambridge, Mass.
3
4
5
 
6
 
7
 
8
Hong, J. W., and Kung, H. T. 1981. I/O complexity: The red-blue pebble game. In Proceedings of the IEEE Symposium on Theoretical Computer Science. IEEE Computer Society Press, Los Alamitos, Calif., pp. 326--333.
9
10
 
11
 
12
Wang, D. L., and Wang, P. 1977. Discrete isoperimetric problems. SIAM J. Appl. Math. 32, 860--870.
13

Collaborative Colleagues:
Michael A. Frumkin: colleagues
Rob F. Van der Wijngaart: colleagues