跳到主要导航 跳到搜索 跳到主要内容

Improving F2FS fsync() Latency Through Parallelizing Dnode and Data Page Writeback

  • Mengyang Ma
  • , Yumiao Zhao
  • , Yunpeng Song
  • , Yi Zhang
  • , Shouzhen Gu*
  • *此作品的通讯作者
  • East China Normal University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

F2FS improves performance and longevity through out-place updates, and is now wildly used in the real world. However, additional overhead is introduced to support such design, which leads to a significant performance bottleneck when performing fsync(). Through a series of experimental observations, the paper reveals the impact of dnode page writeback on throughput and fsync() latency. The serial flushing of data pages and dnode pages in the current fsync() design limits the potential for parallel write back and fails to fully utilize the parallelism of flash devices. We then deeply look into the current fsync() design and find the main difficulty of paralleling fsync() is the dependency between dnode pages and data pages. Based on these findings, we propose a new dual-thread design that significantly reduces the total latency of fsync() and improves throughput by pre-allocating data pages. Then, we give two optimizations to reduce overhead. A red-black tree is introduced to cache old block addresses for better node management performance. A linked list is introduced to avoid contention of the page cache for better page performance. We implemented our method in Linux Kernel, and the experimental results show that our dual-thread design can decrease fsync() latency and increase write throughput in different situations.

源语言英语
主期刊名2024 International Conference on Networking, Architecture and Storage, NAS 2024 - Proceedings
出版商Institute of Electrical and Electronics Engineers Inc.
版本2024
ISBN(电子版)9798331520502
DOI
出版状态已出版 - 2024
活动17th International Conference on Networking, Architecture and Storage, NAS 2024 - Zhuhai, 中国
期限: 29 11月 20241 12月 2024

会议

会议17th International Conference on Networking, Architecture and Storage, NAS 2024
国家/地区中国
Zhuhai
时期29/11/241/12/24

学术指纹

探究 'Improving F2FS fsync() Latency Through Parallelizing Dnode and Data Page Writeback' 的科研主题。它们共同构成独一无二的学术指纹。

引用此