Academia.eduAcademia.edu

Outline

Let's get less optimistic in measurement-based timing analysis

2011, 2011 6th IEEE International Symposium on Industrial and Embedded Systems

Abstract

Measurement-based timing analysis (MBTA) is a hybrid approach that combines execution time measurements with static program analysis techniques to obtain an estimate of the worst-case execution time (WCET) of a program. In order to minimize the chance that the WCET estimate is below the real WCET, the set of representative execution-time measurements has to be selected advisedly. We present an input data generation technique that uses a combination of model checking and genetic algorithms in order to heuristically optimize the set of measurements in terms of safety.

References (37)

  1. A. Burns and A. J. Wellings, Real-Time Systems and Programming Languages, 2nd ed. Addison Wesley, 1996.
  2. R. Wilhelm, J. Engblom, A. Ermedahl, N. Holsti, S. Thesing, D. Whal- ley, G. Bernat, C. Ferdinand, R. Heckmann, T. Mitra, F. Mueller, I. Puaut, P. Puschner, J. Staschulat, and P. Stenström, "The worst-case execution-time problem-overview of methods and survey of tools," ACM Trans. Embed. Comput. Syst., vol. 7, no. 3, pp. 1-53, 2008.
  3. R. Kirner, I. Wenzel, B. Rieder, and P. Puschner, Intelligent Systems at the Service of Mankind. Augsburg, Germany: UBooks Verlag, Jan. 2006, vol. 2, ch. Using Measurements as a Complement to Static Worst- Case Execution Time Analysis, pp. 205-226, iSBN: 3-86608-052-2.
  4. S. Stattelmann and F. Martin, "On the use of context information for precise measurement-based execution-time estimation," in Proceedings of 10th International Workshop on Worst-Case Execution Time (WCET) Analysis, B. Lisper, Ed. Austrian Computer Society, July 2010, pp. 68-79.
  5. I. Wenzel, R. Kirner, B. Rieder, and P. Puschner, "Measurement- based timing analysis," in Proc. 3rd Int'l Symposium on Leveraging Applications of Formal Methods, Verification and Validation, Porto Sani, Greece, Oct. 2008.
  6. M. Zolda, S. Bünte, and R. Kirner, "Towards adaptable control flow segmentation for measurement-based execution time analysis," in Proc. 17th International Conference on Real-Time and Network Systems (RTNS), Paris, France, Oct. 2009.
  7. A. Betts and G. Bernat, "Tree-based WCET analysis on instrumentation point graphs," in Proc. 9th IEEE International Symposium on Object- oriented Real-time distributed Computing, Gyeongju, Korea, Apr. 2006.
  8. P. P. Puschner and A. V. Schedl, "Computing maximum task execution times -a graph-based approach," Real-Time Systems, vol. 13, no. 1, pp. 67-91, July 1997.
  9. Y.-T. S. Li and S. Malik, "Performance analysis of embedded software using implicit path enumeration," in DAC '95: Proceedings of the 32nd annual ACM/IEEE Design Automation Conference. New York, NY, USA: ACM, 1995, pp. 456-461.
  10. P. Puschner and C. Koza, "Calculating the maximum execution time of real-time programs," Real-Time Syst., vol. 1, no. 2, pp. 159-176, 1989.
  11. M. Zolda, S. Bünte, and R. Kirner, "Context-sensitivity in IPET for measurement-based timing analysis," in 4th International Symposium On Leveraging Applications of Formal Methods, Verification and Validation (ISoLA'10), Oct. 2010.
  12. C. Darwin, On the Origin of Species by Means of Natural Selection. London: Murray, 1859.
  13. J. H. Holland, Adaptation in Natural and Artificial Systems. Ann Arbor, MI, USA: University of Michigan Press, 1975.
  14. J. Wegener, "Evolutionärer Test von Realzeit-Systemen," Ph.D. disser- tation, Humboldt-Universität zu Berlin, 2001.
  15. D. E. Goldberg, Genetic Algorithms in Search, Optimization and Ma- chine Learning, 1st ed. Boston, MA, USA: Addison-Wesley Longman Publishing Co., Inc., 1989.
  16. T. Blickle and L. Thiele, "A comparison of selection schemes used in genetic algorithms," ETH Zürich, Switzerland, Tech. Rep. 11, 1995.
  17. J. E. Baker, "Reducing bias and inefficiency in the selection algorithm," in Proceedings of the Second International Conference on Genetic Algorithms on Genetic algorithms and their application. Hillsdale, NJ, USA: L. Erlbaum Associates Inc., 1987, pp. 14-21. [Online]. Available: http://portal.acm.org/citation.cfm?id=42512.42515
  18. W. M. Spears and K. A. D. Jong, "An analysis of multi-point crossover," in Proceedings of the First Workshop on Foundations of Genetic Algo- rithms, G. J. E. Rawlins, Ed. Morgan Kaufmann, 1991, pp. 301-315.
  19. S. Bünte, M. Zolda, M. Tautschnig, and R. Kirner, "Improving the confidence in measurement-based timing analysis," in Proc. 14th IEEE International Symposium on Object/Component/Service-oriented Real- time Distributed Computing (ISORC'11), Mar. 2011, To appear.
  20. A. Holzer, C. Schallhart, M. Tautschnig, and H. Veith, "Fshell: Sys- tematic test case generation for dynamic analysis and measurement," in Proceedings of the 20th International Conference on Computer Aided Verification (CAV 2008), ser. Lecture Notes in Computer Science, vol. 5123. Princeton, NJ, USA: Springer, July 2008, pp. 209-213.
  21. --, "Query-driven program testing," in Proceedings of the Tenth International Conference on Verification, Model Checking, and Abstract Interpretation (VMCAI 2009), ser. Lecture Notes in Computer Science, N. D. Jones and M. Müller-Olm, Eds., vol. 5403. Savannah, GA, USA: Springer, January 2009, pp. 151-166.
  22. E. Clarke, D. Kroening, and F. Lerda, "A tool for checking ANSI-C programs," in Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2004), ser. Lecture Notes in Computer Science, K. Jensen and A. Podelski, Eds., vol. 2988. Springer, 2004, pp. 168- 176.
  23. A. Holzer, C. Schallhart, M. Tautschnig, and H. Veith, "How did you specify your test suite ?" in Proceedings of the 25th IEEE/ACM International Conference on Automated Software Engineering (ASE 2010), Sep. 2010.
  24. U. Khan and I. Bate, "WCET analysis of modern processors using multi- criteria optimisation," in Proceedings of the 1st International Symposium on Search Based Software Engineering (SSBSE '09), 2009, pp. 103-112.
  25. P. Atanassov, "Experimental assessment of worst-case program execu- tion times," Ph.D. dissertation, Technische Universität Wien, Institut für Technische Informatik, Treitlstr. 3/3/182-1, 1040 Vienna, Austria, 2003.
  26. M. Schoeberl, W. Puffitsch, R. U. Pedersen, and B. Huber, "Worst-case execution time analysis for a Java processor," Software: Practice and Experience, vol. 40/6, pp. 507-542, 2010.
  27. P. Puschner and R. Nossal, "Testing the results of static worst-case execution-time analysis," in Real-Time Systems Symposium, 1998. Pro- ceedings., The 19th IEEE, dec 1998, pp. 134 -143.
  28. J. Wegener, M. Grochtmann, and B. Jones, "Testing temporal correctness of real-time systems by means of genetic algorithms," in International Software Quality Week (QW'97), May 1997.
  29. N. Tracey, "A search-based automated test-data generation framework for safety-critical software," Ph.D. dissertation, University of York, Department of Computer Science, 2000.
  30. H.-G. Gross, B. Jones, and D. Eyres, "Evolutionary algorithms for the verification of execution time bounds for real-time software," in Applicable Modelling, Verification and Analysis Techniques for Real- Time Systems (Ref. No. 1999/006), IEE Colloquium on, Jan. 1999, pp. 8/1 -8/8.
  31. I. Bate and U. Khan, "WCET analysis of modern processors using multi- criteria optimisation," Empirical Software Engineering, vol. 16, pp. 5- 28, February 2011.
  32. N. Tracey, J. Clark, and K. Mander, "The way forward for unifying dynamic test case generation: The optimisation-based approach," in In International Workshop on Dependable Computing and Its Applications, 1998, pp. 169-180.
  33. J. Wegener, H. Sthamer, B. F. Jones, and D. E. Eyres, "Testing real-time systems using genetic algorithms," Software Quality Control, vol. 6, pp. 127-135, October 1997.
  34. J. Wegener and F. Mueller, "A comparison of static analysis and evolutionary testing for the verification of timing constraints," Real-Time Systems, vol. 21, no. 3, pp. 241-268, November 2001.
  35. H.-G. Gross, "A prediction system for evolutionary testability applied to dynamic execution time analysis," Information and Software Technology, vol. 43, no. 14, pp. 855 -862, 2001.
  36. J. Kennedy and R. Eberhart, "Particle swarm optimization," in Neural Networks, 1995. Proceedings., IEEE International Conference on, vol. 4, Aug. 2002, pp. 1942-1948.
  37. --, "A discrete binary version of the particle swarm algorithm," in Systems, Man, and Cybernetics, 1997. 'Computational Cybernetics and Simulation'., 1997 IEEE International Conference on, vol. 5, Oct. 1997, pp. 4104 -4108 vol.5.