Skip to main content
QUICK REVIEW

[Paper Review] An Empirical Guide to the Behavior and Use of Scalable Persistent Memory

Jian Yang, Juno Kim|arXiv (Cornell University)|Aug 9, 2019
Parallel Computing and Optimization TechniquesComputer Science56 references30 citations
TL;DR

This paper provides empirical performance characterization of Intel's 3D XPoint NVDIMMs, revealing that their behavior departs significantly from DRAM and prior emulation methods. It establishes actionable programming guidelines—such as avoiding fine-grained writes and managing concurrency—based on microbenchmarks, demonstrating that these practices improve performance in real-world applications and invalidate assumptions from prior research using inaccurate emulations.

ABSTRACT

After nearly a decade of anticipation, scalable nonvolatile memory DIMMs are finally commercially available with the release of Intel's 3D XPoint DIMM. This new nonvolatile DIMM supports byte-granularity accesses with access times on the order of DRAM, while also providing data storage that survives power outages. Researchers have not idly waited for real nonvolatile DIMMs (NVDIMMs) to arrive. Over the past decade, they have written a slew of papers proposing new programming models, file systems, libraries, and applications built to exploit the performance and flexibility that NVDIMMs promised to deliver. Those papers drew conclusions and made design decisions without detailed knowledge of how real NVDIMMs would behave or how industry would integrate them into computer architectures. Now that 3D XPoint NVDIMMs are actually here, we can provide detailed performance numbers, concrete guidance for programmers on these systems, reevaluate prior art for performance, and reoptimize persistent memory software for the real 3D XPoint DIMM. In this paper, we explore the performance properties and characteristics of Intel's new 3D XPoint DIMM at the micro and macro level. First, we investigate the basic characteristics of the device, taking special note of the particular ways in which its performance is peculiar relative to traditional DRAM or other past methods used to emulate NVM. From these observations, we recommend a set of best practices to maximize the performance of the device. With our improved understanding, we then explore the performance of prior art in application-level software for persistent memory, taking note of where their performance was influenced by our guidelines.

Motivation & Objective

  • To empirically evaluate the real performance characteristics of Intel’s 3D XPoint NVDIMMs, which are commercially available after a decade of anticipation.
  • To identify and correct misconceptions in prior research that relied on inaccurate emulations of persistent memory behavior.
  • To provide concrete, data-driven programming guidelines for maximizing performance on real 3D XPoint hardware.
  • To reevaluate and re-optimize existing NVMM-aware software using real hardware measurements instead of simulated or emulated behavior.
  • To offer a framework for understanding future persistent memory technologies by identifying architectural performance pathologies present in 3D XPoint.

Proposed method

  • Conducted extensive microbenchmarking on a real 3D XPoint system to measure latency, bandwidth, and concurrency effects across varying access sizes and patterns.
  • Used application-level benchmarks to evaluate the impact of proposed guidelines on real software stacks, including file systems and data structures.
  • Compared real 3D XPoint performance against common emulation techniques (e.g., software emulation, NUMA-based emulation, and pretending DRAM is persistent) to expose their inaccuracies.
  • Analyzed the role of hardware components such as the iMC’s write-back queue (WPQ), XPBuffer, and memory interleaving in shaping performance behavior.
  • Formulated best practices based on microbenchmark results, including write granularity, thread concurrency, and instruction selection (e.g., non-temporal stores).
  • Applied guidelines to optimize existing software systems (e.g., file systems and data structures) and re-analyzed prior results to show performance discrepancies due to flawed assumptions.

Experimental results

Research questions

  • RQ1How do the actual performance characteristics of 3D XPoint NVDIMMs differ from those of DRAM and from prior research assumptions?
  • RQ2Why are common emulation techniques (e.g., software emulation, NUMA effects, or pretending DRAM is persistent) inadequate for predicting real 3D XPoint behavior?
  • RQ3What are the key architectural factors—such as write buffering, interleaving, and concurrency—that significantly affect 3D XPoint performance?
  • RQ4How can programmers optimize their code to avoid performance pitfalls on 3D XPoint, and what measurable performance improvements result from applying these guidelines?
  • RQ5To what extent do the proposed guidelines generalize to future persistent memory technologies?

Key findings

  • 3D XPoint NVDIMMs exhibit performance that is highly sensitive to access size, access pattern, and concurrency—factors that are far more impactful than in DRAM.
  • The 256 B internal write granularity of 3D XPoint leads to significant performance degradation when using smaller, non-aligned writes, making alignment and coalescing critical.
  • Concurrent writes from multiple cores can cause substantial performance degradation due to contention in the iMC’s write-back queue (WPQ) and XPBuffer, suggesting that minimizing concurrent threads improves performance.
  • Existing emulation techniques—including software emulation, NUMA-based emulation, and assuming DRAM is persistent—produce misleading performance results and cannot be trusted to predict real hardware behavior.
  • Applying the proposed guidelines (e.g., using non-temporal stores for large transfers and avoiding fine-grained writes) led to measurable performance improvements in optimized software systems, validating the practical utility of the recommendations.
  • The guidelines remain relevant for future persistent memory technologies, as they address fundamental architectural pathologies such as buffering, interleaving, and instruction-level effects that may persist across different NVM technologies.

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.