When prefetching improves/degrades performance

  • Authors:
  • Thomas R. Puzak;A. Hartstein;P. G. Emma;V. Srinivasan

  • Affiliations:
  • IBM -- T. J. Watson Research Center, Yorktown Heights, NY;IBM -- T. J. Watson Research Center, Yorktown Heights, NY;IBM -- T. J. Watson Research Center, Yorktown Heights, NY;IBM -- T. J. Watson Research Center, Yorktown Heights, NY

  • Venue:
  • Proceedings of the 2nd conference on Computing frontiers
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We formulate a new method for evaluating any prefetching algorithm (real or hypothetical). This method allows researchers to analyze the potential improvements prefetching can bring to an application independent of any known prefetching algorithm. We characterize prefetching with the metrics: timeliness, coverage, and accuracy. We demonstrate the usefulness of this method using a Markov prefetch algorithm. Under ideal conditions, prefetching can remove nearly all of the pipeline stalls associated with a cache miss. However, in today's processors, we show that nearly all of the performance benefits derived from prefetching are eroded and, in many cases, prefetching loses performance. We do quantitative analysis of these trade-offs, and show that there are linear relationships between overall performance and coverage, accuracy, and bandwidth