MedFS: Pursuing Low Update Overhead via Metadata-Enabled Delta Compression for Log-structured File System on Mobile Device

Chao Wu and Cheng Ji, Nanjing University of Science and Technology; Li-Pin Chang, National Yang Ming Chiao Tung University; Zongwei Zhu, University of Science and Technology of China; Congming Gao, Xiamen University; Weichao Guo and Chao Yu, Guangdong Oppo Mobile Telecommunications Corp., Ltd; Yanzhi Wang, Northeastern University

The increasing deployment of data-intensive applications on mobile devices poses a formidable challenge in designing flash-based file systems tailored to these needs. Studies have shown that adopting delta compression in log-structured file systems is promising for such an environment as it can effectively reduce the write stress and improve flash longevity. Unfortunately, delta compression suffers from large maintenance overhead. While prior works have introduced non-volatile memory buffer or battery-backed DRAM to mitigate this, they are less appealing for cost-sensitive mobile devices.

This paper introduces MedFS, a Metadata-enabled delta compression on log-structured File System for mobile devices, to achieve a good design trade-off in log-structured file systems employing delta compression. Through a comprehensive analysis of mobile applications and file update patterns, we develop delta-inlining technique, which consolidates delta updates within the inline area of the file's inode block. By leveraging the inherent inode structure and automatically flushing dirty inodes to storage, we effectively address the maintenance overhead associated with delta compression. Additionally, we propose a complementary delta maintenance strategy that selectively manages delta chunks in the data area, overcoming the space constraints of the inline area. Experimental results show that MedFS significantly reduces the write traffic by 55.1% on average, leading to the prolonged storage endurance by 122.7% and improved I/O performance by up to 37.3% over existing work.

FAST '25 Open Access Sponsored by
NetApp

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

This content is available to:

BibTeX
@inproceedings {305250,
author = {Chao Wu and Cheng Ji and Li-Pin Chang and Zongwei Zhu and Congming Gao and Weichao Guo and Chao Yu and Yanzhi Wang},
title = {{MedFS}: Pursuing Low Update Overhead via {Metadata-Enabled} Delta Compression for Log-structured File System on Mobile Device},
booktitle = {23rd USENIX Conference on File and Storage Technologies (FAST 25)},
year = {2025},
isbn = {978-1-939133-45-8},
address = {Santa Clara, CA},
pages = {461--478},
url = {https://www.usenix.org/conference/fast25/presentation/wu},
publisher = {USENIX Association},
month = feb
}

Presentation Video