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

HybridTier: an Adaptive and Lightweight CXL-Memory Tiering System

Kevin Song, Jiacheng Yang, Sihang Liu, Gennady Pekhimenko, Liu, Sihang, Pekhimenko, Gennady

TL;DR

Modern applications demand ever-increasing memory capacity, leading to the rise of CXL-attached memory as a cost-effective solution. HybridTier introduces a novel memory tiering system that efficiently manages this tiered memory by adaptively tracking data hotness using both long-term frequency and short-term momentum, significantly outperforming existing methods while minimizing overhead.

What Problem Does This Paper Address?

As applications grow and data volumes explode, the need for larger memory capacities becomes critical. While traditional DRAM is fast but expensive and limited in capacity, Compute Express Link (CXL)-attached memory offers a more affordable and scalable solution. However, CXL memory is slower than local DRAM. Memory tiering systems aim to bridge this gap by intelligently placing frequently accessed "hot" data in fast DRAM and less frequently accessed "cold" data in slower CXL memory.

Existing tiering systems face two main challenges:

  1. Dynamic Data Hotness: Workloads exhibit constantly shifting patterns of data access. Some data that is hot now might be cold in minutes, and vice-versa. Existing systems struggle to adapt quickly to these changes.
  2. Overhead: Tracking data access patterns to make tiering decisions can incur significant memory and CPU cache overhead, potentially negating the performance benefits of tiering.

HybridTier aims to solve these problems by providing an adaptive and lightweight tiering system that accurately captures dynamic data hotness while minimizing overhead.

Methods

HybridTier introduces a novel approach to memory tiering by employing two key innovations:

  • Dual-Metric Tracking (Frequency & Momentum): Instead of relying on a single metric, HybridTier tracks two distinct aspects of data access for each memory page:
  • Frequency: Captures long-term access history (minutes to hours).
  • Momentum: Captures short-term access intensity (seconds). This dual approach allows HybridTier to quickly identify pages that have recently become hot (momentum) while still considering their historical importance (frequency).

  • Probabilistic Data Structures (Counting Bloom Filters - CBFs): To combat the high memory overhead of traditional tiering systems, HybridTier uses Counting Bloom Filters (CBFs). CBFs are probabilistic data structures that trade a small amount of tracking inaccuracy for significantly reduced memory footprint.

  • 4-bit Counters: Each counter in the CBF is limited to 4 bits, capping the count at 15. The authors argue that pages with access counts above 15 are definitively "hot" and don't need finer differentiation.
  • Blocked CBF: To further reduce cache overhead, HybridTier uses a "blocked" CBF design. This ensures that all counters associated with a page reside within the same cache line, minimizing cache misses during access updates.

These techniques enable a flexible promotion/demotion policy: pages with high frequency or high momentum are promoted, while pages with low frequency and low momentum are demoted. Pages with high momentum but low frequency are given a "second chance" to avoid premature demotion.

Datasets

The paper evaluates HybridTier on a variety of real-world and synthetic workloads:

  • CacheLib: Two workloads from Meta's CacheLib: Content-Delivery Network (CDN) and Social-graph.
  • GAP Benchmark Suite: Three kernels (Breadth-First Search (BFS), Connected Components (CC), Page Rank (PR)) on two graph types: Kronecker graph and Uniform random graph.
  • SPEC CPU 2017: Two benchmarks (603.bwaves, 654.roms) scaled to large memory footprints.
  • Silo: An in-memory database engine using YCSB-C input.
  • XGBoost: A machine learning training workload using Criteo Click Logs.

The paper does not introduce new benchmarks but uses established ones to evaluate its tiering system.

Key Insights and Ideas

  • Dynamic Hotness is Key: The paper strongly emphasizes that real-world workloads exhibit rapidly changing data hotness, making static or slow-adapting tiering policies suboptimal.
  • Frequency Alone is Insufficient: While frequency-based tiering can capture long-term trends, it's too slow to react to sudden spikes in data access (momentum).
  • Recency Alone is Unreliable: Recency-based tiering can react quickly but often misclassifies cold pages as hot, leading to inefficient use of fast memory.
  • Probabilistic Data Structures are Viable: The authors demonstrate that for memory tiering, exactness in access counts isn't strictly necessary. Using CBFs significantly reduces memory overhead without a noticeable performance penalty.
  • Adaptability is a Prerequisite for Performance: The paper argues that accurately capturing hot data (requirement 1) is a prerequisite for achieving high adaptiveness (requirement 2).

Key Results

HybridTier demonstrates significant improvements over state-of-the-art tiering systems:

  • Performance: On average, HybridTier outperforms prior systems (TPP, AutoNUMA, Memtis, ARC, TwoQ) by 19% (geomean). For specific workloads like BFS, speedups reach 33% over the second-best system.
  • Memory Overhead: HybridTier incurs 2.0x to 7.8x less memory overhead compared to Memtis. This reduction scales with the fast-tier memory ratio.
  • Cache Overhead: HybridTier reduces total L1 and LLC cache misses by 1.7x to 3.5x compared to Memtis, significantly reducing contention.
  • Adaptability: HybridTier adapts to new hotness distributions 3.2x faster on average than Memtis.
  • Efficiency: HybridTier often achieves comparable performance with 2x less fast-tier memory than other systems.

Limitations and Future Work

  • Hardware Dependencies: HybridTier relies on specific hardware features like Intel PEBS for event sampling. While it aims for generality, specific hardware support is needed. The current implementation uses NUMA nodes to emulate CXL memory, and real CXL hardware might require minor adjustments.
  • Workload Specific Tuning: While HybridTier performs well across many workloads, the paper notes that the momentum threshold might need manual tuning for specific applications, especially those with one-time access patterns.
  • Future Work: The authors suggest extending HybridTier to support global memory tiering (e.g., for multi-tenant environments) and exploring its integration with disaggregated memory systems. They also mention that the core principles could be implemented in kernel space for potentially higher performance.

Summary updated

BibTeX
@inproceedings{song2023hybridtier,
  author = {Kevin Song and Jiacheng Yang and Sihang Liu and Gennady Pekhimenko and Liu, Sihang and Pekhimenko, Gennady},
  title = {{HybridTier: an Adaptive and Lightweight CXL-Memory Tiering System}},
  booktitle = {ASPLOS},
  year = {2023},
}
Figure