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

Sentinel: Runtime Data Management on Heterogeneous Main MemorySystems for Deep Learning

Jie Ren, Jiaolin Luo, Kai Wu, Minjia Zhang, Dong LiarXiv 2019

Introduction

As deep learning (DL) models continue to scale in complexity and parameter count, their memory requirements often outpace the capacity of traditional, expensive DRAM. To mitigate costs, data centers are increasingly adopting Heterogeneous Main Memory (HM) systems. These systems combine a small tier of fast, expensive memory (e.g., DRAM) with a larger tier of slower, more affordable memory (e.g., Non-Volatile Memory or SSDs). However, effectively managing data across these tiers remains a significant challenge for existing operating systems.

The Challenge: Page-Level False Sharing

Traditional Operating Systems (OS) manage memory using fixed-size "pages," typically 4KB. In contrast, Deep Neural Networks (DNNs) operate on "tensors" or data objects that vary significantly in size and access frequency. This discrepancy creates a "semantic gap" leading to page-level false sharing.

Comparison of total page size vs. total data object size across access frequencies, highlighting the inefficiency of page-level management.

When a single 4KB page contains both "hot" (frequently accessed) and "cold" (infrequently accessed) objects, the OS faces a dilemma. Moving the page to slow memory degrades the performance of the hot object, while keeping it in fast memory wastes space on the cold objects. As shown in the figure above, the total page size required to house objects often far exceeds the actual size of the data objects themselves, especially for frequently accessed data.

Sentinel System Architecture

Sentinel is a runtime system designed to bridge this semantic gap by shifting from a "page-centric" to a "data object-centric" management approach. It leverages the inherent repetitiveness and predictable structure of DNN training to optimize data placement.

The Sentinel architecture, illustrating the workflow from dynamic profiling to data organization and migration.

The system architecture consists of three primary components:

  1. Dynamic Profiling & Reorganization: During the initial steps of training, Sentinel profiles the access patterns and lifetimes of every tensor. It then re-packs these objects so that tensors with similar access frequencies share the same pages, effectively eliminating false sharing.
  2. Adaptive Migration: Sentinel utilizes the DNN's layer topology to define "migration intervals." Instead of relying on arbitrary timers, it proactively prefetches data for upcoming layers from slow to fast memory while the CPU processes the current layer.
  3. Short-Lived Object Management: Many DNN objects exist only briefly within a single layer. Sentinel identifies these "short-lived" objects and maintains them in a dedicated fast-memory pool, preventing unnecessary and bandwidth-heavy migrations to slow memory.

Evaluation and Results

The researchers evaluated Sentinel across five diverse DNN models, including ResNet (v1-32 and v2-152), LSTM, DCGAN, and MobileNet, using standard datasets like CIFAR-10, Penn Treebank, and MNIST.

Key results include:

  • Near-Native Speed: Sentinel achieves performance within 0% to 8% of a system using 100% DRAM, despite having significantly less fast memory capacity.
  • Memory Efficiency: The system allows for an 80% reduction in required fast memory. By intelligently managing data objects, Sentinel maintains peak performance with only enough fast memory to hold approximately 20% of the model's peak consumption.
  • Superiority over SOTA: Sentinel consistently outperformed the state-of-the-art "Improved Active List" (IAL) solution by an average of 18%, and up to 37% in specific cases.

Conclusion

Sentinel demonstrates that by exploiting the specific characteristics of deep learning workloads—such as predictable layer-wise execution and repetitive access patterns—it is possible to significantly reduce the cost of high-performance memory systems. By bridging the semantic gap between the application and the OS, Sentinel provides a path toward more efficient and scalable deep learning infrastructure. While current implementations require minor manual annotations, future work aims to automate this process through compiler-level analysis and extend the logic to GPU-based heterogeneous memory environments.

Summary updated

BibTeX
@misc{ren2019sentinel,
  author = {Jie Ren and Jiaolin Luo and Kai Wu and Minjia Zhang and Dong Li},
  title = {{Sentinel: Runtime Data Management on Heterogeneous Main MemorySystems for Deep Learning}},
  year = {2019},
  eprint = {1909.05182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.05182},
}
Figure