NASA Logo

NTRS

NTRS - NASA Technical Reports Server

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

Back to Results
A Measurement and Simulation Based Methodology for Cache Performance Modeling and TuningWe present a cache performance modeling methodology that facilitates the tuning of uniprocessor cache performance for applications executing on shared memory multiprocessors by accurately predicting the effects of source code level modifications. Measurements on a single processor are initially used for identifying parts of code where cache utilization improvements may significantly impact the overall performance. Cache simulation based on trace-driven techniques can be carried out without gathering detailed address traces. Minimal runtime information for modeling cache performance of a selected code block includes: base virtual addresses of arrays, virtual addresses of variables, and loop bounds for that code block. Rest of the information is obtained from the source code. We show that the cache performance predictions are as reliable as those obtained through trace-driven simulations. This technique is particularly helpful to the exploration of various "what-if' scenarios regarding the cache performance impact for alternative code structures. We explain and validate this methodology using a simple matrix-matrix multiplication program. We then apply this methodology to predict and tune the cache performance of two realistic scientific applications taken from the Computational Fluid Dynamics (CFD) domain.
Document ID
20020073403
Acquisition Source
Ames Research Center
Document Type
Preprint (Draft being sent to journal)
Authors
Waheed, Abdul
(MRJ Technology Solutions, Inc. Moffett Field, CA United States)
Yan, Jerry
(MRJ Technology Solutions, Inc. Moffett Field, CA United States)
Saini, Subhash
Date Acquired
September 7, 2013
Publication Date
January 1, 1998
Subject Category
Computer Programming And Software
Meeting Information
Meeting: Sigmetric 1999
Location: Atlanta, GA
Country: United States
Start Date: May 1, 1999
End Date: May 4, 1999
Funding Number(s)
CONTRACT_GRANT: NAS2-14303
PROJECT: RTOP 519-40-12
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available