ByteFS:对(基于CXL的)内存语义固态硬盘的系统支持
ByteFS: System Support for (CXL-based) Memory-Semantic Solid-State Drives
AI总结:
本文提出ByteFS文件系统,协同利用内存语义SSD的字节/块接口,并通过日志式固件DRAM管理、数据合并及双层缓存协调,实现最高2.7倍性能提升和5.1倍写流量降低。
摘要:
与驻留在处理器内存总线上的非易失性内存不同,内存语义固态硬盘(SSD)通过PCIe或CXL互连同时支持字节和块访问粒度。它们以低得多的成本使用NAND闪存提供可扩展的内存容量。此外,其双字节/块接口分别具有不同的性能特征,同时为上层软件提供必要的内存语义。这种可按字节访问的存储设备为软件系统设计带来了新的启示。在本文中,我们通过重新思考文件系统和SSD固件的设计原语,开发了一个名为ByteFS的新型文件系统,以利用字节和块粒度数据访问两者的优势。ByteFS支持字节粒度数据持久化,以保留SSD的持久化本质。它通过启用双字节/块粒度数据访问扩展了文件系统的核心数据结构。为促进对字节粒度写入的支持,ByteFS以日志结构方式管理SSD固件的内部DRAM,并启用数据合并以减少到闪存芯片的不必要I/O流量。ByteFS还在主机页缓存与SSD缓存之间实现协同数据缓存,以最佳利用宝贵的内存资源。我们在真实可编程SSD和用于敏感性研究的仿真内存语义SSD上均实现了ByteFS。与面向非易失性内存和传统SSD的最先进文件系统相比,ByteFS性能最高提升2.7倍,同时保留文件系统的基本属性。ByteFS还通过缓解文件系统中元数据和数据更新共同导致的不必要写入,将到SSD的写流量最高减少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, \pname{} 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$\times$, while preserving the essential properties of a file system. ByteFS also reduces the write traffic to SSDs by up to 5.1$\times$ by alleviating unnecessary writes caused by both metadata and data updates in file systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。