Eager Synching

Author:

Chang Li-Pin1,Sung Po-Han1,Chen Po-Tsang1,Chen Po-Hung1

Affiliation:

1. National Chiao-Tung University, Hsinchu, Taiwan, ROC

Abstract

Flash storage has been a standard component in Android devices. Recent research has reported that application data management in Android involves frequent fsync() operations. The current fsync() implementations, including those of ext4 and F2FS, have several common drawbacks. Specifically, ext4 commits a transaction every time to sync a file, whereas F2FS commits a checkpoint to sync a directory. Committing a transaction or checkpoint flushes all dirty data from the page cache to the flash storage via many small, random block write requests. The resultant high I/O frequency and excessive write traffic cause a high fsync() latency. This study presents an efficient fsync() method, called eager synching, which is based on a simple idea: write less, and write sequentially. To sync a file, eager synching writes only a subset of all dirty data in the page cache to a sequential log space using a few sequential block write requests. It does not involve transaction or checkpoint committing. We successfully implemented eager synching in ext4 and F2FS, and our experimental results show that, compared with the original fsync() methods of ext4 and F2FS, eager synching reduced the average and maximum fsync() latencies by up to 72% and 91%, respectively, block-level write traffic by up to 35%, and I/O frequency by up to 66%. Through enhanced crash recovery procedures, eager synching can successfully recover all previously synched files while still guaranteeing the file system integrity. We also conducted live application replays using the proposed eager synching approach and observed that this approach significantly improved the application frame updating rate and application execution time.

Funder

Ministry of Science and Technology, Taiwan

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference25 articles.

1. Alan D. Brunelle. 2007. blktrace. Retrieved from http://www.cse.unsw.edu.au/∼aaronc/iosched/doc/blktrace.html. Alan D. Brunelle. 2007. blktrace. Retrieved from http://www.cse.unsw.edu.au/∼aaronc/iosched/doc/blktrace.html.

2. Fast file synching for applications in flash-based Android devices

3. Constantin Gonzalez. 2010. Solaris ZFS Synchronous Writes and the ZIL Explained. Retrieved from http://constantin.glez.de/blog/2010/07/solaris-zfs-synchronous-writes-and-zil-explained. Constantin Gonzalez. 2010. Solaris ZFS Synchronous Writes and the ZIL Explained. Retrieved from http://constantin.glez.de/blog/2010/07/solaris-zfs-synchronous-writes-and-zil-explained.

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Current-Aware Flash Scheduling for Current Capping in Solid State Disks;IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems;2020-02

2. Lightweight, Integrated Data Deduplication for Write Stress Reduction of Mobile Flash Storage;IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems;2018-11

3. Lightweight Data Compression for Mobile Flash Storage;ACM Transactions on Embedded Computing Systems;2017-10-10

4. Guaranteeing the Metadata Update Atomicity in EXT4 File system;Proceedings of the 8th Asia-Pacific Workshop on Systems;2017-09-02

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3