NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Minimizing Cache Misses Using Minimum-Surface BodiesA number of known techniques for improving cache performance in scientific computations involve the reordering of the iteration space. Some of these reorderings can be considered as coverings of the iteration space with the sets having good surface-to-volume ratio. Use of such sets reduces the number of cache misses in computations of local operators having the iteration space as a domain. First, we derive lower bounds which any algorithm must suffer while computing a local operator on a grid. Then we explore coverings of iteration spaces represented by structured and unstructured grids which allow us to approach these lower bounds. For structured grids we introduce a covering by successive minima tiles of the interference lattice of the grid. We show that the covering has low surface-to-volume ratio and present a computer experiment showing actual reduction of the cache misses achieved by using these tiles. For planar unstructured grids we show existence of a covering which reduces the number of cache misses to the level of structured grids. On the other hand, we present a triangulation of a 3-dimensional cube such that any local operator on the corresponding grid has significantly larger number of cache misses than a similar operator on a structured grid.
Document ID
20020053647
Acquisition Source
Ames Research Center
Document Type
Preprint (Draft being sent to journal)
Authors
Frumkin, Michael
(NASA Ames Research Center Moffett Field, CA United States)
VanderWijngaart, Rob
(Computer Sciences Corp. Moffett Field, CA United States)
Biegel, Bryan
Date Acquired
September 7, 2013
Publication Date
January 1, 2002
Subject Category
Computer Programming And Software
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available