一句话:提出 ByteFS,联合设计文件系统与 SSD 固件,利用字节/块双粒度访问,提升性能并减少写流量。
内存语义 SSD 可通过 PCIe/CXL 提供字节与块双粒度访问,兼具 NAND 低成本大容量与内存语义,但对软件系统设计提出新要求。本文提出 ByteFS,重新思考文件系统与 SSD 固件设计,扩展文件系统核心数据结构以支持双粒度访问,并实现字节粒度数据持久化。为支持字节写,ByteFS 在 SSD 固件 DRAM 中采用日志结构管理并合并数据,减少发往闪存芯片的无效 I/O;同时协调主机页缓存与 SSD 缓存。作者在真实可编程 SSD 与模拟内存语义 SSD 上实现并评估,相比面向非易失内存和传统 SSD 的先进文件系统,性能最高提升 2.7×,写流量最高减少 5.1×。
Unlike non-volatile memory that resides on the processor memory bus, memory-semantic solid-state drives (SSDs) support both byte and block access granularity via PCIe or CXL interconnects. They provide scalable memory capacity using NAND flash at a much lower cost. In addition, they have different performance characteristics for their dual byte/block interface respectively, while offering essential memory semantics for upper-level software. Such a byte-accessible storage device provides new implications on the software system design. In this paper, we develop a new file system, named ByteFS, by rethinking the design primitives of file systems and SSD firmware to exploit the advantages of both byte and block-granular data accesses. ByteFS supports byte-granular data persistence to retain the persistence nature of SSDs. It extends the core data structure of file systems by enabling dual byte/block-granular data accesses. To facilitate the support for byte-granular writes, ByteFS manages the internal DRAM of SSD firmware in a log-structured manner and enables data coalescing to reduce the unnecessary I/O traffic to flash chips. ByteFS also enables coordinated data caching between the host page cache and SSD cache for best utilizing the precious memory resource. We implement ByteFS on both a real programmable SSD and an emulated memory-semantic SSD for sensitivity study. Compared to state-of-the-art file systems for non-volatile memory and conventional SSDs, ByteFS outperforms them by up to 2.7×, while preserving the essential properties of a file system. ByteFS also reduces the write traffic to SSDs by up to 5.1× by alleviating unnecessary writes caused by both metadata and data updates in file systems.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{abs-2501-04993,
title = {ByteFS: System Support for (CXL-based) Memory-Semantic Solid-State Drives},
author = {Shaobo Li and Yirui (Eric) Zhou and Hao Ren and Jian Huang},
booktitle = {ASPLOS},
year = {2025},
doi = {10.1145/3669940.3707250}
}