XIU Si-wen1, LI Yan-zhe1, HUANG Kai1, MA De2, YAN Rong-jie3, YAN Xiao-lang1
1. Institute of VLSI Design, Zhejiang University, Hangzhou 310027, China; 2. Microelectronics CAD Center, Hangzhou Dianzi University, Hangzhou 310018, China;
3. Institute of Software, Chinese Academy of Sciences, Beijing 100080, China
The disadvantages of existing cache modeling techniques for MPSoC performance estimation were analyzed. An static analysis and dynamic annotation combined cache modeling technique for native simulation was proposed. The technique employs GCC profiling, avoids tag-search for hit/miss judgment, and coarsens the granularity of cache updating. An accurate address mapping table for instruction and all types of data variables was established, which improves both simulation speed and estimation accuracy. Multi-level cache modeling was considered, which extends support for multi-processor platform. Experimental results show that the proposed technique can significantly reduce the simulation time and improve the accuracy of estimation result compared with existing techniques.
XIU Si-wen, LI Yan-zhe, HUANG Kai, MA De, YAN Rong-jie, YAN Xiao-lang. Cache modeling for MPSoC performance estimation. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2015, 49(7): 1367-1375.
[1] JERRAYA A, WOLF W. Multiprocessor systems-on-chips [M]. Amsterdam: Elsevier, 2004.
[2] Martin G. Overview of the MPSoC design challenge [C] ∥ Design Automation Conference. San Francisco: ACM/IEEE, 2006: 274-279.
[3] POSADAS H, HERRERA F, SNCHEZ P, et al. System-level performance analysis in SystemC [C] ∥ Design, Automation and Test in Europe Conference and Exhibition. Paris: IEEE, 2004: 378-383.
[4] KIRNER R, SCHOEBERL M. Modeling the function cache for worst-case execution time analysis [C] ∥ Design Automation Conference. San Diego: ACM/IEEE, 2007: 471-476.
[5] SONG F, MOORE S, DONGARRA J. L2 cache modeling for scientific applications on chip multi-processors [C] ∥ International Conference on Parallel Processing. Xi’an: IEEE, 2007: 51.
[6] LI Y T S, MALIK S, WOLFE A. Cache modeling for real-time software: beyond direct mapped instruction caches [C] ∥ Real-Time Systems Symposium. Los Alamitos: IEEE, 1996: 254-263.
[7] BENINI L, BERTOZZI D, BOGLIOLO A, et al. Mparm: exploring the multi-processor soc design space with system [J]. Journal of VLSI Signal Processing Systems for Signal, Image and Video Technology, 2005, 41(2): 169-182.
[8] EDLER J, HILL M D. Dinero IV trace-driven uniprocessor cache simulator [EB/OL]. [2014-05-23]. http:∥pages.cs.wisc.edu/~markhill/DineroIV.
[9] BINKERT N, BECKMANN B, BLACK G, et al. The gem5 simulator [J]. ACM SIGARCH Computer Architecture News, 2011, 39(2): 17.
[10] POSADAS H, DAZ L, VILLAR E. Fast data-cache modeling for native co-simulation [C] ∥ ASP-DAC. Yokohama: IEEE, 2011: 425-430.
[11] CASTILLO J, POSADAS H, VILLAR E, et al. Fast instruction cache modeling for approximate timed HW/SW co-simulation [C] ∥ Proceedings of the 20th Symposium on Great Lakes Symposium on VLSI. New York: ACM, 2010: 191-196.
[12] WANG Z, HENKEL J. Fast and accurate cache modeling in source-level simulation of embedded software [C] ∥ Proceedings of the Conference on Design, Automation and Test in Europe. Grenoble: IEEE, 2013: 587-592.
[13] SCHNERR J, BRINGMANN O, VIEHL A, et al. High-performance timing simulation of embedded software [C] ∥ Design Automation Conference. Anaheim: IEEE, 2008: 290-295.
[14] KIRCHSTEIGER C M, SCHWEITZER H, TRUMMER C, et al. A software performance simulation methodology for rapid system architecture exploration [C] ∥ 15th IEEE International Conference on Electronics, Circuits and Systems. Juliens: IEEE, 2008: 494-497.
[15] GERIN P, HAMAYUN M M, PTROT F. Native MPSoC co-simulation environment for software performance estimation [C] ∥ Proceedings of the 7th IEEE/ACM International Conference on Hardware/Software Codesign and System Synthesis. New York: ACM, 2009: 403-412.
[16] YAN R, MA D, HUANG K, et al. Annotation and analysis combined cache modeling for native simulation [C] ∥ Design Automation Conference (ASP-DAC). Singapore: IEEE, 2014: 406-411.
[17] MA D, YAN R, HUANG K, et al. Performance estimation techniques with MPSoC transaction-accurate models [J]. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2013, 32(12): 1920-1933.
[18] GNU. Gcov-a test coverage program [EB/OL].[2014-05-23].http:∥gcc.gnu.org/onlinedocs/gcc/Gcov.html.
[19] ARM LTD. ARM920T technical reference manual [EB/OL]. [2014-05-23]. http:∥infocenter.arm.com/help/topic/com.arm.doc.ddi0151c/ARM920T_TRM1_S.pdf.
[20] Embedded Microprocessor Benchmark Consortium. MultiBenchTM 10 Benchmark software [EB/OL]. [2014-05-23]. http:∥www.eembc.org/benchmark/multi_sl.php.
[21] C-SKY MICROSYSTEMS CO., LTD. CK810 introduction [EB/OL]. [2014-05-23]. http:∥www.c-sky.com/product.php?typeid=103.