DOI QR코드

DOI QR Code

Design of an Efficient In-Memory Journaling File System for Non-Volatile Memory Media

  • Hyokyung, Bahn (Department of Computer Engineering, Ewha University)
  • Received : 2023.01.08
  • Accepted : 2023.01.13
  • Published : 2023.03.31

Abstract

Journaling file systems are widely used to keep file systems in a consistent state against crash situations. As traditional journaling file systems are designed for block I/O devices like hard disks, they are not efficient for emerging byte-addressable NVM (non-volatile memory) media. In this article, we present a new in-memory journaling file system for NVM that is different from traditional journaling file systems in two respects. First, our file system journals only modified portions of metadata instead of whole blocks based on the byte-addressable I/O feature of NVM. Second, our file system bypasses the heavy software I/O stack while journaling by making use of an in-memory file system interface. Measurement studies using the IOzone benchmark show that the proposed file system performs 64.7% better than Ext4 on average.

Keywords

Acknowledgement

This work was partly supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. 2019R1A2C1009275) and the Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No.2021-0-02068, Artificial Intelligence Innovation Hub).

References

  1. V. Prabhakaran, A. C. Arpaci-Dusseau, and R. H. Arpaci-Dusseau, "Analysis and evolution of journaling file systems," Proc. USENIX Annual Technical Conf. (ATC), 2005.
  2. Y. Choi and S. Ahn, "Separating the file system journal to reduce write amplification of garbage collection on ZNS SSDs," Journal of Multimed. Inf. Syst., vol. 9, no. 4, pp. 261-268, 2022. DOI: https://doi.org/10.33851/JMIS.2022.9.4.261
  3. E. Lee, S. Hoon Yoo and H. Bahn, "Design and implementation of a journaling file system for phase-change memory," IEEE Trans. Comput. (TC), vol. 64, no. 5, pp. 1349-1360, 2015. DOI: https://doi.org/10.1109/TC.2014.2329674.
  4. E. Lee, H. Bahn, S. Yoo and S. H. Noh, "Empirical study of NVM storage: an operating system's perspective and implications," Proc. IEEE MASCOTS Conf., pp. 405-410, 2014. DOI: https://doi.org/10.1109/MASCOTS.2014.56.
  5. T. Cai, Y. Ma, P. Liu, D. Niu, and L. Li, "A new NVM device driver for IoT time series database," Micromachines, vol. 13, no. 3, article 385, 2022. DOI: https://doi.org/10.3390/mi13030385
  6. D. Kim, E. Lee, S. Ahn, H. Bahn, "Improving the storage performance of smartphones through journaling in nonvolatile memory," IEEE Trans. Consum. Electron. (TCE), vol. 59, no. 3, pp. 556-561, 2013. DOI: https://doi.org/10.1109/TCE.2013.6626238
  7. Y. Park and H. Bahn, "Modeling and analysis of the page sizing problem for NVM storage in virtualized systems," IEEE Access, vol. 9, pp. 52839-52850, 2021. DOI: https://doi.org/10.1109/ACCESS.2021.3069966
  8. E. Lee, H. Bahn, and S. Noh, "A unified buffer cache architecture that subsumes journaling functionality via nonvolatile memory," ACM Trans. Storage, vol. 10, no. 1, pp. 1-14, 2014. DOI: https://doi.org/10.1145/2560010
  9. A. Mathur, M. Cao, S. Bhattacharya, A. Dilger, A. Tomas, and L. Vivier, "The new ext4 filesystem: Current status and future plans," Proc. Linux Symp., vol. 2, pp. 21-33. 2007.
  10. W. Zhao, J. Xu, X. Wei, B. Wu, C. Wang, W. Zhu, W. Tong, D. Feng, and J. Liu, "A low-latency and high-endurance MLC STT-MRAM-based cache system," IEEE Trans. CAD, vol. 42, no. 1, pp. 122-135, 2023. DOI: https://doi.org/10.1109/TCAD.2022.3169458
  11. W. Norcutt, the IOzone Filesystem Benchmark, http://www.iozone.org/.