北京大学学报自然科学版 ›› 2020, Vol. 56 ›› Issue (6): 1020-1030.DOI: 10.13209/j.0479-8023.2020.107

上一篇    下一篇

基于用户态文件系统的共享访问与性能提升研究

杨洪章1, 杨雅辉1,†, 孙广宇2   

  1. 1. 北京大学软件与微电子学院, 北京 102600 2. 北京大学信息科学技术学院, 北京 100871
  • 收稿日期:2020-02-14 修回日期:2020-06-28 出版日期:2020-11-20 发布日期:2020-11-20
  • 通讯作者: 杨雅辉, Email: yhyang(at)ss.pku.edu.cn
  • 基金资助:
    国家重点研发计划(2018YFB1003304)、国家自然科学基金(61672283)和江苏省工业和信息产业转型升级专项资金资助

Research on Sharing Access and Performance Improvement Based on User-Space File System

YANG Hongzhang1, YANG Yahui1,†, SUN Guangyu2   

  1. 1. School of Software & Microelectronics, Peking University, Beijing 102600 2. School of Electronics Engineering and Computer Science, Peking University, Beijing 100871
  • Received:2020-02-14 Revised:2020-06-28 Online:2020-11-20 Published:2020-11-20
  • Contact: YANG Yahui, Email: yhyang(at)ss.pku.edu.cn

摘要:

研究并实现面向NVMe SSD的用户态高性能共享式文件系统(UHSFS), 并提出简单弹性的数据布局技术、多粒度IO队列弹性分离技术以及多用户共享内存架构, 这些关键技术能够显著地提升元数据的操作性能和 IO 处理能力, 并且实现用户态文件系统的共享访问。实验结果表明, 与UNFS, NVFUSE, BLOBFS和BLUEFS等用户态文件系统相比, UHSFS的元数据操作性能和Filebench综合负载性能最优; IO队列分离技术能够大幅度地提升吞吐量; 与F2FS, XFS, Ext4等内核态文件系统相比, UHSFS同样表现出性能优势。

关键词: 用户态, 文件系统, NVMe 协议, 固态硬盘

Abstract:

This paper designs UHSFS, a user-space high-performance shared file system for NVMe SSD, proposing simple elastic data layout technology, elastic separation of multiple IO queues technology, and multiuser shared memory architecture. The metadata operation performance and IO processing ability are significantly improved, and the shared access of user-space file system is realized. Experiments show that UHSFS has the best metadata operation performance and Filebench workload performance, compared with user-space file systems including UNFS, NVFUSE, BLOBFS, and BLUEFS; queue separation technology can greatly improve IOPS and throughput; UHSFS also has better performance compared with kernel-space file systems including F2FS, XFS and Ext4.

Key words: user-space, file system, NVMe protocol, solid state disk