Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

A Case Study of a DRAM-NVM Hybrid Memory Allocator for Key-Value Stores

Published: 01 July 2022 Publication History

Abstract

As non-volatile memory (NVM) technologies advance, commercial NVDIMM devices have been made readily available for various computing systems. To efficiently utilize the high-density and high-capacity of NVM, the latest Xeon CPUs support a special <italic>Memory Mode</italic>that turns the DRAM into a last-level (L4) cache and uses NVM as the user-addressable system memory. Unfortunately, Memory Mode often provides low performance, even slower than when only NVM is used without any DRAM cache. According to our analysis, this is due to the inefficient management of a DRAM cache by the integrated memory controller, which results in high miss rates. This paper proposes a new hybrid memory allocator, called TARMAC. By employing intelligent yet lightweight memory management policies at the memory allocator level, TARMAC manages two different types of memory devices more efficiently, achieving 37&#x0025; higher cache hit rate, 67&#x0025; higher throughput, and 40&#x0025; shorter memory latency than the hardware-based Memory Mode, on average. TARMAC exposes memory interfaces compatible with traditional memory allocators, enabling existing software to use TARMAC without any manual modification.

References

[1]
Intel, “The challenge of keeping up with data,” 2019. [Online]. Available: https://intel.ly/3ABQiuV
[2]
T. Yaoet al., “MatrixKV: Reducing write stalls and write amplification in LSM-tree based KV stores with matrix container in NVM,” in Proc. Conf. USENIX Annu. Tech. Conf., 2020, pp. 17–31.
[3]
H. Liu, R. Liu, X. Liao, H. Jin, B. He, and Y. Zhang, “Object-level memory allocation and migration in hybrid memory systems,” IEEE Trans. Comput., vol. 69, no. 9, pp. 1401–1413, Sep. 2020.
[4]
Intel, “PMEM-Redis: A version of Redis that uses persistent memory,” 2018. [Online]. Available: https://github.com/pmem/pmem-redis
[5]
V. Young, Z. A. Chishti, and M. K. Qureshi, “TicToc: Enabling bandwidth-efficient DRAM caching for both hits and misses in hybrid memory systems,” in Proc. IEEE 37th Int. Conf. Comput. Des., 2019, pp. 341–349.
[6]
J. Izraelevitzet al., “Basic performance measurements of the Intel Optane DC persistent memory module,” 2019,.
[7]
B. F. Cooper, A. Silberstein, E. Tam, R. Ramakrishnan, and R. Sears, “Benchmarking cloud serving systems with YCSB,” in Proc. 1st ACM Symp. Cloud Comput., 2010, pp. 143–154.
[8]
Intel, “Persistent memory development kit,” 2019. [Online]. Available: https://pmem.io/
[9]
LLVM Developer Group, “The LLVM compiler infrastructure,” 2003. [Online]. Available: https://llvm.org/
[10]
Z. Cao, S. Dong, S. Vemuri, and D. H. C. Du, “Characterizing, modeling, and benchmarking RocksDB key-value workloads at Facebook,” in Proc. 18th USENIX Conf. File Storage Technol., 2020, pp. 209–224.

Cited By

View all
  • (2023)Thoughts on Merging the File System with the Virtual Memory System: Design decisions and their ramifications in developing the Osprey kernelProceedings of the International Symposium on Memory Systems10.1145/3631882.3631895(1-7)Online publication date: 2-Oct-2023
  • (2023)THRCache: DRAM-NVM Multi-level Cache with Thresholded Heterogeneous Random ChoicesAlgorithms and Architectures for Parallel Processing10.1007/978-981-97-0859-8_26(436-455)Online publication date: 20-Oct-2023

Index Terms

  1. A Case Study of a DRAM-NVM Hybrid Memory Allocator for Key-Value Stores
    Index terms have been assigned to the content through auto-classification.

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image IEEE Computer Architecture Letters
    IEEE Computer Architecture Letters  Volume 21, Issue 2
    July-Dec. 2022
    60 pages

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 01 July 2022

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 12 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Thoughts on Merging the File System with the Virtual Memory System: Design decisions and their ramifications in developing the Osprey kernelProceedings of the International Symposium on Memory Systems10.1145/3631882.3631895(1-7)Online publication date: 2-Oct-2023
    • (2023)THRCache: DRAM-NVM Multi-level Cache with Thresholded Heterogeneous Random ChoicesAlgorithms and Architectures for Parallel Processing10.1007/978-981-97-0859-8_26(436-455)Online publication date: 20-Oct-2023

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media