Reducing L1 caches power by exploiting software semantics

Zhen Fang, Li Zhao, Xiaowei Jiang, Shih Lien Lu, Ravi Iyer, Tong Li, Seung Eun Lee

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

6 Scopus citations

Abstract

To access a set-associative L1 cache in a high-performance processor, all ways of the selected set are searched and fetched in parallel using physical address bits. Such a cache is oblivious of memory references' software semantics such as stack-heap bifurcation of the memory space, and user-kernel ring levels. This constitutes a waste of energy since e.g., a user-mode instruction fetch will never hit a cache block that contains kernel code. Similarly, a stack access will not hit a cacheline that contains heap data. We propose to exploit software semantics in cache design to avoid unnecessary associative searches, thus reducing dynamic power consumption. Specifically, we utilize virtual memory region properties to optimize the data cache and ring level information to optimize the instruction cache. Our design does not impact performance, and incurs very small hardware cost. Simulations results using SPEC CPU and SPECjapps indicate that the proposed designs help to reduce cache block fetches from DL1 and IL1 by 27% and 57% respectively, resulting in average savings of 15% of DL1 power and more than 30% of IL1 power compared to an aggressively clock-gated baseline.

Original languageEnglish
Title of host publicationISLPED'12 - Proceedings of the International Symposium on Low Power Electronics and Design
Pages391-396
Number of pages6
DOIs
StatePublished - 2012
Event2012 ACM/IEEE International Symposium on Low Power Electronics and Design, ISLPED'12 - Redondo Beach, CA, United States
Duration: 30 Jul 20121 Aug 2012

Publication series

NameProceedings of the International Symposium on Low Power Electronics and Design
ISSN (Print)1533-4678

Conference

Conference2012 ACM/IEEE International Symposium on Low Power Electronics and Design, ISLPED'12
Country/TerritoryUnited States
CityRedondo Beach, CA
Period30/07/121/08/12

Keywords

  • first-level cache
  • ring level
  • simulation
  • virtual memory

Fingerprint

Dive into the research topics of 'Reducing L1 caches power by exploiting software semantics'. Together they form a unique fingerprint.

Cite this