ZUNINO SUAREZ Alejandro Octavio
A platform for automating battery-driven batch benchmarking and profiling of Android-based mobile devices
HIRSCH, MATÍAS; MATEOS, CRISTIAN; ZUNINO, ALEJANDRO; TOLOZA, JUAN
SIMULATION MODELLING PRACTICE AND THEORY
ELSEVIER SCIENCE BV
Año: 2021 vol. 109
In-laboratory mobile device data gathering is useful to support fields of study that rely on data derived from mobile devices as elementary research input. Particularly, Dew Computing, a sub-area of mobile distributed computing, aims at scavenging idle computing resources from mobile devices at the edge. To produce repeatable experiments for developed Dew approaches, simulation of relevant mobile device aspects is an acceptable practice, being battery behavior one of such aspects. Our recently-proposed DewSim simulation toolkit uses a trace-based approach to model battery behavior realistically. However, to generically characterize the impact of different device components ? e.g., CPU at different usages ? on battery behavior, it is necessary to easily capture battery traces, and run benchmarks to quantify computing capabilities. Considering that traces are captured during long charging or discharging cycles, such data gathering duty is tedious and time-consuming and no tool has been proposed yet to automate it. To fill this gap, we propose a platform that leverages common IoT hardware to control battery state of devices subject to pre-configured profiling/benchmarking plans. The platform has a server-side component to manage benchmark/profiling executions using one out of two possible operation modes (exclusive or shared), and an extensible Android application that implements the benchmark and profiling logic to be run on devices. We conclude that the operation modes represent a clear trade-off between benchmark/profile execution time and IoT hardware cost. From validation experiments, we also conclude that using our platform to run a benchmark does not introduce a considerable performance and energy footprint compared to running the same benchmark as a plain Android application.