Abstract
Resource-limited mobile embedded systems can benefit greatly from dynamic adaptation of system parameters. We propose a novel approach that employs iterative tuning using lightweight formal verification at runtime with feedback for dynamic adaptation. One objective of this approach is to enable trade-off analysis across multiple layers (e.g., application, middleware, OS) and predict the possible property violations as the system evolves dynamically over time. Specifically, an executable formal specification is developed for each layer of the mobile system under consideration. The formal specification is then analyzed using statistical property checking and statistical quantitative analysis, to determine the impact of various resource management policies for achieving desired timing/QoS properties. Integration of formal analysis with dynamic behavior from system execution results in a feedback loop that enables model refinement and further optimization of policies and parameters. We demonstrate the applicability of this approach to the adaptive provisioning of resource-limited distributed real-time systems using a mobile multimedia case study.
- Abdelwahed, S., Kandasamy, N., and Neema, S. 2004. Online control for self-management in computing systems. In Proceedings of the 10th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS'04). 368. Google Scholar
Digital Library
- Acquaviva, A., Aldini, A., Bernardo, M., Bogliolo, A., Bonta, E., and Lattanzi, E. 2004. Assessing the impact of dynamic power management on the functionality and the performance of battery-powered appliances. In Proceedings of the International Conference on Dependable Systems and Networks (DSN'04). 731. Google Scholar
Digital Library
- Agha, G. A., Meseguer, J., and Sen, K. 2006. PMaude: Rewrite-based specification language for probabilistic object systems. Electr. Notes Theor. Comput. Sci. 153, 2, 213--239. Google Scholar
Digital Library
- Aziz, A., Sanwal, K., Singhal, V., and Brayton, R. K. 1996. Verifying continuous-time Markov chains. In Proceedings of the 8th International Conference on Computer Aided Verification (CAV'96). 269--276. Google Scholar
Digital Library
- Baier, C., Katoen, J.-P., and Hermanns, H. 1999. Approximate symbolic model checking of continuous-time Markov chains. In Proceedings of the International Conference on Concurrency Theory. 146--161. Google Scholar
Digital Library
- Clavel, M., Durán, F., Eker, S., Lincoln, P., Martí-Oliet, N., Meseguer, J., and Talcott, C. 2007. All about Maude, a high-performance logical framework. In Lecture Notes in Computer Science, vol. 4350, Springer, Berlin. Google Scholar
Digital Library
- Cloth, L. and Haverkort, B. R. 2008. Quantitative evaluation in embedded system design: Predicting battery lifetime in mobile devices. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE'08). ACM, New York, NY, 90--91. Google Scholar
Digital Library
- Han, Q. and Venkatasubramanian, N. 2001. AutoSeC: An integrated middleware framework for dynamic service brokering. IEEE Distrib. Syst. Online 2, 7.Google Scholar
- Hogg, R. and Craig, A. 1995. Introduction to Mathematical Statistics 5th Ed. Pearson.Google Scholar
- Im, C., Ha, S., and Kim, H. 2004. Dynamic voltage scheduling with buffers in low-power multimedia applications. Trans. Embedd. Comput. Syst. 3, 4, 686--705. Google Scholar
Digital Library
- Jansen, D. N., Katoen, J.-P., Oldenkamp, M., Stoelinga, M., and Zapreev, I. S. 2007. How fast and fat is your probabilistic model checker? An experimental performance comparison. In Proceedings of the Haifa Verification Conference. Lecture Notes in Computer Science, vol. 4899, Springer, 69--85. Google Scholar
Digital Library
- Jarque, C. and Bera, A. 1987. A test for normality of observations and regression residuals. Int. Statist. Rev. 55, 2, 163--172.Google Scholar
Cross Ref
- Jeannet, B., D'Argenio, P. R., and Larsen, K. G. 2002. RAPTURE: A tool for verifying Markov decision processes. In Proceedings of the International Conference on Concurrency Theory.Google Scholar
- Jonsson, B. and Larsen, K. G. 1991. Specification and refinement of probabilistic processes. In Proceedings of the Logic in Computer Science Symposium (LICS). IEEE Computer Society, 266--277.Google Scholar
- Katoen, J.-P., Zapreev, I. S., Hahn, E. M., Hermanns, H., and Jansen, D. N. 2009. The ins and outs of the probabilistic model checker MRMC. In Quantitative Evaluation of Systems (QEST), IEEE Computer Society, 167--176. www.mrmc-tool.org. Google Scholar
Digital Library
- Kim, M., Dutt, N., and Venkatasubramanian, N. 2006. Policy construction and validation for energy minimization in cross layered systems: A formal method approach. In Proceedings of RTAS'06 (WiP Session). 25--28.Google Scholar
- Kim, M. and Ha, S. 2001. Hybrid run-time power management technique for real-time embedded system with voltage scalable processor. In Proceedings of the ACM Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES). ACM, 11--19. Google Scholar
Digital Library
- Kim, M., Oh, H., Dutt, N., Nicolau, A., and Venkatasubramanian, N. 2006. PBPAIR: An energy-efficient error-resilient encoding using probability based power aware intra refresh. ACM SIGMOBILE Mob. Comput. Comm. Rev. 10, 3, 58--69. Google Scholar
Digital Library
- Kim, M., Stehr, M.-O., Talcott, C., Dutt, N., and Venkatasubramanian, N. 2007a. Combining formal verification with observed system execution behavior to tune system parameters. In Proceedings of FORMATS'07. Lecture Notes in Computer Science, vol. 4763, 257--273. Google Scholar
Digital Library
- Kim, M., Stehr, M.-O., Talcott, C., Dutt, N., and Venkatasubramanian, N. 2007b. Modeling and exploiting cross-layer optimization in distributed embedded systems. Tech. rep. SRI-CSL-07-02, SRI International.Google Scholar
- Kim, M., Stehr, M.-O., Talcott, C., Dutt, N., and Venkatasubramanian, N. 2007c. A probabilistic formal analysis approach to cross layer optimization in distributed embedded systems. In Proceedings of FMOODS'07. Lecture Notes in Computer Science, vol. 4468, 285--300. Google Scholar
Digital Library
- Kim, M., Stehr, M.-O., Talcott, C., Dutt, N., and Venkatasubramanian, N. 2008. Constraint refinement for online verifiable cross-layer system adaptation. In Proceedings of the Design, Automation and Test in Europe Conference and Exposition (DATE'08). Google Scholar
Digital Library
- Kumar, N., Sen, K., Meseguer, J., and Agha, G. 2003. A rewriting based model for probabilistic distributed object systems. In Proceedigs of FMOODS'03. Lecture Notes in Computer Science, vol. 2884, 32--46.Google Scholar
Cross Ref
- Kwiatkowska, M., Norman, G., and Parker, D. 2005. Quantitative analysis with the probabilistic model checker PRISM. Electr. Notes Theor. Comp. Sci. 153, 2, 5--31. Google Scholar
Digital Library
- Li, B. and Nahrstedt, K. 1999. A control-based middleware framework for quality of service adaptations. IEEE J. Select. Areas Comm. 17, 9, 1632--1650. Google Scholar
Digital Library
- Lorch, J. R. 2001. Operating systems techniques for reducing processor energy consumption. Ph.D. thesis, University of California, Berkeley. Google Scholar
Digital Library
- Lu, Z., Hein, J., Humphrey, M., Stan, M., Lach, J., and Skadron, K. 2002. Control-theoretic dynamic frequency and voltage scaling for multimedia workloads. In Proceedings of the International Conference on Compilers, Architecture, and Synthesis for Embedded Systems. 156--163. Google Scholar
Digital Library
- McCabe, G. P. and Moore, D. S. 2005. Introduction to the Practice of Statistics 5th Ed. W.H. Freeman.Google Scholar
- Meseguer, J. 1992. Conditional Rewriting Logic as a unified model of concurrency. Theor. Comput. Sci. 96, 1, 73--155. Google Scholar
Digital Library
- Mohapatra, S., Cornea, R., Oh, H., Lee, K., Kim, M., Dutt, N. D., Gupta, R., Nicolau, A., Shukla, S. K., and Venkatasubramanian, N. 2005. A cross-layer approach for power-performance optimization in distributed mobile systems. In Proceedings of IPDPS'05. Google Scholar
Digital Library
- Mohapatra, S., Dutt, N., Nicolau, A., and Venkatasubramanian, N. 2007. DYNAMO: A cross-layer framework for end-to-end QoS and energy optimization in mobile handheld devices. IEEE J. Select. Areas Comm. 25, 4, 722--737. Google Scholar
Digital Library
- Norman, G., Parker, D., Kwiatkowska, M., Shukla, S., and Gupta, R. 2005. Using probabilistic model checking for dynamic power management. Formal Aspects Comput. 17, 2, 160--176. Google Scholar
Cross Ref
- Olsen, C. M. and Narayanaswami, C. 2003. A work dependent OS timing scheme for power management: Implementation in Linux and modeling of energy savings. Internet draft, IBM.Google Scholar
- Ölveczky, P. C. and Meseguer, J. 2007. Semantics and pragmatics of real-time Maude. Higher-Order Symbol. Comput. 20, 1-2, 161--196. Google Scholar
Digital Library
- Qiu, Q., Wu, Q., and Pedram, M. 2001. Dynamic power management in a mobile multimedia system with guaranteed quality-of-service. In Proceedings of DAC'01. 834--839. Google Scholar
Digital Library
- Rabih, D. E. and Pekergin, N. 2009. Statistical model checking using perfect simulation. In Proceedings of ATVA. Lecture Notes in Computer Science, vol. 5799, Springer, 120--134. Google Scholar
Digital Library
- Sen, K., Viswanathan, M., and Agha, G. 2004. Statistical model checking of black-box probabilistic systems. In Proceedings of CAV'04. 202--215.Google Scholar
- Sen, K., Viswanathan, M., and Agha, G. 2006. Model-checking Markov chains in the presence of uncertainties. In Proceedings of TACAS. Lecture Notes in Computer Science, vol. 3920, Springer, 394--410. Google Scholar
Digital Library
- Siminiceanu, R. I. and Ciardo, G. 2007. Formal verification of the NASA runway safety monitor. Int. J. Softw. Tools Technol. Transf. 9, 1, 63--76. Google Scholar
Digital Library
- TMN 10. 1998. TMN 10 (H.263+), ver. 3.2.0. Image Process. Laboratory, University of British Columbia.Google Scholar
- Wald, A. 1945. Sequential tests of statistical hypotheses. Annals Mathem. Statis. 16, 2, 117--186.Google Scholar
Cross Ref
- Wu, C.-C., Chen, K.-T., Chang, Y.-C., and Lei, C.-L. 2009. An empirical evaluation of VoIP playout buffer dimensioning in Skype, Google talk, and MSN messenger. In Proceedings of NOSSDAV'09. Google Scholar
Digital Library
- Younes, H., Kwiatkowska, M., Norman, G., and Parker, D. 2006. Numerical vs. statistical probabilistic model checking. Int. J. Softw. Tools Technol. Transf. 8, 3, 216--228. Google Scholar
Digital Library
- Yuan, W., Nahrstedt, K., Adve, S. V., Jones, D. L., and Kravets, R. H. 2006. Grace-1: Cross-layer adaptation for multimedia quality and battery energy. IEEE Trans. Mobile Comput. 5, 7, 799--815. Google Scholar
Digital Library
- Zhu, Y. and Mueller, F. 2005. Feedback EDF scheduling exploiting hardware-assisted asynchronous dynamic voltage scaling. In Proceedings of the ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems. 203--212. Google Scholar
Digital Library
Index Terms
xTune: A formal methodology for cross-layer tuning of mobile embedded systems
Recommendations
A Formal Framework for ASTRAL Intralevel Proof Obligations
ASTRAL is a formal specification language for real-time systems. It is intended to support formal software development, and therefore has been formally defined. This paper focuses on how to formally prove the mathematical correctness of ASTRAL ...
Towards the Composition of Specifications in Event-B
The development of a system can start with the creation of a specification. Following this viewpoint, we claim that often a specification can be constructed from the combination of specifications which can be seen as composition. Event-B is a formal ...






Comments