Assessing mobile applications performance and energy consumption through experiments and Stochastic models

Energy consumption, execution time, and availability are common terms in discussions on application development for mobile devices. Mobile applications executing in a mobile cloud computing (MCC) environment must consider several issues, such as Internet connections problems and CPU performance. Misconceptions during the design phase can have a significant impact on costs and time-to-market, or even make the application development unfeasible. Anticipating the best configuration for each type of application is a challenge that many developers are not prepared to tackle. In this work, we propose models to rapidly estimate execution time, availability, and energy consumption of mobile applications executing in an MCC environment. We defined a methodology to create and validate Deterministic and Stochastic Petri net (DSPN) models to evaluate these three critical metrics. The DSPNs results were compared with results obtained through experiments performed on a testbed environment. We analyzed an image processing application, regarding connections type (WLAN, WiFi, and 3G), servers type (MCC or cloudlet), and functionalities performance. Our numerical analyses indicate, for instance, that the use of a cloudlet significantly improves performance and energy efficiency. Besides, the baseline scenario took us one month to implement, while modeling and evaluation the three scenarios required less than one day. In this way, our DSPN models represent a powerful tool for mobile developers to plan efficient and cost-effective mobile applications. They allow rapidly assess execution time, availability, and energy consumption metrics to improve the quality of mobile applications.

[1]  Lei Yang,et al.  Accurate online power estimation and automatic battery behavior based power model generation for smartphones , 2010, 2010 IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[2]  Kishor S. Trivedi,et al.  Transient performance analysis of smart grid with dynamic power distribution , 2018, Inf. Sci..

[3]  Fernando Antônio Aires Lins,et al.  Invasive technique for measuring the energy consumption of mobile devices applications in mobile cloud environments , 2017, 2017 IEEE International Conference on Systems, Man, and Cybernetics (SMC).

[4]  Chonho Lee,et al.  A survey of mobile cloud computing: architecture, applications, and approaches , 2013, Wirel. Commun. Mob. Comput..

[5]  Jamilson Dantas,et al.  Availability Evaluation and Sensitivity Analysis of a Mobile Backend‐as‐a‐service Platform , 2016, Qual. Reliab. Eng. Int..

[6]  Marco Ajmone Marsan,et al.  On Petri nets with deterministic and exponentially distributed firing times , 1986, European Workshop on Applications and Theory of Petri Nets.

[7]  Arun Venkataramani,et al.  Energy consumption in mobile phones: a measurement study and implications for network applications , 2009, IMC '09.

[8]  Amala V. Rajan,et al.  A critical overview of latest challenges and solutions of Mobile Cloud Computing , 2017, 2017 Second International Conference on Fog and Mobile Edge Computing (FMEC).

[9]  Marco Ajmone Marsan,et al.  Modelling with Generalized Stochastic Petri Nets , 1995, PERV.

[10]  Elton Torres,et al.  A hierarchical approach for availability and performance analysis of private cloud storage services , 2018, Computing.

[11]  Paulo Romero Martins Maciel,et al.  Availability and Energy Consumption Analysis of Mobile Cloud Environments , 2013, 2013 IEEE International Conference on Systems, Man, and Cybernetics.

[12]  Yunxin Liu,et al.  Demo: FROG: Optimizing Power Consumption of Mobile Games Using Perception-Aware Frame Rate Scaling , 2017, MobiCom.

[13]  C. Petri Kommunikation mit Automaten , 1962 .

[14]  Dong Seong Kim,et al.  Availability modeling and analysis of a data center for disaster tolerance , 2016, Future Gener. Comput. Syst..

[15]  Ronan Farrell,et al.  Value-Chain Engineering of a Tower-Top Cellular Base Station System , 2007, 2007 IEEE 65th Vehicular Technology Conference - VTC2007-Spring.

[16]  Eliot Winer,et al.  Evaluating the Microsoft HoloLens through an augmented reality assembly application , 2017, Defense + Security.

[17]  Mario Di Francesco,et al.  Performance evaluation of remote display access for mobile cloud computing , 2015, Comput. Commun..

[18]  Paramvir Bahl,et al.  The Case for VM-Based Cloudlets in Mobile Computing , 2009, IEEE Pervasive Computing.

[19]  Marco Ajmone Marsan,et al.  Petri Nets in Performance Analysis: An Introduction , 1996, Petri Nets.

[20]  Ermeson Andrade,et al.  Performability Evaluation of a Cloud-Based Disaster Recovery Solution for IT Environments , 2018, Journal of Grid Computing.

[21]  Eduardo Tavares,et al.  A Modeling Approach for Cloud Infrastructure Planning Considering Dependability and Cost Requirements , 2015, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[22]  Yonggang Wen,et al.  Energy-efficient scheduling policy for collaborative execution in mobile cloud computing , 2013, 2013 Proceedings IEEE INFOCOM.

[23]  Gustavo Rau de Almeida Callou,et al.  Availability modeling and analysis of a disaster-recovery-as-a-service solution , 2017, Computing.

[24]  Ray Jain,et al.  The art of computer systems performance analysis - techniques for experimental design, measurement, simulation, and modeling , 1991, Wiley professional computing.

[25]  Yaser Jararweh,et al.  Energy Optimisation for Mobile Device Power Consumption: A Survey and a Unified View of Modelling for a Comprehensive Network Simulation , 2016, Mob. Networks Appl..

[26]  Paulo Romero Martins Maciel,et al.  Transforming UML state machines into stochastic Petri nets for energy consumption estimation of embedded systems , 2012, 2012 Sustainable Internet and ICT for Sustainability (SustainIT).

[27]  Jamilson Dantas,et al.  An availability model for eucalyptus platform: An analysis of warm-standy replication mechanism , 2012, 2012 IEEE International Conference on Systems, Man, and Cybernetics (SMC).

[28]  Klara Nahrstedt,et al.  Energy-efficient soft real-time CPU scheduling for mobile multimedia systems , 2003, SOSP '03.

[29]  Mahadev Satyanarayanan,et al.  Fundamental challenges in mobile computing , 1996, PODC '96.

[30]  Ralf Klamma,et al.  Mobile Cloud Computing: A Comparison of Application Models , 2011, ArXiv.

[31]  Bharat K. Bhargava,et al.  A Survey of Computation Offloading for Mobile Systems , 2012, Mobile Networks and Applications.

[32]  Bo Li,et al.  Gearing resource-poor mobile devices with powerful clouds: architectures, challenges, and applications , 2013, IEEE Wireless Communications.

[33]  Kishor S. Trivedi Probability and Statistics with Reliability, Queuing, and Computer Science Applications , 1984 .

[34]  André Brinkmann,et al.  Advanced Stochastic Petri Net Modeling with the Mercury Scripting Language , 2017, VALUETOOLS.

[35]  Dmitrii Zagorodnov,et al.  Eucalyptus: an open-source cloud computing infrastructure , 2009 .

[36]  Brian Randell,et al.  Fundamental Concepts of Dependability , 2000 .