skip to main content
10.1145/2819001.2819007acmconferencesArticle/Chapter ViewAbstractPublication PagessospConference Proceedingsconference-collections
research-article

Androtrace: framework for tracing and analyzing IOs on Android

Published: 04 October 2015 Publication History

Abstract

In this work, we develop IO trace and analysis framework, Androtrace, which is specifically tailored for Android platform. Unlike earlier works that required prolonged post processing procedures, Androtrace not only traces with low overhead, but also provides efficient solution for storage with--in mobile devices. Captured IO trace is temporarily stored in main memory and storage device, and they are transferred to Androtrace server when the device is connected to WiFi. We use server and client model to support and analyze multiple Android users. Using the framework, we find that write IOs are dominant in mobile workload.

References

[1]
blktrace. http://linux.die.net/man/8/blktrace.
[2]
iostat. http://linux.die.net/man/1/iostat.
[3]
iotop. http://linux.die.net/man/1/iotop.
[4]
debugfs. http://linux.die.net/man/8/debugfs.
[5]
Monkey. http://developer.android.com/tools/help/monkey.html.
[6]
Nexus 5. http://www.google.com/nexus/5.
[7]
rtrace. http://radsite.lbl.gov/radiance/man_html/rtrace.1.html.
[8]
strace. http://linux.die.net/man/1/strace.
[9]
Arlitt, M. F., and Williamson, C. L. Internet web servers: Workload characterization and performance implications. IEEE/ACM Trans. Netw. 5, 5 (Oct. 1997), 631--645.
[10]
Chen, P. M., and Patterson, D. A. A new approach to i/o performance evaluation: Self-scaling i/o benchmarks, predicted i/o performance. ACM Trans. Comput. Syst. 12, 4 (Nov. 1994), 308--339.
[11]
Chi-ming, C., and Mutka, M. W. Characteristics of user file-usage patterns. Journal of Systems and Software 23, 3 (1993), 257--268.
[12]
Cho, M., Hwang, S. J., Lee, H. J., Kim, M., and Kim, S. W. Androscope for detailed performance study of the android platform and its applications. In Consumer Electronics (ICCE), 2012 IEEE International Conference on (Jan 2012), pp. 408--409.
[13]
Crandall, P. E., Aydt, R. A., Chien, A. A., and Reed, D. A. Input/output characteristics of scalable parallel applications. In Proc. of ACM/IEEE Conference on Supercomputing 1995 (New York, NY, USA, 1995), Supercomputing '95, ACM.
[14]
Douglis, F., and Ousterhout, J. Log-structured file systems. In COMPCON Spring'89. 32nd IEEE Computer Society International Conference. (1989), IEEE, pp. 124--129.
[15]
Harter, T., Dragga, C., Vaughn, M., Arpaci-Dusseau, A. C., and Arpaci-Dusseau, R. H. A file is not a file: Understanding the I/O behavior of apple desktop applications. In Proc. of ACM SOSP 2011 (New York, NY, USA, 2011), pp. 71--83.
[16]
Hsu, W. W., and Smith, A. J. Characteristics of i/o traffic in personal computer and server workloads. IBM Systems Journal 42, 2 (2003), 347--372.
[17]
Jeong, S., Lee, K., Hwang, J., Lee, S., and Won, Y. Androstep: Android storage performance analysis tool. In Software Engineering (2013), pp. 327--340.
[18]
Jeong, S., Lee, K., Lee, S., Son, S., and Won, Y. I/O stack optimization for smartphones. In Proc. of USENIX ATC 2013 (San Jose, CA, USA, Jun 2013).
[19]
Kim, H., Agrawal, N., and Ungureanu, C. Examining storage performance on mobile devices. In Proc. of ACM SOSP 2011 (New York, NY, USA, 2011), MobiHeld '11, ACM, pp. 6:1--6:6.
[20]
Kim, H., Agrawal, N., and Ungureanu, C. Revisiting storage for smartphones. Trans. Storage 8, 4 (Dec. 2012), 14:1--14:25.
[21]
Kim, M., Lee, S., and Won, Y. Io workload characterization of tizen based consumer electronics. In IEEE ISCE 2014 (June 2014), pp. 1--4.
[22]
Lee, K. MOST. https://github.com/ESOS-Lab/MOST.
[23]
Lee, K., and Won, Y. Smart layers and dumb result: IO characterization of an android-based smartphone. In Proc. of ACM EMSOFT 2012 (New York, NY, USA, 2012), ACM, pp. 23--32.
[24]
Lee, S.-W., Moon, B., and Park, C. Advances in flash memory ssd technology for enterprise database applications. In Proc. of ACM SIGMOD 2009 (New York, NY, USA, 2009), ACM, pp. 863--870.
[25]
Leung, A. W., Pasupathy, S., Goodson, G., and Miller, E. L. Measurement and analysis of large-scale network file system workloads. In USENIX ATC 2008 (Berkeley, CA, USA, 2008), pp. 213--226.
[26]
Lim, S.-H., Lee, S., and Ahn, W. H. Applications IO profiling and analysis for smart devices. Journal of Systems Architecture 59, 9 (2013), 740--747.
[27]
McVoy, L. W., and Kleiman, S. R. Extent-like performance from a unix file system. In USENIX Winter (1991), vol. 91.
[28]
Prabhakaran, V., Arpaci-Dusseau, A. C., and Arpaci-Dusseau, R. H. Analysis and evolution of journaling file systems. In Proc. of USENIX ATEC 2005 (Berkeley, CA, USA, 2005), ATEC '05, pp. 8--8.
[29]
Roselli, D., Lorch, J. R., and Anderson, T. E. A comparison of file system workloads. In Proc. of USENIX ATEC 2000 (Berkeley, CA, USA, 2000), pp. 4--4.
[30]
SQLite.org. Well-known users of sqlite. https://www.sqlite.org/famous.html.
[31]
tom'sGuide. Smartphones with the longest battery life, 2015. http://www.tomsguide.com/us/smartphones-best-battery-life,review-2857.html.
[32]
Vogels, W. File system usage in windows nt 4.0. SIGOPS Operating Systems Review 33, 5 (Dec. 1999), 93--109.
[33]
Zhou, M., and Smith, A. Analysis of personal computer workloads. In Proc. of 7th International Symposium on 1999 (1999), pp. 208--217.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
INFLOW '15: Proceedings of the 3rd Workshop on Interactions of NVM/FLASH with Operating Systems and Workloads
October 2015
61 pages
ISBN:9781450339452
DOI:10.1145/2819001
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 04 October 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Android
  2. IO analysis
  3. IO trace utilities
  4. SQLite
  5. framework
  6. real-time
  7. synchronous write

Qualifiers

  • Research-article

Conference

SOSP '15
Sponsor:

Acceptance Rates

Overall Acceptance Rate 8 of 15 submissions, 53%

Upcoming Conference

SOSP '25
ACM SIGOPS 31st Symposium on Operating Systems Principles
October 13 - 16, 2025
Seoul , Republic of Korea

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)28
  • Downloads (Last 6 weeks)5
Reflects downloads up to 26 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2019)DASHProceedings of the VLDB Endowment10.14778/3317315.331732112:7(793-806)Online publication date: 1-Mar-2019
  • (2019)Energy efficient IO stack design for wearable deviceProceedings of the 34th ACM/SIGAPP Symposium on Applied Computing10.1145/3297280.3297491(2152-2159)Online publication date: 8-Apr-2019
  • (2019)Performance analysis on Android SQLite database2019 18th International Symposium INFOTEH-JAHORINA (INFOTEH)10.1109/INFOTEH.2019.8717652(1-4)Online publication date: Mar-2019
  • (2018)On the I/O characteristics of the mobile web browsersProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167402(964-966)Online publication date: 9-Apr-2018
  • (2017)The Dangers and Complexities of SQLite BenchmarkingProceedings of the 8th Asia-Pacific Workshop on Systems10.1145/3124680.3124719(1-6)Online publication date: 2-Sep-2017
  • (2017)Coarse-grained mtime update for better fsync() performanceProceedings of the Symposium on Applied Computing10.1145/3019612.3019739(1534-1541)Online publication date: 3-Apr-2017
  • (2016)On the IO characteristics of the SQLite transactionsProceedings of the International Conference on Mobile Software Engineering and Systems10.1145/2897073.2897093(214-224)Online publication date: 14-May-2016

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media