Characterizing File Accesses in Android Applications and Caching Implications

In this paper, we explore Android applications’ file access characteristics, and find out that smartphone file accesses are different from traditional desktop applications in terms of the following aspects. 1) There exist a limited number of hot blocks, which are accessed consistently dur...

Full description

Bibliographic Details
Main Authors: Soojung Lim, Hyokyung Bahn
Format: Article
Language:English
Published: IEEE 2021-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/9605595/
_version_ 1811210538266394624
author Soojung Lim
Hyokyung Bahn
author_facet Soojung Lim
Hyokyung Bahn
author_sort Soojung Lim
collection DOAJ
description In this paper, we explore Android applications’ file access characteristics, and find out that smartphone file accesses are different from traditional desktop applications in terms of the following aspects. 1) There exist a limited number of hot blocks, which are accessed consistently during the entire execution of an application. 2) Block accesses in Android are highly biased such that the top 20% blocks account for 80% of total accesses. 3) Hot blocks of the top 100 rankings are mostly involved in SQLite. 4) Unlike desktop applications, file accesses in Android applications are write-intensive. 5) In predicting future file accesses in Android applications, frequency is a better estimator than temporal locality. 6) The effect of traditional buffer cache is limited in Android as file I/O in Android has a lot of synchronous writes, which incurs immediate storage flushing. Based on these analyses, this paper presents the implication of buffer cache management in Android. Specifically, we add a small non-volatile write buffer and present how this write buffer can be managed efficiently. Experimental results show that the proposed scheme improves the storage write traffic by an average of 21.7% and a maximum of 48.1% compared to the conventional buffer cache system.
first_indexed 2024-04-12T04:56:17Z
format Article
id doaj.art-d8c0154b582041dd811f93904ef6aae6
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-04-12T04:56:17Z
publishDate 2021-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-d8c0154b582041dd811f93904ef6aae62022-12-22T03:47:07ZengIEEEIEEE Access2169-35362021-01-01915029215030310.1109/ACCESS.2021.31257799605595Characterizing File Accesses in Android Applications and Caching ImplicationsSoojung Lim0https://orcid.org/0000-0001-7116-203XHyokyung Bahn1https://orcid.org/0000-0002-7188-3889Department of Computer Engineering, Ewha University, Seoul, South KoreaDepartment of Computer Engineering, Ewha University, Seoul, South KoreaIn this paper, we explore Android applications’ file access characteristics, and find out that smartphone file accesses are different from traditional desktop applications in terms of the following aspects. 1) There exist a limited number of hot blocks, which are accessed consistently during the entire execution of an application. 2) Block accesses in Android are highly biased such that the top 20% blocks account for 80% of total accesses. 3) Hot blocks of the top 100 rankings are mostly involved in SQLite. 4) Unlike desktop applications, file accesses in Android applications are write-intensive. 5) In predicting future file accesses in Android applications, frequency is a better estimator than temporal locality. 6) The effect of traditional buffer cache is limited in Android as file I/O in Android has a lot of synchronous writes, which incurs immediate storage flushing. Based on these analyses, this paper presents the implication of buffer cache management in Android. Specifically, we add a small non-volatile write buffer and present how this write buffer can be managed efficiently. Experimental results show that the proposed scheme improves the storage write traffic by an average of 21.7% and a maximum of 48.1% compared to the conventional buffer cache system.https://ieeexplore.ieee.org/document/9605595/Androidfile accessapplicationsmartphonebuffer cachenon-volatile memory
spellingShingle Soojung Lim
Hyokyung Bahn
Characterizing File Accesses in Android Applications and Caching Implications
IEEE Access
Android
file access
application
smartphone
buffer cache
non-volatile memory
title Characterizing File Accesses in Android Applications and Caching Implications
title_full Characterizing File Accesses in Android Applications and Caching Implications
title_fullStr Characterizing File Accesses in Android Applications and Caching Implications
title_full_unstemmed Characterizing File Accesses in Android Applications and Caching Implications
title_short Characterizing File Accesses in Android Applications and Caching Implications
title_sort characterizing file accesses in android applications and caching implications
topic Android
file access
application
smartphone
buffer cache
non-volatile memory
url https://ieeexplore.ieee.org/document/9605595/
work_keys_str_mv AT soojunglim characterizingfileaccessesinandroidapplicationsandcachingimplications
AT hyokyungbahn characterizingfileaccessesinandroidapplicationsandcachingimplications