Skip to main content
Log in

NICFS: a file system based on persistent memory and SmartNIC

NICFS:基于持久化内存和智能网卡的文件系统

  • Research Article
  • Published:
Frontiers of Information Technology & Electronic Engineering Aims and scope Submit manuscript

Abstract

Emergence of new hardware, including persistent memory and smart network interface card (SmartNIC), has brought new opportunities to file system design. In this paper, we design and implement a new file system named NICFS based on persistent memory and SmartNIC. We divide the file system into two parts: the front end and the back end. In the front end, data writes are appended to the persistent memory in a log-structured way, leveraging the fast persistence advantage of persistent memory. In the back end, the data in logs are fetched, processed, and patched to files in the background, leveraging the processing capacity of SmartNIC. Evaluation results show that NICFS outperforms Ext4 by about 21%/10% and about 19%/50% on large and small reads/writes, respectively.

摘要

持久化内存和智能网卡等新型硬件的涌现,为文件系统架构设计带来新机遇。本文设计并实现一个基于持久化内存和智能网卡的新型文件系统NICFS。我们将NICFS分为前端与后端。在前端,数据的写入以日志结构的方式追加写到持久化内存上,从而发挥持久化内存的快速持久化优势;在后端,日志中的数据在后台被获取、处理并写入到文件中,从而充分利用智能网卡的处理能力。实验结果显示,NICFS在大粒度和小粒度的读/写性能上分别比Ext4高出约21%/10%和19%/50%。

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

References

  • Anderson TE, Canini M, Kim J, et al., 2019. Assise: performance and availability via NVM colocation in a distributed file system. https://arxiv.org/abs/1910.05106

  • Chen YM, Lu YY, Zhu BH, et al., 2021. Scalable persistent memory file system with kernel-userspace collaboration. Proc 19th USENIX Conf on File and Storage Technologies, p.81–95.

  • Condit J, Nightingale EB, Frost C, et al., 2009. Better I/O through byte-addressable, persistent memory. Proc ACM SIGOPS 22nd Symp on Operating Systems Principles, p.133–146.

  • Gray C, Cheriton D, 1989. Leases: an efficient fault-tolerant mechanism for distributed file cache consistency. ACM SIGOPS Oper Syst Rev, 23(5):202–210. https://doi.org/10.1145/74851.74870

    Article  Google Scholar 

  • Kim J, Jang I, Reda W, et al., 2021. LineFS:efficient Smart-NIC offload of a distributed file system with pipeline parallelism. Proc ACM SIGOPS 28th Symp on Operating Systems Principles, p.756–771. https://doi.org/10.1145/3477132.3483565

  • Lee C, Sim D, Hwang JY, et al., 2015. F2FS: a new file system for flash storage. Proc 13th USENIX Conf on File and Storage Technologies, p.273–286.

  • Li JR, Lu YY, Wang Q, et al., 2022. AlNiCo: SmartNIC-accelerated contention-aware request scheduling for transaction processing. Proc USENIX Annual Technical Conf, p.951–966.

  • Liang Z, Lombardi J, Chaarawi M, et al., 2020. DAOS: a scale-out high performance storage stack for storage class memory. Proc 6th Asian Conf on Supercomputing Frontiers, p.40–54. https://doi.org/10.1007/978-3-030-48842-0_3

  • Lu YY, Shu JW, Zheng WM, 2013. Extending the lifetime of flash-based storage through reducing write amplification from file systems. Proc 11th USENIX Conf on File and Storage Technologies, p.257–270. https://doi.org/10.5555/2591272.2591299

  • Lu YY, Shu JW, Wang W, 2014. ReconFS: a reconstructable file system on flash storage. Proc 12th USENIX Conf on File and Storage Technologies, p.75–88.

  • Lu YY, Shu JW, Chen YM, et al., 2017. Octopus: an RDMA-enabled distributed persistent memory file system. Proc USENIX Annual Technical Conf, p.773–785.

  • Lu YY, Shu JW, Zhang JC, 2019. Mitigating synchronous I/O overhead in file systems on open-channel SSDs. ACM Trans Stor, 15(3):17. https://doi.org/10.1145/3319369

    Google Scholar 

  • NVIDIA, 2022. DOCA. https://developer.nvidia.com/networking/doca [Accessed on Oct. 8, 2022].

  • Ou JX, Shu JW, Lu YY, 2016. A high performance file system for non-volatile main memory. Proc 11th European Conf on Computer Systems, Article 12. https://doi.org/10.1145/2901318.2901324

  • Schuh HN, Liang WH, Liu M, et al., 2021. Xenic: SmartNIC-accelerated distributed transactions. Proc ACM SIGOPS 28th Symp on Operating Systems Principles, p.740–755. https://doi.org/10.1145/3477132.3483555

  • Xu J, Swanson S, 2016. NOVA: a log-structured file system for hybrid volatile/non-volatile main memories. Proc 14th USENIX Conf on File and Storage Technologies, p.323–338.

  • Zhang JC, Shu JW, Lu YY, 2016. ParaFS: a log-structured file system to exploit the internal parallelism of flash devices. Proc USENIX Annual Technical Conf, p.87–100.

Download references

Acknowledgements

We thank the members of the Storage Research Group at Tsinghua University for discussion.

Author information

Authors and Affiliations

Authors

Contributions

Youyou LU proposed the general idea. Yitian YANG implemented and evaluated the system and drafted the paper. Youyou LU revised and finalized the paper.

Corresponding author

Correspondence to Youyou Lu  (陆游游).

Additional information

Compliance with ethics guidelines

Yitian YANG and Youyou LU declare that they have no conflict of interest.

Project supported by the National Key R&D Program of China (No. 2021YFB0300500) and the National Natural Science Foundation of China (No. 62022051)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yang, Y., Lu, Y. NICFS: a file system based on persistent memory and SmartNIC. Front Inform Technol Electron Eng 24, 675–687 (2023). https://doi.org/10.1631/FITEE.2200469

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1631/FITEE.2200469

Key words

CLC number

关键词

Navigation