Let Caches Decay: Reducing Leakage Energy via Exploitation of Cache Generational Behavior

Zhigang Hu, Stefanos Kaxiras, Margaret Martonosi

Research output: Contribution to journalArticlepeer-review

33 Scopus citations

Abstract

Power dissipation is increasingly important in CPUs ranging from those intended for mobile use, all the way up to high-performance processors for highend servers. Although the bulk of the power dissipated is dynamic switching power, leakage power is also beginning to be a concern. Chipmakers expect that in future chip generations, leakage's proportion of total chip power will increase significantly. This article examines methods for reducing leakage power within the cache memories of the CPU. Because caches comprise much of a CPU chip's area and transistor counts, they are reasonable targets for attacking leakage. We discuss policies and implementations for reducing cache leakage by invalidating and "turning off" cache lines when they hold data not likely to be reused. In particular, our approach is targeted at the generational nature of cache line usage. That is, cache lines typically have a flurry of frequent use when first brought into the cache, and then have a period of "dead time" before they are evicted. By devising effective, low-power ways of deducing dead time, our results show that in many cases we can reduce L1 cache leakage energy by 4x in SPEC2000 applications without having an impact on performance. Because our decay-based techniques have notions of competitive online algorithms at their roots, their energy usage can be theoretically bounded at within a factor of two of the optimal oracle-based policy. We also examine adaptive decay-based policies that make energy-minimizing policy choices on a per-application basis by choosing appropriate decay intervals individually for each cache line. Our proposed adaptive policies effectively reduce L1 cache leakage energy by 5x for the SPEC2000 with only negligible degradations in performance. Categories and Subject Descriptors: B.3.2 [Bold]: Memory Structures Design Styles - Cache memories.

Original languageEnglish (US)
Pages (from-to)161-190
Number of pages30
JournalACM Transactions on Computer Systems
Volume20
Issue number2
DOIs
StatePublished - May 2002

All Science Journal Classification (ASJC) codes

  • General Computer Science

Keywords

  • Algorithms
  • Cache decay
  • Cache memories
  • Design
  • Generational behavior
  • Leakage power
  • Measurement

Fingerprint

Dive into the research topics of 'Let Caches Decay: Reducing Leakage Energy via Exploitation of Cache Generational Behavior'. Together they form a unique fingerprint.

Cite this