Overlapping Aware Data Placement Optimizations for LSM Tree-Based Store on ZNS SSDs
Solid State Drives (SSDs) based on the NVMe Zoned Namespaces (ZNS) interface can notably reduce the costs of address mapping, garbage collection, and over-provisioning by dividing the storage space into multiple zones for sequential writes and random reads. The Log-Structured Merge (LSM) tree, which is extensively used in key-value storage systems, converts random writes to sequential writes, hence a suitable scenario to utilize ZNS SSDs. However, LSM tree associated data significantly varies in lifetime due to the levels and merging mechanisms of the LSM tree. Therefore, without an accurate method to estimate data lifetime, data with disparate lifetimes may be placed in the same zone, thus causing low space utilization and high write amplification within the SSD. To address these issues, the article proposes two data overlapping aware optimizations to realize intelligent data placement: a zone allocation scheme and a garbage collection scheme. The key technique of these optimizations is an accurate data-lifetime estimation by considering both the associated tree level of the data and the data overlapping ratio between the data and those in the neighboring level. Using the estimation technique, the zone allocation optimization can place data with similar lifetimes in the same zone. Besides, the garbage collection optimization can reclaim zones in an adaptive manner based on overlapping ratios to reduce the amount of data migration. Experimental results demonstrate that the optimization schemes effectively reduce garbage collection-incurred data copy by average factors of 2.11× and 1.50× in comparison to a conventional work and a state-of-the-art work, respectively. Consequently, the proposed work successfully alleviates the write amplification effect by 18% and 6%, compared to the conventional work and the state-of-the-art work, respectively.
Authors
- Letu Yang
- Zhenhua Tan (ORCID: https://orcid.org/0009-0003-4712-7893)
- Masao Okita
- Congming Gao (ORCID: https://orcid.org/0000-0003-2611-2652)
- Jingcheng Shen (ORCID: https://orcid.org/0000-0002-2090-159X)
- Fumihiko Ino (ORCID: https://orcid.org/0000-0002-5757-7631)
- Kan Zhong (ORCID: https://orcid.org/0000-0001-5278-0406)
- Linbo Long (ORCID: https://orcid.org/0000-0003-1966-0714)
Institutions
- Chongqing University of Posts and Telecommunications (CN)
- Chongqing University (CN)
- Xiamen University (CN)
- Osaka Health Science University (JP)
- The University of Osaka (JP)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-03-04
- DOI
- https://doi.org/10.1145/3721287
- Citations
- 1
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 1.49