Skip to main content

NVLSM: Virtual Split Compaction on Non-volatile Memory in LSM-Tree KV Stores

  • Conference paper
  • First Online:
Big Data Management and Analysis for Cyber Physical Systems (BDET 2022)

Part of the book series: Lecture Notes on Data Engineering and Communications Technologies ((LNDECT,volume 150))

Included in the following conference series:

  • 291 Accesses

Abstract

Log-Structured Merge tree is a write optimized persistent storage engine consisting of memory buffer and multiple layers of disk files. Log-Structured Merge tree is built for block devices and suffers from write stalls due to its frequent internal L0–L1 compaction operation. Emerging storage hardware non-volatile memory (NVM) brings opportunities for optimization of LSM-tree with its byte-addressability, high bandwidth, low latency. In this paper, we introduce NVLSM, a novel LSM-tree design based on hybrid storage of NVM with SSD and NVM with HDD to improve write throughput of Log-Structured Merge tree. Experimental results show that NVLSM achieves 1.11x higher random write throughput compared to the baseline model, and the read performance is comparable.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 2016: Persistent Memory Development Kit, 27 May 2021. https://pmem.io/pmdk

  2. Caulfield, A.M., De, A., Coburn, J., Mollow, T.I., Gupta, R.K., Swanson, S.: Moneta: a high-performance storage array architecture for next-generation non-volatile memories. In: 2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture, pp. 385–395 (2010). https://doi.org/10.1109/MICRO.2010.33

  3. Chai, Y., Chai, Y., Wang, X., Wei, H., Bao, N., Liang, Y.: LDC: a lower-level driven compaction method to optimize SSD-oriented key-value stores. In: 2019 IEEE 35th International Conference on Data Engineering (ICDE), pp. 722–733 (2019). https://doi.org/10.1109/ICDE.2019.00070

  4. Eisenman, A., et al.: Reducing DRAM footprint with NVM in Facebook. In: Proceedings of the Thirteenth EuroSys Conference, pp. 1–13 (2018)

    Google Scholar 

  5. Facebook, RocksDB: RocksDB: a library that provides an embeddable, persistent key-value store for fast storage (2019). https://github.com/facebook/rocksdb

  6. Huai, Y.: Spin-Transfer Torque MRAM (STTMRAM): Challenges and Prospects (2008)

    Google Scholar 

  7. Intel and micron produce breakthrough memory technology (2019). https://newsroom.intel.com/news-releases/intel-and-micron-produce-breakthrough-memory-technology/. Accessed 27 May 2021

  8. Condit, J., et al.: Better I/O through byte-addressable, PersistentMemory (n.d.)

    Google Scholar 

  9. Kannan, S., Bhat, N., Gavrilovska, A., Arpaci-Dusseau, A., Arpaci-Dusseau, R.: Redesigning LSMs for nonvolatile memory with NoveLSM. In: 2018 {USENIX} Annual Technical Conference ({USENIX}{ATC} 2018), pp. 993–1005 (2018)

    Google Scholar 

  10. Lakshman, A., Malik, P.: Cassandra: a decentralized structured storage system. ACMSIGOPS Oper. Syst. Rev. 44(2), 35–40 (2010)

    Article  Google Scholar 

  11. Li, J., Pavlo, A., Dong, S.: NVMRocks: RocksDB on nonvolatile memory systems (2017)

    Google Scholar 

  12. O’Neil, P., Cheng, E., Gawlick, D., O’Neil, E.: The log structured merge-tree (LSM-tree). Acta Informatica 33(4), 351–385 (1996)

    Article  Google Scholar 

  13. Ghemawat, S., Dean, J.: LevelDB: a fast key value storage library (2016). https://github.com/google/leveldb. Accessed 27 May 2021

  14. Wong, H.S.P., et al.: PhaseChange memory. Proc. IEEE 98(12), 2201–2227 (2010). https://doi.org/10.1109/JPROC.2010.2070050

  15. Yao, T., et al.: MatrixKV: reducing write stalls and write amplification in LSM tree based KVStores with matrix container in NVM. In: 2020 USENIX Annual Technical Conference (USENIX ATC 2020), pp. 17–31. USENIX Association (2020)

    Google Scholar 

Download references

Acknowledgments

This work is supported by The National Key Research and Development Program of China (2019YFB1804502). NSFC: 61832020. Guangdong Natural Science Foundation (2018B030312002) the Major Program of Guangdong Basic and Applied Research: 2019B030302002. Supported by the Program for Guangdong Introducing Innovative and Entrepreneurial Teams under Grant NO. 2016ZT06D211.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhutao Zhuang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhuang, Z., Wang, Y., Bai, S., Liu, Y., Chen, Z., Xiao, N. (2023). NVLSM: Virtual Split Compaction on Non-volatile Memory in LSM-Tree KV Stores. In: Tang, L.C., Wang, H. (eds) Big Data Management and Analysis for Cyber Physical Systems. BDET 2022. Lecture Notes on Data Engineering and Communications Technologies, vol 150. Springer, Cham. https://doi.org/10.1007/978-3-031-17548-0_9

Download citation

Publish with us

Policies and ethics