Land of Oz: Resolving Orderless Writes in Zoned Namespace SSDs
Zoned Namespace (ZNS) SSDs present a new class of storage devices that promise low cost, stable performance, and software-defined capability. ZNS abstracts the SSD into an array of zones that can only be written sequentially. Although ZNS-compatible filesystems (e.g., F2FS) launch sequential writes, the zone write constraint may be violated due to orderless Linux I/O stack. Hence, the write queue depth of each zone must be limited to one, which severely degrades the performance of small writes. <p xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">In this paper, we propose <i>oZNS SSD</i> (o: orderless), which allows multiple writes to be submitted to a zone and processed out-of-order in the SSD. To bridge the gap between ZNS sequential write contract and orderless writes on flash, a lightweight indirection layer is introduced and carefully designed by exploiting the characteristics of out-of-order writes. Specifically, memory-efficient metadata structures are devised to record the write deviations of data pages, and a two-tier buffering mechanism is employed to reduce metadata and accelerate metadata access. Moreover, a read-try policy removes metadata access from read critical path and thus improves the data read efficiency. Experimental results show that oZNS can achieve up to 8.6<inline-formula><tex-math notation="LaTeX">$\times$</tex-math><alternatives><mml:math display="inline"><mml:mo>×</mml:mo></mml:math><inline-graphic xlink:href="wang-ieq1-3441866.gif"/></alternatives></inline-formula> higher write performance than traditional ZNS while providing comparable read performance.
Authors
- Fei Wu (ORCID: https://orcid.org/0000-0001-9746-4714)
- Jie Zhang (ORCID: https://orcid.org/0000-0002-6299-4683)
- Ming-Chang Yang (ORCID: https://orcid.org/0000-0002-4029-757X)
- You Zhou (ORCID: https://orcid.org/0009-0005-0919-5793)
- Yingjia Wang (ORCID: https://orcid.org/0009-0006-2890-7984)
Institutions
- Chinese University of Hong Kong (HK)
- Peking University (CN)
- Wuhan National Laboratory for Optoelectronics (CN)
- Huazhong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Computers
- Published
- 2024-08-12
- DOI
- https://doi.org/10.1109/tc.2024.3441866
- Citations
- 4
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 1.40
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China