Skip to main navigation Skip to search Skip to main content

Temporal instruction fetch streaming

  • Michael Ferdman
  • , Thomas F. Wenisch
  • , Anastasia Ailamaki
  • , Babak Falsafi
  • , Andreas Moshovos
  • University of Michigan, Ann Arbor
  • Carnegie Mellon University
  • Swiss Federal Institute of Technology Lausanne
  • University of Toronto

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

66 Scopus citations

Abstract

L1 instruction-cache misses pose a critical performance bottleneck in commercial server workloads. Cache access latency constraints preclude L1 instruction caches large enough to capture the application, library, and OS instruction working sets of these workloads. To cope with capacity constraints, researchers have proposed instruction prefetchers that use branch predictors to explore future control flow. However, such prefetchers suffer from several fundamental flaws: their lookahead is limited by branch prediction bandwidth, their accuracy suffers from geometrically-compounding branch misprediction probability, and they are ignorant of the cache contents, frequently predicting blocks already present in L1. Hence, L1 instruction misses remain a bottleneck. We propose Temporal Instruction Fetch Streaming (TIFS)-a mechanism for prefetching temporally-correlated instruction streams from lower-level caches. Rather than explore a program's control flow graph, TIFS predicts future instruction-cache misses directly, through recording and replaying recurring L1 instruction miss sequences. In this paper, we first present an information-theoretic offline trace analysis of instruction-miss repetition to show that 94% of L1 instruction misses occur in long, recurring sequences. Then, we describe a practical mechanism to record these recurring sequences in the L2 cache and leverage them for instruction-cache prefetching. Our TIFS design requires less than 5% storage overhead over the baseline L2 cache and improves performance by 11% on average and 24% at best in a suite of commercial server workloads.

Original languageEnglish
Title of host publication2008 Proceedings of the 41st Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-41
Pages1-10
Number of pages10
Edition2008 PROCEEDINGS
DOIs
StatePublished - 2008
Event2008 - 41st Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-41 - Lake Como, Italy
Duration: Nov 8 2008Nov 12 2008

Publication series

NameProceedings of the Annual International Symposium on Microarchitecture, MICRO
Number2008 PROCEEDINGS
ISSN (Print)1072-4451

Conference

Conference2008 - 41st Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-41
Country/TerritoryItaly
CityLake Como
Period11/8/0811/12/08

Keywords

  • Caching
  • Fetch-directed
  • Instruction streaming
  • Prefetching

Fingerprint

Dive into the research topics of 'Temporal instruction fetch streaming'. Together they form a unique fingerprint.

Cite this