NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Page Classifier and Placer: A Scheme of Managing Hybrid Caches

Xin Yu, Xuanhua Shi, Hai Jin, Xiaofei Liao, Song Wu, Xiaoming LiNPC 2014

Introduction

Modern processors face a persistent "memory wall"—the performance gap between the CPU and main memory. While Static Random-Access Memory (SRAM) has traditionally been used for on-chip caches due to its speed, it is physically bulky and power-intensive. Emerging technologies like embedded DRAM (eDRAM) offer much higher density but introduce trade-offs in access latency. Hybrid Cache Architectures (HCAs) attempt to combine these technologies, but existing hardware-only management often fails to account for software-level data structures and global access patterns.

The Page Classifier and Placer

The authors propose a hardware-software co-design to optimize data placement in hybrid caches. The system consists of two primary components:

  1. Hardware Page Classifier: A lightweight module in the L2 cache that identifies "hot" (frequently accessed) pages. It uses a sampling mechanism and a "Mature/Nursery" counter system to track access frequency at the granularity of OS pages.
  2. OS Page Placer: An operating system component that utilizes Page Coloring to dictate data placement. By controlling specific bits in the physical address, the OS can map "hot" pages to the fast SRAM region and "cold" pages to the dense eDRAM region.
Mapping between L2 cache address and physical memory address, showing the use of color bits for cache region control.

The system employs advanced migration policies like PINOUT, which not only moves hot data into fast regions but also proactively migrates "cooling" data out to maintain capacity for new incoming hot pages. For multi-core environments, the PINTD policy uses a miss-rate threshold to prevent "cache jitter" where cores compete destructively for the limited fast region.

Evaluation and Results

The researchers evaluated the scheme using the SPEC CPU 2006 benchmark suite on the Zesto cycle-level simulator, testing 21 different workloads including perlbench, gcc, and mcf.

Normalized IPC performance of the proposed hybrid cache management (HCACM) compared to a baseline hybrid architecture (HCA) across various benchmarks.

Key results include:

  • Performance Gains: The scheme achieved a 7.8% performance boost on dual-core systems compared to traditional SRAM-only caches.
  • Management Efficiency: The PINOUT policy improved performance by 4.2% over standard hybrid cache management in single-core workloads.
  • Area Savings: The use of dense eDRAM allowed for larger cache capacities in a smaller physical area while still outperforming pure-SRAM baselines.
  • Accuracy: The hardware classifier successfully identified hot pages that accounted for over 80% of total L2 accesses in more than half of the tested benchmarks.

Discussion and Future Work

By bringing the OS into the cache management process, the system makes more intelligent placement decisions based on global application behavior rather than local cache-set patterns. However, challenges remain, including the performance overhead of page migrations and the fixed 4KB granularity of current OS pages. Future research could explore finer-grained placement or more complex arbitration strategies for high-core-count processors where competition for fast cache regions is more intense.

Summary updated

BibTeX
@inproceedings{yu2014page,
  author = {Xin Yu and Xuanhua Shi and Hai Jin and Xiaofei Liao and Song Wu and Xiaoming Li},
  title = {{Page Classifier and Placer: A Scheme of Managing Hybrid Caches}},
  booktitle = {NPC},
  year = {2014},
  doi = {10.1007/978-3-662-44917-2\_2},
}
Figure