eScope: A Fine-Grained Power Prediction Mechanism for Mobile Applications
Dipayan Mukherjee, Atul Sandur, Kirill Mechitov, Pratik Lahiri, Gul Agha
TL;DR
eScope tackles the challenge of estimating energy use for mobile video analytics without hardware-specific power models or instrumented code. It collects device-level energy data and concurrent operator traces to train a run-time power predictor that maps operator execution times to power costs, yielding device-specific models deployed on the device. Across synthetic and real workloads, eScope achieves about 97% drain-interval prediction accuracy with under 3% overhead, rivaling or exceeding prior approaches while avoiding code instrumentation. The approach enables dynamic, input-aware energy management and can integrate with energy-aware placement and remote-offloading strategies, offering a practical path to extending mobile battery life in resource-intensive applications.
Abstract
Managing the limited energy on mobile platforms executing long-running, resource intensive streaming applications requires adapting an application's operators in response to their power consumption. For example, the frame refresh rate may be reduced if the rendering operation is consuming too much power. Currently, predicting an application's power consumption requires (1) building a device-specific power model for each hardware component, and (2) analyzing the application's code. This approach can be complicated and error-prone given the complexity of an application's logic and the hardware platforms with heterogeneous components that it may execute on. We propose eScope, an alternative method to directly estimate power consumption by each operator in an application. Specifically, eScope correlates an application's execution traces with its device-level energy draw. We implement eScope as a tool for Android platforms and evaluate it using workloads on several synthetic applications as well as two video stream analytics applications. Our evaluation suggests that eScope predicts an application's power use with 97% or better accuracy while incurring a compute time overhead of less than 3%.
