skip to main content
10.1145/2814576.2814803acmconferencesArticle/Chapter ViewAbstractPublication PagesmiddlewareConference Proceedingsconference-collections
research-article
Free access

Managing the Energy-Delay Tradeoff in Mobile Applications with Tempus

Published: 24 November 2015 Publication History

Abstract

Energy-efficiency is a critical concern in continuously-running mobile applications, such as those for health and context monitoring. An attractive approach to saving energy in such applications is to defer the execution of delay-tolerant operations until a time when they would consume less energy. However, introducing delays to save power may have a detrimental impact on the user experience. To address this problem, we present Tempus, a new approach to managing the trade-off between energy savings and delay. Tempus saves power by enabling programmers to annotate power-hungry operations with states that specify when the operation can be executed to save energy. The impact of power management on timeliness is managed by associating delay budgets with objects that contain time-sensitive data. A static analysis and the run-time service ensure that power management policies will not delay an object more than its assigned budget. We demonstrate the expressive power of Tempus through a case study of optimizing two real-world applications. Furthermore, laboratory experiments show that Tempus may effectively manage the energy-delay trade-off on realistic workloads. For example, in a news application, five Tempus annotations may be used to create a policy that reduces the latency of downloading images 10 times compared to the original implementation without affecting energy consumption. Our experiments also indicate that the overhead of tracking budgets in Tempus is small.

References

[1]
Air Quality Index (AQI) Basics. http://airnow.gov/index.cfm?action=aqibasics.aqi.
[2]
Bittorrentsync. http://www.bittorrent.com/sync.
[3]
Dropbox. https://www.dropbox.com/.
[4]
Fitbit. http://www.fitbit.com/android.
[5]
Monsoon Solutions - Power Monitor. http://msoon.com/LabEquipment/PowerMonitor/.
[6]
Npr news android application. http://www.npr.org/services/mobile/android.php.
[7]
ohmage. http://ohmage.org/.
[8]
S. Arzt, S. Rasthofer, C. Fritz, E. Bodden, A. Bartel, J. Klein, Y. Le Traon, D. Octeau, and P. McDaniel. Flowdroid: Precise context, flow, field, object-sensitive and lifecycle-aware taint analysis for Android apps. In Proceedings of PLDI, page 29. ACM, 2014.
[9]
M. Cohen, H. S. Zhu, E. E. Senem, and Y. D. Liu. Energy types. In ACM SIGPLAN Notices, volume 47, pages 831--850, 2012.
[10]
M. Lin, N. D. Lane, M. Mohammod, X. Yang, H. Lu, G. Cardone, S. Ali, A. Doryab, E. Berke, A. T. Campbell, et al. Bewell+: multi-dimensional wellbeing monitoring with community-guided user feedback and energy optimization. In Proceedings of WH, 2012.
[11]
N. Nikzad, O. Chipara, and W. G. Griswold. APE: an annotation language and middleware for energy-efficient mobile application development. In Proceedings of ICSE, 2014.
[12]
N. Nikzad, N. Verma, C. Ziftci, E. Bales, N. Quick, P. Zappi, K. Patrick, S. Dasgupta, I. Krueger, T. v. Rosing, and W. G. Griswold. Citisense: Improving geospatial environmental assessment of air quality using a wireless personal exposure monitoring system. In Proceedings of WH, 2012.
[13]
J. Polastre, J. Hill, and D. Culler. Versatile low power media access for wireless sensor networks. In Proceedings of SenSys, 2004.
[14]
M.-R. Ra, J. Paek, A. B. Sharma, R. Govindan, M. H. Krieger, and M. J. Neely. Energy-delay tradeoffs in smartphone applications. In Proceedings of MobiSys.
[15]
L. Ravindranath, S. Agarwal, J. Padhye, and C. Riederer. Procrastinator: Pacing mobile apps' usage of the network. In Proceedings of MobiSys, 2014.
[16]
A. Sampson, W. Dietl, E. Fortuna, D. Gnanapragasam, L. Ceze, and D. Grossman. Enerj: Approximate data types for safe and general low-power computation. In ACM SIGPLAN Notices, volume 46, pages 164--174. ACM, 2011.
[17]
V. Srinivasan, G. R. Shenoy, S. Vaddagiri, D. Sarma, and V. Pallipadi. Energy-aware task and interrupt management in linux. In Ottawa Linux Symposium.
[18]
R. Vallée-Rai, P. Co, E. Gagnon, L. Hendren, P. Lam, and V. Sundaresan. Soot-a Java bytecode optimization framework. In Proceedings of CASCON, 1999.
[19]
V. Venkatachalam and M. Franz. Power reduction techniques for microprocessor systems. ACM Computing Surveys (CSUR), 37(3):195--237, 2005.
[20]
F. Xu, Y. Liu, T. Moscibroda, R. Chandra, L. Jin, Y. Zhang, and Q. Li. Optimizing background email sync on smartphones. In Proceeding of MobiSys, 2013.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
Middleware '15: Proceedings of the 16th Annual Middleware Conference
November 2015
295 pages
ISBN:9781450336185
DOI:10.1145/2814576
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: 24 November 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Mobile applications
  2. annotations
  3. energy-efficiency
  4. programming

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

Conference

Middleware '15
Sponsor:
  • ACM
  • USENIX Assoc
  • IFIP
Middleware '15: 16th International Middleware Conference
December 7 - 11, 2015
BC, Vancouver, Canada

Acceptance Rates

Middleware '15 Paper Acceptance Rate 23 of 118 submissions, 19%;
Overall Acceptance Rate 203 of 948 submissions, 21%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)94
  • Downloads (Last 6 weeks)13
Reflects downloads up to 09 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media