Using Data Compression to Increase Energy Savings in Multi-bank Memories

Mahmut T. Kandemir, Ozcan Ozturk, Mary Jane Irwin, Ibrahim KolcuEuro-Par 2004

Introduction

In portable and battery-operated devices, main memory is a significant source of power consumption. Modern hardware addresses this using multi-bank memory architectures, where memory is divided into independent banks that can be transitioned into low-power states like "napping" or "power-down" when idle. However, traditional approaches focus on uncompressed data, which often spreads across more banks than necessary, keeping them active and consuming power. This paper proposes using data compression as a strategic tool to pack information into fewer memory banks, thereby maximizing the number of banks in deep-sleep modes.

Design Space and Methodology

The researchers explored a multi-dimensional design space for managing compressed data within memory banks. The core strategy involves partitioning memory into groups for compressed and uncompressed data. Four key design decisions were evaluated to determine the most efficient integration of compression into the memory cycle:

  1. Space Division: Determining if the number of banks for compressed data is fixed (Static) or adjusts based on the "miscompression rate" (Dynamic).
  2. Compression Granularity: Compressing data in Fixed blocks (e.g., 2KB) versus Variable sizes.
  3. Rewriting Strategy: Deciding whether new data is written Uncompressed or if the compiler Dynamically chooses based on predicted reuse.
  4. Decompression Strategy: Implementing decompression On-demand or via Pre-decompression in the background.
Table of evaluated compression and management methods.

To minimize performance overhead, the system utilizes a hardware-based "adaptive next-mode prediction" scheme and compiler-driven analysis to schedule pre-decompressions during idle cycles.

Experimental Evaluation

The proposed methods were tested using five parallel, array-based embedded benchmarks: Atr (network address translation), SP (shortest path), Encr (digital signature), Wood (surface inspection), and Usonic (feature estimation). Simulations were conducted using a custom memory energy simulator built on the SimpleScalar and SUIF compiler frameworks.

Results and Analysis

The results indicate that integrating compression into memory management yields substantial energy benefits. Even basic strategies provide significant improvements, but dynamic approaches prove most effective at adapting to a program's changing memory footprint.

Energy consumption across different benchmarks and methods.

Key findings include:

  • Significant Energy Savings: Method 1 (static) achieved an average energy improvement of 29.78%. The more advanced Method 9, which utilizes dynamic space division, reached an average saving of 36.66% compared to systems using low-power modes without compression.
  • The Dynamic Advantage: Because the volume of infrequently used ("cold") data fluctuates during program execution, dynamic strategies that adjust bank partitioning on the fly outperform static allocations.
  • Power Trade-offs: Although compression and decompression incur energy and cycle costs, these are far outweighed by the savings from putting memory banks into power-down modes, which consume approximately 700x less power than the active state.

Conclusion and Future Work

This research demonstrates that data compression is a powerful mechanism for increasing hardware idleness and reducing energy consumption in multi-bank memories. While highly effective for the array-centric applications common in embedded systems, future research is needed to explore performance on pointer-heavy data structures and in multi-programmed environments where multiple applications compete for memory resources.

Summary updated

BibTeX
@inproceedings{kandemir2004using,
  author = {Mahmut T. Kandemir and Ozcan Ozturk and Mary Jane Irwin and Ibrahim Kolcu},
  title = {{Using Data Compression to Increase Energy Savings in Multi-bank Memories}},
  booktitle = {Euro-Par},
  year = {2004},
  doi = {10.1007/978-3-540-27866-5\_40},
}
Figure