FA-F2FS: Fast Append for Flash-Friendly File System

Jiayu Han, Xingpeng Lan, Shouzhen Gu

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Modern computers enhance I/O performance through parallel I/O, yet due to the scalability issues of file systems, parallel I/O cannot achieve the desired performance improvement. In this paper, we find that F2FS has scalability issue in append write. To address this issue, we propose FA-F2FS, the Fast Append Flash Friendly File System, which extends F2FS. We first identify the root cause of F2FS limited scalability in append write: contention on the Global Dirty List Lock. We then implement three mechanisms to address this limitation. First, we use inode-level fine-grained read-write locks to enhance parallelism in marking inodes as dirty. Second, we replace the Global Counter with the Per-CPU Counter, enabling parallel counting instead of serialized counting. Finally, we optimize access to the Global Dirty List by implementing Double-Checked Locking. We implement FA-F2FS in Linux kernel 5.10.1 and evaluate it on both synthetic and realistic workloads across two different scales of servers. Under realistic workloads in Filebench, FA-F2FS achieves 1.68× and 1.49× the throughput compared to the baseline F2FS for the FileServer and WebServer workloads, respectively. In the FxMark DWAL workload, FA-F2FS demonstrates at least 2× the throughput of F2FS.

Original languageEnglish
Title of host publicationProceedings - 2024 4th International Conference on Advanced Enterprise Information System, AEIS 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages17-23
Number of pages7
ISBN (Electronic)9798331512286
DOIs
StatePublished - 2024
Event4th International Conference on Advanced Enterprise Information System, AEIS 2024 - Cambridge, United Kingdom
Duration: 6 Dec 20248 Dec 2024

Publication series

NameProceedings - 2024 4th International Conference on Advanced Enterprise Information System, AEIS 2024

Conference

Conference4th International Conference on Advanced Enterprise Information System, AEIS 2024
Country/TerritoryUnited Kingdom
CityCambridge
Period6/12/248/12/24

Keywords

  • Concurrency
  • File System
  • Scalability

Fingerprint

Dive into the research topics of 'FA-F2FS: Fast Append for Flash-Friendly File System'. Together they form a unique fingerprint.

Cite this