Smart layers and dumb result
Authors:
Open Access
- 7 October 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 23-32
Abstract
In this paper, we offer an in-depth IO characterization of the Android-based smartphone. We analyze the IO behaviors of a total of 14 Android applications from six different categories. We examine the correlations among seven IO attributes: originating application, file type, IO size, IO type (read/write), random/sequential, block semantics (Data/Metadata/Journal), and session type (buffered vs. synchronous IO). For the purposes of our study, we develop Mobile Storage Analyzer (MOST), a framework for collecting IO attributes across layers. Let us summarize our findings briefly. SQLite, which is the most popular tool for maintaining persistent data in Android, puts too much burden on the storage. For example, a single SQLite operation (update or insert) results in at least 11 write operations being sent to the storage. These are for creating short-lived files, updating database tables, and accessing EXT4 Journal. From the storage point of view, more than 50% of writes are for EXT4 Journal updating. Excluding Metadata and Journal accesses, 60-80% of the writes are random. More than 50% of the writes are synchronous. 4KB IO accounts for 70% of all writes. In the Android platform, each SQLite and EXT4 filesystem requires a great amount of effort to ensure reliability in supporting transactions and journaling, respectively. When they are combined, the results are rather dumb. The operations of SQLite and EXT4, when combined, generate unnecessarily excessive write operations to the NAND-based storage. This not only degrades IO performance but also significantly reduces the lifetime of the underlying NAND flash storage. The results of this study clearly suggest that SQLite, EXT4, and the underlying NAND-based storage need to be completely overhauled and vertically integrated so as to properly and effectively incorporate their respective characteristics.Keywords
This publication has 7 references indexed in Scilit:
- A file is not a file2011
- Advances in flash memory SSD technology for enterprise database applications2009
- Understanding intrinsic characteristics and system implications of flash memory based solid state drives2009
- Comparing performance of solid state devices and mechanical disks2008
- CFLRU2006
- FAB: Flash-Aware Buffer Management Policy for Portable Media PlayersIEEE Transactions on Consumer Electronics, 2006
- Internet Web servers: workload characterization and performance implicationsIEEE/ACM Transactions on Networking, 1997