Skip to main content
Erschienen in: Multimedia Systems 5/2014

01.10.2014 | Special Issue Paper

Lightweight graphics instrumentation for game state-specific power management in Android

verfasst von: Benedikt Dietrich, Samarjit Chakraborty

Erschienen in: Multimedia Systems | Ausgabe 5/2014

Einloggen

Aktivieren Sie unsere intelligente Suche um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Battery life is a major concern on portable devices like smartphones and tablet PCs. On these devices, games constitute the class of most popular applications and are at the same time highly compute-intensive. Every game consists of several states like the loading, main menu and the gaming state. Each of those states has its own workload characteristics, e.g., the loading phase is likely to be memory bound and the main menu state is less interactive than the gaming state. We propose an interception technique that allows to profile the game and detect its current state based on the game’s communication with the underlying OS. Current power management governors are unaware of the running applications and scale the processor’s voltage and frequency merely based on the system’s utilization. We provide the game’s state information and workload profile to our governor which selects the processing frequency such that the desired frame rate of the current state is ensured. This leads to an optimal choice of processing frequencies and thereby significantly reduces power consumption. We have implemented the scheme on an Android-based Samsung Galaxy Nexus smartphone using popular games like Jetpack Joyride and Temple Run. We reduced the CPU’s power consumption by up to 43.2 % compared to the Android interactive governor without impacting the gaming experience. Motivated by these results we propose a power management API that would allow game developers to significantly reduce the power consumption of their game using simple API calls.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Acquaviva, A., Benini, L., Ricco, B.: An adaptive algorithm for low-power streaming multimedia processing. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE), 273–279 (2001) Acquaviva, A., Benini, L., Ricco, B.: An adaptive algorithm for low-power streaming multimedia processing. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE), 273–279 (2001)
3.
Zurück zum Zitat Adve, S.V., Harris, A.F., Hughes, C.J., Jones, D.L., Kravets, R.H., Nahrstedt, K., Sachs, D.G., Sasanka, R., Srinivasan, J., Yuan, W.: The Illinois GRACE project: Global resource adaptation through cooperation. In Proceedings of the Workshop on Self-Healing, Adaptive, and self-MANaged Systems (SHAMAN), Citeseer (2002) Adve, S.V., Harris, A.F., Hughes, C.J., Jones, D.L., Kravets, R.H., Nahrstedt, K., Sachs, D.G., Sasanka, R., Srinivasan, J., Yuan, W.: The Illinois GRACE project: Global resource adaptation through cooperation. In Proceedings of the Workshop on Self-Healing, Adaptive, and self-MANaged Systems (SHAMAN), Citeseer (2002)
4.
Zurück zum Zitat Anand, B., Ananda, A.L., Chan, M.C., Le, L.T., Balan R.K.: Game action based power management for multiplayer online game. In Workshop on Networking, Systems, and Applications on Mobile Handhelds (MobiHeld), 55–60 (2009) Anand, B., Ananda, A.L., Chan, M.C., Le, L.T., Balan R.K.: Game action based power management for multiplayer online game. In Workshop on Networking, Systems, and Applications on Mobile Handhelds (MobiHeld), 55–60 (2009)
5.
Zurück zum Zitat Anand, B., Ananda, A.L., Chan, M.C., Balan, R.K.: Arivu: making networked mobile games green - a scalable power-aware middleware. Mob. Netw. Appl. (MONET) 17(1), 21–28 (2012)CrossRef Anand, B., Ananda, A.L., Chan, M.C., Balan, R.K.: Arivu: making networked mobile games green - a scalable power-aware middleware. Mob. Netw. Appl. (MONET) 17(1), 21–28 (2012)CrossRef
6.
Zurück zum Zitat Anand, B., Thirugnanam, K., Sebastian, J., Kannan, P.G., Ananda, A.L., Chan, M.C., Balan, R.K.: Adaptive display power management for mobile games. In Proceedings of the International Conference on Mobile Systems, Applications and Services (MobiSys), 57–70 (2011) Anand, B., Thirugnanam, K., Sebastian, J., Kannan, P.G., Ananda, A.L., Chan, M.C., Balan, R.K.: Adaptive display power management for mobile games. In Proceedings of the International Conference on Mobile Systems, Applications and Services (MobiSys), 57–70 (2011)
7.
Zurück zum Zitat Choi, K., Dantu, K., Cheng, W.-C., Pedram, M.: Frame-based dynamic voltage and frequency scaling for a MPEG decoder. In Proceedings of the International Conference on Computer-aided design (ICCAD), 732–737 (2002) Choi, K., Dantu, K., Cheng, W.-C., Pedram, M.: Frame-based dynamic voltage and frequency scaling for a MPEG decoder. In Proceedings of the International Conference on Computer-aided design (ICCAD), 732–737 (2002)
8.
Zurück zum Zitat Choi, K., Soma, R., Pedram, M.: Fine-grained dynamic voltage and frequency scaling for precise energy and performance tradeoff based on the ratio of off-chip access to on-chip computation times. Comput. Aided Des. Integr. Circuits Syst. IEEE Transactions on 24(1), 18–28 (2005) Choi, K., Soma, R., Pedram, M.: Fine-grained dynamic voltage and frequency scaling for precise energy and performance tradeoff based on the ratio of off-chip access to on-chip computation times. Comput. Aided Des. Integr. Circuits Syst. IEEE Transactions on 24(1), 18–28 (2005)
9.
Zurück zum Zitat Claypool, M., Claypool, K., Dama, F.: The effects of frame rate and resolution on users playing first person shooter games. In Proceedings of ACM/SPIE Multimedia Computing and Networking (MMCN), 1–11 (2006) Claypool, M., Claypool, K., Dama, F.: The effects of frame rate and resolution on users playing first person shooter games. In Proceedings of ACM/SPIE Multimedia Computing and Networking (MMCN), 1–11 (2006)
10.
Zurück zum Zitat Dietrich, B., Nunna, S., Goswami, D., Chakraborty, S., Gries, M.: LMS-based low-complexity game workload prediction for DVFS. In Proceedings of the International Conferernce on Computer Design (ICCD), 417–424 (2010) Dietrich, B., Nunna, S., Goswami, D., Chakraborty, S., Gries, M.: LMS-based low-complexity game workload prediction for DVFS. In Proceedings of the International Conferernce on Computer Design (ICCD), 417–424 (2010)
11.
Zurück zum Zitat Dietrich, B., Chakraborty, S.: Managing power for closed-source android os games by lightweight graphics instrumentation. In Workshop on Network and Systems Support for Games (NetGames), 1–3 (2012) Dietrich, B., Chakraborty, S.: Managing power for closed-source android os games by lightweight graphics instrumentation. In Workshop on Network and Systems Support for Games (NetGames), 1–3 (2012)
14.
Zurück zum Zitat Gu, Y., Chakraborty, S.: Control theory-based DVS for interactive 3D games. In Proceedings of the Design Automation Conference (DAC), 740–745 (2008) Gu, Y., Chakraborty, S.: Control theory-based DVS for interactive 3D games. In Proceedings of the Design Automation Conference (DAC), 740–745 (2008)
15.
Zurück zum Zitat Gu, Y., Chakraborty, S.: A hybrid DVS scheme for interactive 3D games. In Proceedings of the Real-Time and Embedded Technology and Applications Symposium (RTAS), 3–12 (2008) Gu, Y., Chakraborty, S.: A hybrid DVS scheme for interactive 3D games. In Proceedings of the Real-Time and Embedded Technology and Applications Symposium (RTAS), 3–12 (2008)
16.
Zurück zum Zitat Gu, Y., Chakraborty, S.: Power management of interactive 3D games using frame structures. In Proceedings of the International Conference on VLSI Design (VLSID), 679–684 (2008) Gu, Y., Chakraborty, S.: Power management of interactive 3D games using frame structures. In Proceedings of the International Conference on VLSI Design (VLSID), 679–684 (2008)
17.
Zurück zum Zitat Gu, Y., Chakraborty, S., Ooi, W.T.: Games are up for DVFS. In Proceedings of the Design Automation Conference (DAC), 598–603 (2006) Gu, Y., Chakraborty, S., Ooi, W.T.: Games are up for DVFS. In Proceedings of the Design Automation Conference (DAC), 598–603 (2006)
18.
Zurück zum Zitat Hosseini, M., Fedorova, A., Peters, J., Shirmohammadi, S.: Energy-aware adaptations in mobile 3D graphics. In ACM Multimedia, 1017–1020 (2012) Hosseini, M., Fedorova, A., Peters, J., Shirmohammadi, S.: Energy-aware adaptations in mobile 3D graphics. In ACM Multimedia, 1017–1020 (2012)
19.
Zurück zum Zitat Hughes, C.J., Adve, S.V.: A formal approach to frequent energy adaptations for multimedia applications. In Proceedings of the International Symposium on Computer Architecture (ISCA), 138 (2004) Hughes, C.J., Adve, S.V.: A formal approach to frequent energy adaptations for multimedia applications. In Proceedings of the International Symposium on Computer Architecture (ISCA), 138 (2004)
22.
Zurück zum Zitat Ma, X., Dong, M., Zhong, L., Deng, Z.: Performance and power consumption characterization of 3D mobile games. Computer, 48(4), 76–82 (2013) Ma, X., Dong, M., Zhong, L., Deng, Z.: Performance and power consumption characterization of 3D mobile games. Computer, 48(4), 76–82 (2013)
23.
Zurück zum Zitat Mallik, A., Lin, B., Memik, G., Dinda, P., Dick, R.P.: User-driven frequency scaling. IEEE Computer Architecture Letters 5(2), 16 (2006)CrossRef Mallik, A., Lin, B., Memik, G., Dinda, P., Dick, R.P.: User-driven frequency scaling. IEEE Computer Architecture Letters 5(2), 16 (2006)CrossRef
24.
Zurück zum Zitat Marple Jr, S.: Digital spectral analysis with applications. Prentice Hall, Englewood Cliffs, NJ (1987) Marple Jr, S.: Digital spectral analysis with applications. Prentice Hall, Englewood Cliffs, NJ (1987)
25.
Zurück zum Zitat Mochocki, B., Lahiri, K., Cadambi, S.: Power analysis of mobile 3D graphics. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE), 502–507 (2006) Mochocki, B., Lahiri, K., Cadambi, S.: Power analysis of mobile 3D graphics. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE), 502–507 (2006)
26.
Zurück zum Zitat Pandaboard.org. Pandaboard ES—System Reference Manual (2011) Pandaboard.org. Pandaboard ES—System Reference Manual (2011)
27.
Zurück zum Zitat Sedgewick, R.: Algorithms in C—Parts 1–4: fundamentals, data structures, sorting, searching. Addison-Wesley-Longman, third edition (1998) Sedgewick, R.: Algorithms in C—Parts 1–4: fundamentals, data structures, sorting, searching. Addison-Wesley-Longman, third edition (1998)
28.
Zurück zum Zitat Texas Instruments. Mixed Signal Controller, MSP430F551x datasheet, March 2009 [Revised Feb. 2013] Texas Instruments. Mixed Signal Controller, MSP430F551x datasheet, March 2009 [Revised Feb. 2013]
29.
Zurück zum Zitat Texas Instruments. Voltage Output, High or Low Side Measurement, Bi-Directional Zero-Drift Current Shunt Monitor, INA199A2 datasheet, May 2009 [Revised Nov. 2012] Texas Instruments. Voltage Output, High or Low Side Measurement, Bi-Directional Zero-Drift Current Shunt Monitor, INA199A2 datasheet, May 2009 [Revised Nov. 2012]
30.
Zurück zum Zitat Texas Instruments. 3A Processor Supply with I2C Compatible Interface and Remote Sense, TPS62362 datasheet, May 2011 [Revised Nov. 2012] Texas Instruments. 3A Processor Supply with I2C Compatible Interface and Remote Sense, TPS62362 datasheet, May 2011 [Revised Nov. 2012]
31.
Zurück zum Zitat Texas Instruments. OMAP4460 Multimedia Device, OMAP4460 datasheet, January (2012) Texas Instruments. OMAP4460 Multimedia Device, OMAP4460 datasheet, January (2012)
32.
Zurück zum Zitat Yuan, W., Nahrstedt, K., Adve, S.V., Jones, D.L., Kravets, R.: Grace-1: cross-layer adaptation for multimedia quality and battery energy. IEEE Transactions on Mobile Computing 5(7), 799–815 (2006)CrossRef Yuan, W., Nahrstedt, K., Adve, S.V., Jones, D.L., Kravets, R.: Grace-1: cross-layer adaptation for multimedia quality and battery energy. IEEE Transactions on Mobile Computing 5(7), 799–815 (2006)CrossRef
Metadaten
Titel
Lightweight graphics instrumentation for game state-specific power management in Android
verfasst von
Benedikt Dietrich
Samarjit Chakraborty
Publikationsdatum
01.10.2014
Verlag
Springer Berlin Heidelberg
Erschienen in
Multimedia Systems / Ausgabe 5/2014
Print ISSN: 0942-4962
Elektronische ISSN: 1432-1882
DOI
https://doi.org/10.1007/s00530-014-0377-x

Weitere Artikel der Ausgabe 5/2014

Multimedia Systems 5/2014 Zur Ausgabe

Neuer Inhalt