Skip to main content
QUICK REVIEW

[Paper Review] Lessons learned from the early performance evaluation of Intel Optane DC Persistent Memory in DBMS

Yinjun Wu, Kwanghyun Park|arXiv (Cornell University)|May 15, 2020
Advanced Data Storage TechnologiesComputer Science21 references5 citations
TL;DR

This paper evaluates Intel Optane DC Persistent Memory (PMem) in Microsoft SQL Server 2019, assessing its performance as buffer pool or persistent storage under OLTP (TPC-C) and OLAP (TPC-H) workloads. It reveals that simply replacing DRAM with PMem in Memory Mode harms performance due to write inefficiencies, and that effective use requires intelligent page placement policies and workload-aware tuning, not just hardware swaps.

ABSTRACT

Non-volatile memory (NVM) is an emerging technology, which has the persistence characteristics of large capacity storage devices(e.g., HDDs and SSDs), while providing the low access latency and byte-addressablity of traditional DRAM memory. This unique combination of features open up several new design considerations when building database management systems (DBMSs), such as replacing DRAM (as the main working space memory) or block devices (as the persistent storage), or complementing both at the same time for several DBMS components (such as access methods,storage engine, buffer management, logging/recovery, etc). However, interacting with NVM requires changes to application software to best use the device (e.g. mmap and clflush of small cache lines instead of write and fsync of large page buffers). Before introducing (potentially major) code changes to the DBMS for NVM, developers need a clear understanding of NVM performance in various conditions to help make better design choices. In this paper, we provide extensive performance evaluations conducted with a recently released NVM device, Intel Optane DC Persistent Memory (PMem), under different configurations with several micro-benchmark tools. Further, we evaluate OLTP and OLAP database workloads (i.e., TPC-C and TPC-H) with Microsoft SQL Server 2019 when using the NVM device as an in-memory buffer pool or persistent storage. From the lessons learned we share some recommendations for future DBMS design with PMem, e.g.simple hardware or software changes are not enough for the best use of PMem in DBMSs.

Motivation & Objective

  • To evaluate Intel Optane DC Persistent Memory (PMem) performance in real DBMS workloads under various configurations.
  • To identify critical performance bottlenecks and design trade-offs when integrating PMem into database management systems (DBMSs).
  • To provide actionable recommendations for buffer management and storage engine design in PMem-aware DBMSs.
  • To assess the impact of PMem on both write-intensive (TPC-C) and read-intensive (TPC-H) OLTP and OLAP workloads.
  • To highlight that simple hardware or software changes are insufficient for optimal PMem utilization in DBMSs.

Proposed method

  • Conducted micro-benchmarks on PMem with varying I/O request sizes, degrees of parallelism, and access patterns.
  • Evaluated PMem in three configurations: as a DRAM replacement in Memory Mode, as a DAX device for direct access, and as a file I/O-backed persistent storage.
  • Measured performance on production-grade Microsoft SQL Server 2019 using TPC-C (OLTP) and TPC-H (OLAP) workloads.
  • Monitored memory usage and I/O behavior to analyze hot page caching and tempdb spilling effects.
  • Analyzed write performance degradation in PMem Memory Mode due to high write frequency from intermediate query results.
  • Proposed and evaluated a PMem-enlightened buffer placement policy to prioritize hot pages in DRAM and reduce PMem write pressure.

Experimental results

Research questions

  • RQ1How does PMem performance vary with I/O request size and degree of parallelism in micro-benchmarks?
  • RQ2What are the performance implications of using PMem as a DRAM replacement (Memory Mode) in OLTP and OLAP workloads?
  • RQ3How does PMem compare to SSD when used as persistent storage for database files in terms of query execution time?
  • RQ4What role does intermediate result spilling to tempdb play in degrading PMem performance under write-intensive workloads?
  • RQ5What buffer management policies are necessary to avoid performance degradation when extending DRAM buffer pools with PMem?

Key findings

  • PMem in Memory Mode significantly degrades performance for both OLTP and OLAP workloads due to high write latency, even though it offers high read bandwidth.
  • For TPC-H (read-intensive), query execution times on PMem Memory Mode were ~60 seconds for SF=100—much slower than with DRAM—due to write-heavy tempdb operations.
  • With SF=100, PMem File I/O and SSD used up to 150GB of DRAM buffer pool, while PMem DAX used only ~20GB, indicating poor cache utilization and higher I/O overhead.
  • The performance difference between PMem DAX and File I/O is minimal for 8KB pages, suggesting that page size and access mode have limited impact on read-heavy workloads.
  • OLTP workloads (TPC-C) show no significant performance difference between PMem and SSD, but write bandwidth on PMem drops under saturation, unlike SSD.
  • Simple hardware replacements (e.g., DRAM → PMem) or software extensions without intelligent page placement lead to suboptimal performance, highlighting the need for PMem-aware buffer policies.

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.