skip to main content
research-article

xTune: A formal methodology for cross-layer tuning of mobile embedded systems

Published:01 January 2013Publication History
Skip Abstract Section

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.

References

  1. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  2. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  3. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  4. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  5. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  6. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  7. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  8. Han, Q. and Venkatasubramanian, N. 2001. AutoSeC: An integrated middleware framework for dynamic service brokering. IEEE Distrib. Syst. Online 2, 7.Google ScholarGoogle Scholar
  9. Hogg, R. and Craig, A. 1995. Introduction to Mathematical Statistics 5th Ed. Pearson.Google ScholarGoogle Scholar
  10. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  11. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  12. Jarque, C. and Bera, A. 1987. A test for normality of observations and regression residuals. Int. Statist. Rev. 55, 2, 163--172.Google ScholarGoogle ScholarCross RefCross Ref
  13. 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 ScholarGoogle Scholar
  14. 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 ScholarGoogle Scholar
  15. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  16. 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 ScholarGoogle Scholar
  17. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  18. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  19. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  20. 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 ScholarGoogle Scholar
  21. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  22. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  23. 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 ScholarGoogle ScholarCross RefCross Ref
  24. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  25. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  26. Lorch, J. R. 2001. Operating systems techniques for reducing processor energy consumption. Ph.D. thesis, University of California, Berkeley. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  28. McCabe, G. P. and Moore, D. S. 2005. Introduction to the Practice of Statistics 5th Ed. W.H. Freeman.Google ScholarGoogle Scholar
  29. Meseguer, J. 1992. Conditional Rewriting Logic as a unified model of concurrency. Theor. Comput. Sci. 96, 1, 73--155. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  31. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  32. 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 ScholarGoogle ScholarCross RefCross Ref
  33. 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 ScholarGoogle Scholar
  34. Ölveczky, P. C. and Meseguer, J. 2007. Semantics and pragmatics of real-time Maude. Higher-Order Symbol. Comput. 20, 1-2, 161--196. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  36. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  37. Sen, K., Viswanathan, M., and Agha, G. 2004. Statistical model checking of black-box probabilistic systems. In Proceedings of CAV'04. 202--215.Google ScholarGoogle Scholar
  38. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  39. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  40. TMN 10. 1998. TMN 10 (H.263+), ver. 3.2.0. Image Process. Laboratory, University of British Columbia.Google ScholarGoogle Scholar
  41. Wald, A. 1945. Sequential tests of statistical hypotheses. Annals Mathem. Statis. 16, 2, 117--186.Google ScholarGoogle ScholarCross RefCross Ref
  42. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  43. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  44. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  45. 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 ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. xTune: A formal methodology for cross-layer tuning of mobile embedded systems

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader
      About Cookies On This Site

      We use cookies to ensure that we give you the best experience on our website.

      Learn more

      Got it!