Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hybrid Adaptive Tuning for Tiered Memory Systems

Published 14 Apr 2026 in cs.OS | (2604.12165v1)

Abstract: Memory tiering provides a cost-effective solution to increase memory capacity, utilization, and even bandwidth. Memory tiering relies on system software for memory profiling, detection of frequently accessed pages, and page migration. Such a system software often comes with system parameters. The configurations of those parameters impact application performance. We comprehensively classify system parameters, and characterize the sensitivity of application performance to them using representative memory tiering solutions. Furthermore, we introduce a lightweight and user-friendly framework PTMT, which automates tuning of parameters at runtime for various memory tiering solutions. We identify major challenges for online tuning of memory tiering. PTMT uses a hybrid "offline + online" tuning method: while the offline phase builds a performance database for online queries and reduces runtime overhead, the online phase uses reinforcement learning (customized to memory tiering) to tune. PTMT improves performance by 30%, 26%, 21%, and 14%, on four memory tiering solutions (TPP, UPM, Colloid, and AutoNUMA), compared to using the default configurations. PTMT outperforms the state-of-the-art by 32% on average.

Summary

  • The paper introduces PTMT, a framework that combines offline performance clustering with online RL to adaptively tune parameters in tiered memory systems.
  • It employs k-means clustering with feature-weighted K-NN indexing and a pre-trained RL agent using PPO to adjust configurations based on workload states.
  • Experimental evaluations show performance improvements up to 32% over static configurations and conventional RL methods, highlighting the benefits of application-specific tuning.

Hybrid Adaptive Tuning for Tiered Memory Systems: Technical Analysis

Motivation and Problem Definition

Increasing memory capacity and optimizing memory utilization remain central challenges in systems architecture, especially with heterogeneous memory technologies (e.g., DRAM+NVM, CXL-attached devices). Memory tiering addresses these concerns by integrating multiple memory types into a unified address space, typically presenting as NUMA nodes. However, memory tiering system software relies on multiple tunable parameters—controlling memory profiling, hotness detection, and migration policies—that dramatically influence application performance. The default or static configuration of these parameters fails to account for dynamic workload behaviors and heterogeneous memory access patterns, leading to significant suboptimality.

The paper identifies core barriers to effective, automated parameter tuning for memory tiering: large and non-stationary workload state spaces, tuning convergence latency, the stateful dependence of memory tiering, and the necessity for low runtime overhead. Existing approaches—including rule-based, heuristic, and ML-driven techniques—show fundamental limitations: inflexible to large parameter spaces, difficult to generalize across diverse workloads, and frequently restricted to kernel modifications or single-solution scope.

PTMT: Hybrid Adaptive Parameter Tuning Framework

Addressing these challenges, the authors propose PTMT, a Parameter Tuning framework for Memory Tiering that operates entirely in user space, requiring no changes to either applications or the OS, and supports arbitrary tiered memory solutions. The framework introduces a hybrid strategy combining offline and online phases:

  • Offline phase: PTMT builds a performance database by sampling workload states (WS) under diverse parameter configurations, associating these with post-application performance. Clustering is performed over WS representations using k-means, with feature-weighted K-NN indexing within clusters for efficient similarity search. This enables rapid nearest-match queries at runtime.
  • Online phase: At each profiling interval, the current WS is used for a nearest-centroid match. If within a cluster, K-NN identifies similar historical WS to recommend parameter settings. For WS outliers (i.e., points far from cluster centroids), an RL agent (pre-trained using behavioral cloning on the performance database) is invoked to select configurations, thereby ensuring adaptability in previously unseen states.

Workload states are modeled as vectors incorporating key metrics: L2 and L3 cache hit rates, normalized slow memory read/write traffic, and total read rates—each feature's importance quantified via decision tree regression to guide K-NN distance weighting.

The RL agent leverages Proximal Policy Optimization (PPO) and operates over a state space defined similarly to WS, with actions corresponding to tuples of tunable parameters. Pre-training RL with behavioral cloning—using optimal WS-parameter tuples from historical data—substantially accelerates convergence and mitigates the need for costly online exploration.

Experimental Evaluation and Numerical Results

PTMT was evaluated against four established memory tiering solutions: AutoNUMA, Colloid, TPP, and UPM, using a suite of memory-intensive benchmarks (NPB, Graph500, Liblinear, Silo), and compared to default static configurations, NoBalance (static placement), and IDT (an RL-based state-of-the-art parameter tuner).

Key numerical findings:

  • Performance Improvement over Default: PTMT achieves average improvements of 30% (TPP), 26% (Colloid), 21% (UPM), and 14% (AutoNUMA) for heterogeneous online workload scenarios, with a 32% average uplift over IDT (2604.12165).
  • Tuning Sensitivity: Critical parameters show up to 17% improvement in performance when tuned, with clear heterogeneity in optimal values across workloads.
  • Application-specific RL: Application-specific pre-training for RL yields a 20% gain and 11× reduction in training cost compared to general benchmarking.
  • Co-running workloads: PTMT enhances system throughput (STP) by up to 18% and reduces normalized turnaround time (ANTT) by 18% over baselines.
  • Overhead: Online overhead is minimal (<1%), with memory for model data in the sub-MB range, and parameter adjustments handled asynchronously in user space.

A notably bold claim is that “application-specific RL significantly outperforms general RL and static tuning,” empirically evidenced by a 29–56% performance advantage over general IDT RL across tiering solutions. This explicitly contradicts approaches that rely on a universal tuning model, reinforcing the necessity for per-application specialization in high-performance tiered environments.

Implications and Future Directions

The practical advances in PTMT lie in its full decoupling from kernel modifications and its adaptability to arbitrary tiered memory systems and application domains. The hybrid approach—offline statistical modeling augmented with pre-trained RL online tuning—presents a scalable and production-feasible workflow for deploying adaptive memory tiering. Importantly, by supporting application-specific tuning and providing mechanisms for co-scheduled workloads, PTMT is well-aligned with both HPC and AI-centric cloud SaaS deployment models, which often rely on narrow sets of production workloads and expect non-invasive optimizations.

On a theoretical plane, PTMT demonstrates that the stateful, dynamic nature of tiered memory makes classical invariant or universally-trained parameter tuning models insufficient. The offline+online learning paradigm, with domain- and phase-specific clustering, is a generalizable architecture for other systems domains where workload states are high-dimensional and non-stationary.

Future research directions suggested by PTMT’s results include:

  • Extending PTMT-like frameworks to tiered storage and network resources, integrating cross-layer adaptive policies.
  • Exploring transfer learning and meta-learning across classes of workloads to further reduce training cost and enable cross-application generality within domains.
  • Incorporating finer-grained or more predictive workload modeling (e.g., sequence models for WS evolution) to anticipate inflection points in memory access patterns and enable even more rapid adaptation.
  • Investigating hardware-assisted telemetry and parameter setting interfaces to reduce the latency and granularity ceiling of online tuning.

Conclusion

Hybrid Adaptive Tuning for Tiered Memory Systems introduces PTMT, a comprehensive, lightweight, and robust parameter-tuning framework for heterogeneous memory environments. By combining clustering over performance databases with application-specific RL, PTMT systematically removes core obstacles to practical, automated, online tuning in memory tiering. It establishes clear numerical superiority over static and general RL-based approaches, mandates the need for high specificity in adaptive systems software, and sets a new baseline for production-ready, user-space, and highly adaptive optimization of tiered memory deployments.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.