摘要
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月 2024 → 1 12月 2024 |
会议
| 会议 | 17th International Conference on Networking, Architecture and Storage, NAS 2024 |
|---|---|
| 国家/地区 | 中国 |
| 市 | Zhuhai |
| 时期 | 29/11/24 → 1/12/24 |
学术指纹
探究 'Improving F2FS fsync() Latency Through Parallelizing Dnode and Data Page Writeback' 的科研主题。它们共同构成独一无二的学术指纹。引用此
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver