Skip to main content
QUICK REVIEW

[Paper Review] Unimem: Runtime Data Management on Non-Volatile Memory-based Heterogeneous Main Memory

Kai Wu, Yingchao Huang|arXiv (Cornell University)|Apr 29, 2017
Parallel Computing and Optimization TechniquesComputer Science14 references9 citations
TL;DR

Unimem is a software-only, runtime system that automatically manages data placement in non-volatile memory (NVM)-based heterogeneous main memory (HMS) without hardware modifications or application changes. By using online profiling, lightweight performance models, and proactive data movement via helper threads, Unimem reduces the performance gap between NVM-only and DRAM-only systems to within 7% across diverse HPC workloads.

ABSTRACT

Non-volatile memory (NVM) provides a scalable and power-efficient solution to replace DRAM as main memory. However, because of relatively high latency and low bandwidth of NVM, NVM is often paired with DRAM to build a heterogeneous memory system (HMS). As a result, data objects of the application must be carefully placed to NVM and DRAM for best performance. In this paper, we introduce a lightweight runtime solution that automatically and transparently manage data placement on HMS without the requirement of hardware modifications and disruptive change to applications. Leveraging online profiling and performance models, the runtime characterizes memory access patterns associated with data objects, and minimizes unnecessary data movement. Our runtime solution effectively bridges the performance gap between NVM and DRAM. We demonstrate that using NVM to replace the majority of DRAM can be a feasible solution for future HPC systems with the assistance of a software-based data management.

Motivation & Objective

  • Address the performance gap between NVM and DRAM in HPC systems by enabling efficient data placement in heterogeneous memory systems (HMS).
  • Eliminate the need for hardware modifications, OS changes, or programmer involvement in data placement decisions.
  • Minimize performance overhead from data movement while ensuring adaptive, responsive data placement across execution phases.
  • Enable transparent, automatic data management for legacy HPC applications on emerging NVM-based main memory architectures.

Proposed method

  • Employ online profiling using performance counters to characterize memory access patterns and sensitivity of data objects to bandwidth and latency.
  • Develop lightweight performance models to predict the performance benefit and cost of moving data between NVM and DRAM.
  • Formulate data placement decisions as a knapsack problem to maximize benefit while minimizing unnecessary data movement.
  • Implement a proactive data movement mechanism using a helper thread to overlap data migration with application execution, hiding movement overhead.
  • Optimize initial data placement and support fine-grained movement by decomposing large data objects to improve adaptability and reduce cost.
  • Balance local phase-level search and global cross-phase optimization to achieve near-optimal data placement decisions.

Experimental results

Research questions

  • RQ1How can data placement in NVM-DRAM heterogeneous main memory be automatically and transparently managed without hardware or application modifications?
  • RQ2What performance characteristics (bandwidth vs. latency sensitivity) must be captured to make effective data placement decisions?
  • RQ3How can data movement be minimized while maintaining adaptability to changing memory access patterns across execution phases?
  • RQ4What mechanisms can effectively hide the performance cost of data movement in production HPC workloads?
  • RQ5To what extent can software-based data management narrow the performance gap between NVM-only and DRAM-only systems?

Key findings

  • Unimem reduces the performance gap between NVM-only and DRAM-only systems to within 7% across all tested HPC workloads, including CG, MG, and others.
  • For the most challenging configuration (128MB DRAM), Unimem still narrows the performance gap by 35% despite limited DRAM capacity and poor utilization due to large, non-decomposable data objects.
  • The system maintains near-transparent operation with minimal impact on application performance, even under varying DRAM sizes and memory access patterns.
  • Proactive data movement via helper threads successfully hides movement overhead, keeping data migration off the critical path.
  • The combination of online profiling, performance modeling, and knapsack-based optimization enables effective, adaptive data placement with low runtime cost.
  • The approach remains robust across diverse workloads and configurations, demonstrating feasibility for real-world HPC deployment on NVM-based systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.