On Log-Structured Merge for Solid-State Drives

被引:17
|
作者
Thonangi, Risi [1 ]
Yang, Jun [2 ]
机构
[1] VMware Inc, Palo Alto, CA 94304 USA
[2] Duke Univ, Durham, NC 27706 USA
基金
美国国家科学基金会;
关键词
D O I
10.1109/ICDE.2017.121
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Log-structure merge (LSM) is an increasingly prevalent approach to indexing, especially for modern write-heavy workloads. LSM organizes data in levels with geometrically increasing sizes. Records enter the top level; whenever a level fills up, it is merged down into the next level. Hence, the index is updated only through merges and records are never updated in-place. While originally conceived to avoid slow random accesses of hard drives, LSM also turns out to be especially suited to solid-state drives, or any block-based storage with expensive writes. We study how to further reduce writes in LSM. Traditionally, LSM always merges an overflowing level fully into the next. We investigate in depth how partial merges save writes and prove bounds on their effectiveness. We propose new algorithms that make provably good decisions on whether to perform a partial merge, and if yes, which part of a level to merge. We also show how to further reduce writes by reusing data blocks during merges. Overall, our approach offers better worst-case guarantees and better practical performance than existing LSM variants.
引用
收藏
页码:683 / 694
页数:12
相关论文
共 50 条
  • [31] A Log-Structured Merge Tree-aware Message Authentication Scheme for Persistent Key-Value Stores
    Kim, Igjae
    Kim, J. Hyun
    Chung, Minu
    Moon, Hyungon
    Noh, Sam H.
    PROCEEDINGS OF THE 20TH USENIX CONFERENCE ON FILE AND STORAGE TECHNOLOGIES, FAST 2022, 2022, : 363 - 379
  • [32] Lumberjack:: A log-structured persistent object store
    Hulse, D
    Dearle, A
    ADVANCES IN PERSISTENT OBJECT SYSTEMS, 1999, : 187 - 198
  • [33] Swarm: A log-structured storage system for Linux
    Murdock, I
    Hartman, JH
    USENIX ASSOCIATION PROCEEDINGS OF THE FREENIX TRACK, 2000, : 1 - 9
  • [34] The linux implementation of a log-structured file system
    NTT Cyber Space Laboratories, NTT Corporation, 1-1 Hikari-no-oka, Yokosuka-shi, Kanagawa, 239-0847, Japan
    Oper Syst Rev ACM, 2006, 3 (102-107):
  • [35] THE DESIGN AND IMPLEMENTATION OF A LOG-STRUCTURED FILE SYSTEM
    ROSENBLUM, M
    OUSTERHOUT, JK
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1992, 10 (01): : 26 - 52
  • [36] Solid-State Drives (SSDs)
    Micheloni, Rino
    Olivo, Piero
    PROCEEDINGS OF THE IEEE, 2017, 105 (09) : 1586 - 1588
  • [37] On-line rollback in log-structured file systems
    Matthews, R
    Kearns, P
    COMPUTER APPLICATIONS IN INDUSTRY AND ENGINEERING, 2003, : 11 - 16
  • [38] The LHAM log-structured history data access method
    Muth, P
    O'Neil, P
    Pick, A
    Weikum, G
    VLDB JOURNAL, 2000, 8 (3-4): : 199 - 221
  • [39] SILK plus Preventing Latency Spikes in Log-Structured Merge Key-Value Stores Running Heterogeneous Workloads
    Balmau, Oana
    Dinu, Florin
    Zwaenepoel, Willy
    Gupta, Karan
    Chandhiramoorthi, Ravishankar
    Didona, Diego
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2020, 36 (04):
  • [40] LosPem: A Novel Log-Structured Framework for Persistent Memory
    Li, Sumin
    Huang, Linpeng
    ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2020, 16 (03)