Affiliation:
1. Chongqing University of Posts and Telecommunications, China
2. Xiamen University, China
3. Chongqing University, China
4. Huawei Technologies, Co., Ltd., China
Abstract
ZNS SSDs divide the storage space into sequential-write zones, reducing costs of DRAM utilization, garbage collection, and over-provisioning. The sequential-write feature of zones is well-suited for LSM-based databases, where random writes are organized into sequential writes to improve performance. However, the current compaction mechanism of LSM-tree results in widely varying access frequencies (i.e., hotness) of data and thus incurs an extreme imbalance in the distribution of erasure counts across zones. The imbalance significantly limits the lifetime of SSDs. Moreover, the current zone-reset method involves a large number of unnecessary erase operations on unused blocks, further shortening the SSD lifetime.
Considering the access pattern of LSM-tree, this article proposes a wear-aware zone-management technique, termed
WA-Zone
, to effectively balance inter- and intra-zone wear in ZNS SSDs. In WA-Zone, a wear-aware zone allocator is first proposed to dynamically allocate data with different hotness to zones with corresponding lifetimes, enabling an even distribution of the erasure counts across zones. Then, a partial-erase-based zone-reset method is presented to avoid unnecessary erase operations. Furthermore, because the novel zone-reset method might lead to an unbalanced distribution of erasure counts across blocks in a zone, a wear-aware block allocator is proposed. Experimental results based on the
FEMU
emulator demonstrate the proposed WA-Zone enhances the ZNS-SSD lifetime by 5.23×, compared with the baseline scheme.
Funder
National Natural Science Foundation of China
Chongqing High-Tech Research Key Program
Chongqing Natural Science Foundation Innovation and Development Joint Fund
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture,Information Systems,Software
Reference48 articles.
1. What you can't forget
2. Matias Bjørling. 2019. From open-channel ssds to zoned namespaces. In Proceedings of the 2019 Linux Storage and Filesystems Conference.
3. Matias Bjørling, Abutalib Aghayev, Hans Holmberg, Aravind Ramesh, Damien Le Moal, Gregory R. Ganger, and George Amvrosiadis. 2021. ZNS: Avoiding the block interface tax for flash-based SSDs. In Proceedings of the 2021 USENIX Annual Technical Conference. 689–703.
4. Matias Bjørling, Javier Gonzalez, and Philippe Bonnet. 2017. LightNVM: The linux open-channel SSD subsystem. In Proceedings of the15th USENIX Conference on File and Storage Technologies. 359–374.
5. A Free-Space Adaptive Runtime Zone-Reset Algorithm for Enhanced ZNS Efficiency
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Hi-ZNS: High Space Efficiency and Zero-Copy LSM-Tree Based Stores on ZNS SSDs;Proceedings of the 53rd International Conference on Parallel Processing;2024-08-12
2. Can ZNS SSDs be Better Storage Devices for Persistent Cache?;Proceedings of the 16th ACM Workshop on Hot Topics in Storage and File Systems;2024-07-08