DOI QR코드

DOI QR Code

Static Timing Analysis of Shared Caches for Multicore Processors

  • Zhang, Wei (Department of Electrical and Computer Engineering, Virginia Commonwealth University) ;
  • Yan, Jun (MathWorks Inc.)
  • Received : 2012.04.19
  • Accepted : 2012.11.22
  • Published : 2012.12.30

Abstract

The state-of-the-art techniques in multicore timing analysis are limited to analyze multicores with shared instruction caches only. This paper proposes a uniform framework to analyze the worst-case performance for both shared instruction caches and data caches in a multicore platform. Our approach is based on a new concept called address flow graph, which can be used to model both instruction and data accesses for timing analysis. Our experiments, as a proof-of-concept study, indicate that the proposed approach can accurately compute the worst-case performance for real-time threads running on a dual-core processor with a shared L2 cache (either to store instructions or data).

Keywords

References

  1. J. M. Calandrino, J. H. Anderson, and D. P. Baumberger, "A hybrid real-time scheduling approach for large-scale multicore platforms," Proceedings of the 19th Euromicro Conference on Real-Time Systems, Pisa, Italy, 2007, pp. 247-258.
  2. C. A. Healy, D. B. Whalley, and M. G. Harmon, "Integrating the timing analysis of pipelining and instruction caching," Proceedings of the 16th IEEE Real-Time Systems Symposium, Pisa, Italy, 1995, pp. 288-297.
  3. F. Stappert, A. Ermedahl, and J. Engblom, "Efficient longest executable path search for programs with complex flows and pipeline effects," Proceedings of the International Conference on Compilers, Architecture, and Synthesis for Embedded Systems, Atlanta, GA, 2001, pp. 132-140.
  4. Y. T. S. Li and S. Malik, "Performance analysis of embedded software using implicit path enumeration," Proceedings of the 32nd Conference on Design Automation, San Francisco, CA, 1995, pp. 456-461.
  5. Y. T. S. Li, S. Malik, and A. Wolfe, "Cache modeling for real-time software: beyond direct mapped instruction caches," Proceedings of the 17th IEEE Real-Time Systems Symposium, Washington, DC, 1996, p. 254.
  6. G. Ottosson and M. Sjodin, "Worst case execution time analysis for modern hardware architectures," Proceedings of the ACM SIGPLAN Workshop on Language, Compilers, and Tools for Real-Time Systems, Las Vegas, NV, 1997.
  7. R. Wilhelm, J. Engblom, A. Ermedahl, N. Holsti, S. Thesing, and D. Whalley, et al., "The worst-case execution-time problem: overview of methods and survey of tools," ACM Transactions on Embedded Computing Systems, vol. 7, no. 3, article no. 36, 2008.
  8. J. H. Anderson, J. M. Calandrino, and U. C. Devi, "Realtime scheduling on multicore platforms," Proceedings of the 12th IEEE Real-Time and Embedded Technology and Applications Symposium, San Jose, CA, 2006, pp. 179-190.
  9. V. Kathail, M. S. Schlansker, and B. R. Rau, "HPL-PD architecture specification: version 1.1," Compiler and Architecture Research, HP Laboratories, Palo Alto, CA, Technical Report HPL-93-80(R.1), 2000.
  10. IBM ILOG CPLEX optimizer, http://www-01.ibm.com/software/integration/optimization/cplex-optimizer/.
  11. J. Yan and W. Zhang, "WCET analysis for multi-core processors with shared L2 instruction caches," Proceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, St. Louis, MO, 2008, pp. 80-89.
  12. W. Zhang and J. Yan, "Accurately estimating worst-case execution time for multi-core processors with shared directmapped instruction caches," Proceedings of the 15th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, Beijing, China, 2009, pp. 455-463.
  13. Y. Li, V. Suhendra, Y. Liang, T. Mitra, and A. Roychoudhury, "Timing analysis of concurrent programs running on shared cache multi-cores," Proceedings of the 30th IEEE Real-Time Systems Symposium, Washington, DC, 2009, pp. 57-67.
  14. The Malardalen Real-Time Research Centre, WCET benchmark, http://www.mrtc.mdh.se/projects/wcet/benchmarks.html.
  15. C. Lee, M. Potkonjak, and W. H. Mangione-Smith, "Media- Bench: a tool for evaluating and synthesizing multimedia and communications systems," Proceedings of the 30th Annual IEEE/ACM International Symposium on Microarchitecture, Research Triangle Park, NC, 1997, pp. 330-335.
  16. C. G. Lee, H. Hahn, Y. M. Seo, S. L. Min, R. Ha, S. Hong, C. Y. Park, M. Lee, and C. S. Kim, "Analysis of cacherelated preemption delay in fixed-priority preemptive scheduling," IEEE Transactions on Computers, vol. 47, no. 6, pp. 700-713, 1998. https://doi.org/10.1109/12.689649
  17. C. G. Lee, K. Lee, J. Hahn, Y. M. Seo, S. L. Min, R. Ha, S. Hong, C. Y. Park, M. Lee, and C. S. Kim, "Bounding cacherelated preemption delay for real-time systems," IEEE Transactions on Software Engineering, vol. 27, no. 9, pp. 805-826, 2001. https://doi.org/10.1109/32.950317
  18. H. S. Negi, T. Mitra, and A. Roychoudhury, "Accurate estimation of cache-related preemption delay," Proceedings of the 1st IEEE/ACM/IFIP International Conference on Hardware/ Software Codesign and System Synthesis, Newport Beach, CA, 2003, pp. 201-206.
  19. J. V. Busquets-Mataix, J. J. Serrano, R. Ors, P. Gil, and A. Wellings, "Adding instruction cache effect to schedulability analysis of preemptive real-time systems," Proceedings of the IEEE Real-Time Technology and Applications Symposium, Brookline, MA, 1996, pp. 204-212.
  20. D. Hardy and I. Puaut, "WCET analysis of multi-level noninclusive set-associative instruction caches," Proceedings of Real-Time Systems Symposium, Barcelona, Spain, 2008, pp. 456-466.

Cited by

  1. Exploiting Static Non-Uniform Cache Architectures for Hard Real-Time Computing vol.9, pp.4, 2015, https://doi.org/10.5626/JCSE.2015.9.4.177
  2. Counter-Based Approaches for Efficient WCET Analysis of Multicore Processors with Shared Caches vol.7, pp.4, 2013, https://doi.org/10.5626/JCSE.2013.7.4.285
  3. A Survey on Cache Management Mechanisms for Real-Time Embedded Systems vol.48, pp.2, 2015, https://doi.org/10.1145/2830555
  4. Overview of Real-Time Java Computing vol.7, pp.2, 2013, https://doi.org/10.5626/JCSE.2013.7.2.89