Automated and accurate cache behavior analysis for codes with irregular access patterns: Research Articles

  • Authors:
  • Diego Andrade;Manuel Arenaz;Basilio B. Fraguela;Juan Touriño;Ramón Doallo

  • Affiliations:
  • Computer Architecture Group, Department of Electronics and Systems, University of A Coruña, A Coruña, Spain;Computer Architecture Group, Department of Electronics and Systems, University of A Coruña, A Coruña, Spain;Computer Architecture Group, Department of Electronics and Systems, University of A Coruña, A Coruña, Spain;Computer Architecture Group, Department of Electronics and Systems, University of A Coruña, A Coruña, Spain;Computer Architecture Group, Department of Electronics and Systems, University of A Coruña, A Coruña, Spain

  • Venue:
  • Concurrency and Computation: Practice & Experience - Current Trends in Compilers for Parallel Computers (CPC2006)
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The memory hierarchy plays an essential role in the performance of current computers, so good analysis tools that help in predicting and understanding its behavior are required. Analytical modeling is the ideal base for such tools if its traditional limitations in accuracy and scope of application can be overcome. While there has been extensive research on the modeling of codes with regular access patterns, less attention has been paid to codes with irregular patterns due to the increased difficulty in analyzing them. Nevertheless, many important applications exhibit this kind of pattern, and their lack of locality make them more cache-demanding, which makes their study more relevant. The focus of this paper is the automation of the Probabilistic Miss Equations (PME) model, an analytical model of the cache behavior that provides fast and accurate predictions for codes with irregular access patterns. The information requirements of the PME model are defined and its integration in the XARK compiler, a research compiler oriented to automatic kernel recognition in scientific codes, is described. We show how to exploit the powerful information-gathering capabilities provided by this compiler to allow the automated modeling of loop-oriented scientific codes. Experimental results that validate the correctness of the automated PME model are also presented. Copyright © 2007 John Wiley & Sons, Ltd.