DOI QR코드

DOI QR Code

The Effect of Background Services on Android Smartphone Performance

백그라운드 서비스가 안드로이드 스마트폰의 성능에 미치는 영향

  • Ahn, Woo Hyun (School of Software, Kwangwoon University) ;
  • Oh, Yunseok (Naver Corporation) ;
  • Oh, Jaewon (School of Computer Science and Information Engineering, The Catholic University of Korea)
  • Received : 2017.12.27
  • Accepted : 2018.01.17
  • Published : 2018.03.28

Abstract

In Android smartphones, many apps are developed as service apps to run in the background. If the memory is insufficient, Android forcibly terminates not only user apps that have not used the CPU for a long time, but also service apps. However, a service app is automatically re-launched after a short period of time, so that it continuously consumes memory space. This paper analyzes the number of running service apps and their memory usage in users' smartphones. The number of service apps accounts for up to 65% of the total number of running apps, and their memory usage accounts for up to 55% of the total memory. Moreover, we investigate the effect of the number of running service apps on the response time of smartphones and apps. As the number of service apps increases, the launching time of user apps increases to 22 times. The booting time and app installation time significantly increase with the number of service apps.

Acknowledgement

Supported by : National Research Foundation of Korea (NRF)

References

  1. Service ${\mid}$ android developers [Internet]. Available: https://developer.android.com/guide/components/services.html.
  2. M. Martins, J. Cappos, and R. Fonseca, "Selectively taming background android apps to improve battery lifetime," in Proceedings of 2015 USENIX Annual Technical Conference, Santa Clara, pp.563-575, 2015.
  3. I. Singh, S. V. Krishnamurthy, and H. V. Madhyastha, "ZapDroid: Managing infrequently used applications on smartphones," IEEE Transactions on Mobile Computing, vol. 16, no 5, pp. 1475-1489, May 2017. https://doi.org/10.1109/TMC.2016.2591546
  4. R. Prodduturi and D. B. Phatak, "Effective handling of low memory scenarios in Android using logs," Master thesis, Indian Institute of Technology, Bombay, 2013.
  5. W. Song, Y. Kim, H. Kim, J. Lim, and J. Kim, "Personalized optimization for android smartphones," ACM Transactions on Embedded Computing Systems, vol. 13, no. 2s, pp. 1-25, Jan. 2014.
  6. S. Kim, J. Jeong, J. Kim, and S. Maeng, "SmartLMK: A memory reclamation scheme for improving user-perceived app launch time," ACM Transactions on Embedded Computing Systems, vol. 15, no. 3, pp. 1539-9087, May 2016.
  7. Application fundamentals ${\mid}$ android developers [Internet]. Available: https://developer.android.com/guide/components/fundamentals.html.
  8. Processes and application life ${\mid}$ android developers [Internet]. Available: https://developer.android.com/guide/topics/processes/process-lifecycle.html.
  9. Y. Oh and W. Ahn, "Classifying and analyzing process states in the android operating system," in Proceedings of 2016 Spring KIPS Conference, Seoul, vol. 23, no. 1, pp. 179-182, 2016.
  10. X. Chen, A. Jindal, N. Ding, Y. Hu, M. Gupta, and R. Vannithamby, "Smartphone background activities in the wild: origin, energy drain, and optimization," in Proceedings of the 21st Annual International Conference on Mobile Computing and Networking, Paris, pp. 40-52, 2015.
  11. Samsung newsroom [Internet]. Available: http://goo.gl/qaRgEC.
  12. Clean master-space cleaner & antivirus [Internet]. Available: https://play.google.com/store/apps/details?id=com.cleanmaster.mguard&hl=en.
  13. Y. Oh and W. Ahn, "Monitoring memory shortage situation and booting characteristics in the android operating system," in Proceedings of 2016 Spring KIPS Conference, Seoul, vol. 23, no. 1, pp. 175-178, 2016.
  14. AccessibilityService ${\mid}$ android developers [Internet]. Available https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html.
  15. Android debug bridge ${\mid}$ android developers [Internet]. Available: https://developer.android.com/studio/commandline/adb.html.
  16. Shrinking APKs, growing installs [Internet]. Available: https://medium.com/googleplaydev/shrinking-apks-growing-installs-5d3fcba23ce2.
  17. D. Li, B. Guo, Y.Shen, J. Li, and Y. Huang, "The evolution of open-source mobile applications: An empirical study," Journal of Software: Evaluation and Process, vol. 29, no. 7, pp. 1-18, July 2017.