Skip to main navigation Skip to search Skip to main content

Cache bursts: A new approach for eliminating dead blocks and increasing cache efficiency

  • University of Texas at Austin
  • Advanced Micro Devices
  • Microsoft USA

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

165 Scopus citations

Abstract

Data caches in general-purpose microprocessors often contain mostly dead blocks and are thus used inefficiently. To improve cache efficiency, dead blocks should be identified and evicted early. Prior schemes predict the death of a block immediately after it is accessed; however, these schemes yield lower prediction accuracy and coverage. Instead, we find that predicting the death of a block when it just moves out of the MRU position gives the best tradeoff between timeliness and prediction accuracy/coverage. Furthermore, the individual reference history of a block in the L1 cache can be irregular because of data/control dependence. This paper proposes a new class of dead-block predictors that predict dead blocks based on bursts of accesses to a cache block. A cache burst begins when a block becomes MRU and ends when it becomes non-MRU. Cache bursts are more predictable than individual references because they hide the irregularity of individual references. When used at the L1 cache, the best burst-based predictor can identify 96% of the dead blocks with a 96% accuracy. With the improved dead-block predictors, we evaluate three ways to increase cache efficiency by eliminating dead blocks early: replacement optimization, bypassing, and prefetching. The most effective approach, prefetching into dead blocks, increases the average L1 efficiency from 8% to 17% and the L2 efficiency from 17% to 27%. This increased cache efficiency translates into higher overall performance: prefetching into dead blocks outperforms the same prefetch scheme without dead-block prediction by 12% at the L1 and by 13% at the L2.

Original languageEnglish
Title of host publication2008 Proceedings of the 41st Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-41
Pages222-233
Number of pages12
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

Fingerprint

Dive into the research topics of 'Cache bursts: A new approach for eliminating dead blocks and increasing cache efficiency'. Together they form a unique fingerprint.

Cite this