File Fragmentation in Mobile Devices: Measurement, Evaluation, and Treatment

Cheng Ji, Li-Pin Chang, Sangwook Shane Hahn, sungjin Lee, Riwei Pan, Liang Shi*, Jihong Kim, Chun Jason Xue

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

3 Scopus citations

Abstract

Mobile devices, such as smartphones, have become a necessity in our daily life. However, users may notice that after being used for a long time, mobile devices begin to experience sluggish response. Based on an empirical study on a set of aged mobile devices, we identified that file fragmentation is among the key factors that contribute to the progressive degradation of response time. This study takes a three-step approach: First, we designed a set of reproducible file-system aging processes based on User-Interface (UI) script replay. Through the aging processes, we confirmed that file fragmentation quickly emerged, and SQLite files were among the most severely fragmented files. Second, based on the workloads of a selection of popular mobile applications, we observed that file fragmentation did impact on user-perceived latencies. Specifically, the launching time of Chrome on an aged file system was 79\% slower than it was on a pristine file system. Third, we evaluated existing treatments of file fragmentation, including space preallocation, persistent journal space, and file defragmentation to understand their efficacies and limitations. We also evaluated a state-of-the-art copyless defragmenter, janusd, to show its advantage over the existing methods.

Original languageEnglish
JournalIEEE Transactions on Mobile Computing
DOIs
StatePublished - 1 Sep 2019

Keywords

  • Aging
  • Androids
  • Databases
  • Humanoid robots
  • I/O performance
  • Measurements
  • Mobile computing
  • Smart phones
  • file fragmentation
  • flash memory

Fingerprint Dive into the research topics of 'File Fragmentation in Mobile Devices: Measurement, Evaluation, and Treatment'. Together they form a unique fingerprint.

Cite this