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

HybridTier: an Adaptive and Lightweight CXL-Memory Tiering System

Kevin Song, Jiacheng Yang, Zixuan Wang, Jishen Zhao, Sihang Liu, Gennady Pekhimenko · DOI

TL;DR

HybridTier is a lightweight, application-transparent memory tiering system designed for systems utilizing Compute Express Link (CXL) memory expansion. By simultaneously tracking long-term data access frequency and short-term access momentum using probabilistic data structures, it adapts to shifting data workloads up to 3.2× faster than prior systems. This approach delivers significant performance gains while reducing metadata memory overhead by up to 7.8× and cache misses by up to 3.5×.

What Problem Does This Paper Address?

Modern data center applications demand massive memory capacities. While adding traditional DRAM is expensive and physically limited by server space, Compute Express Link (CXL) allows servers to connect to cheaper, high-capacity external memory pools. However, CXL memory comes with a catch: it suffers from higher latency and lower bandwidth compared to local DRAM.

Figure 1. Illustration for CXL-attached memory expansion. Performance numbers obtained from [48, 77].

To maintain high performance, systems must use memory tiering—automatically moving "hot" (frequently accessed) data to fast local DRAM and "cold" data to the slower CXL tier. The authors identify two major flaws in existing tiering systems:

  1. Slow Adaptation to Shifting Workloads: Real-world data hotness changes rapidly. Frequency-based systems use lagging indicators that take too long to recognize when hot data turns cold, while recency-based systems easily misclassify cold pages as hot, polluting the fast DRAM tier.
  2. High Metadata Overhead: Tracking access statistics for billions of memory pages consumes gigabytes of DRAM and causes severe CPU cache contention, inadvertently slowing down the very applications they are trying to optimize.
Figure 2. Data hotness distribution changes rapidly. The Y-axis is the fraction of pages that were hot at time 0 and remained hot over a certain time (X-axis). In both workloads, most pages are no longer hot after just 5 minutes.

Methods

To solve these challenges, the authors introduce HybridTier, a transparent userspace runtime system that requires no application modifications or kernel patches. Its architecture relies on three core innovations:

  • Dual-Metric Tracking (Frequency + Momentum): HybridTier maintains two separate metrics per page. Access frequency tracks long-term historical hotness (over minutes to hours) using an Exponential Moving Average (EMA) with a long cooling period. Access momentum monitors short-term intensity (within seconds) using a short cooling period. This allows the system to instantly catch newly hot pages and swiftly demote pages that have gone cold.
  • Probabilistic Tracking via Counting Bloom Filters (CBF): Instead of using massive, exact hash tables to track page counts, HybridTier uses space-efficient CBFs. It caps counters at 4 bits (maximum value of 15), operating on the principle that pages accessed more than 15 times are definitively hot and do not need exact differentiation.
  • Cache-Locality Optimization (Blocked CBF): Standard bloom filters require multiple random memory lookups, causing CPU cache misses. HybridTier uses a Blocked CBF approach, ensuring that all hash functions for a given page map to the exact same 64-byte CPU cache line. Consequently, updating metadata requires at most a single cache miss.

Datasets

The authors evaluated HybridTier across a diverse suite of large-memory, real-world workloads:

  • CacheLib: Meta’s in-memory caching engine, evaluating both Content Delivery Network (CDN) and Social-graph popularity distributions.
  • GAP Benchmark Suite: Graph processing workloads including Breadth-First Search (BFS), Connected Components (CC), and Page Rank (PR) using Kronecker and Uniform Random graphs.
  • SPEC CPU 2017: Memory-intensive benchmarks 603.bwaves and 654.roms.
  • Silo: A high-throughput in-memory database engine running the YCSB-C workload.
  • XGBoost: Machine learning training using the Criteo Click Logs dataset.

Key Insights and Ideas

  • Exactness is Overrated: A key "aha" moment is that memory tiering systems do not need perfect tracking accuracy. Missing an access count by 1 or 2 for a page doesn't change whether it belongs in the fast or slow tier. Trading a tiny fraction of accuracy for massive memory savings yields a net performance win.
  • Metadata Updates are a Hidden Killer: Prior hardware-counter-based systems overlooked the cache pollution caused by managing metadata. HybridTier proves that optimizing the spatial locality of tracking structures is just as vital as the migration policy itself.

Key Results

HybridTier was compared against state-of-the-art baselines like AutoNUMA, TPP, and Memtis:

  • Performance Speedups: HybridTier outperformed prior systems by up to 91% (19% geomean across all workloads). It was particularly effective in dynamic workloads like BFS, where hot spots shift rapidly.
  • Rapid Adaptation: As shown below, when a workload's data distribution suddenly shifts, HybridTier reaches a steady state 3.2× faster than frequency-based alternatives like Memtis.
Figure 4. Tiering systems adapting to hotness distribution change for CacheLib workload. Vertical line indicates when the change in distribution occurs. Lower is better.
  • Resource Efficiency: HybridTier reduced metadata memory overhead by 2.0× to 7.8× and generated 1.7× to 3.5× fewer cache misses due to its compact, cache-line-aligned Blocked CBF design.

Limitations and Future Work

  • Emulated Hardware: Due to limited commercial availability during the study, the authors emulated CXL memory using a two-socket NUMA setup. Testing on physical CXL 2.0/3.0 hardware remains an important next step.
  • One-Time Scan Vulnerability: Sequential data scans (like a database table scan) could momentarily trick the momentum tracker into misclassifying cold data as hot. While users can manually tune the momentum threshold to mitigate this, automating this threshold adjustment is left for future work.

Summary updated

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