NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Press Enter or click the Search button to begin your search.

Back to Results
Efficient Cache use for Stencil Operations on Structured Discretization GridsWe derive tight bounds on the cache misses for evaluation of explicit stencil operators on structured grids. Our lower bound is based on the isoperimetrical property of the discrete octahedron. 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 lattice 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.
Document ID
20010072226
Acquisition Source
Ames Research Center
Document Type
Preprint (Draft being sent to journal)
Authors
Frumkin, Michael
(Computer Sciences Corp. Moffett Field, CA United States)
VanderWijngaart, Rob F.
(Computer Sciences Corp. Moffett Field, CA United States)
Date Acquired
September 7, 2013
Publication Date
July 14, 2001
Subject Category
Computer Systems
Funding Number(s)
CONTRACT_GRANT: DTTS59-99-D-00437
CONTRACT_GRANT: NASA Order A-61812-D
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available