• DocumentCode
    2145238
  • Title

    Fast cache simulation for host-compiled simulation of embedded software

  • Author

    Lu, Kun ; Muller-Gritschneder, Daniel ; Schlichtmann, Ulf

  • Author_Institution
    Institute for Electronic Design Automation, Technische Universität München, Munich, Germany
  • fYear
    2013
  • fDate
    18-22 March 2013
  • Firstpage
    637
  • Lastpage
    642
  • Abstract
    Host-compiled simulation has been proposed for software performance estimation, because of its high simulation speed. However, the simulation speed may be significantly lowered due to the cache simulation overhead. In this paper, we propose an approach that can reduce much of the cache simulation overhead, while still calculating cache misses precisely. For instruction cache, we statically analyze possible cache conflicts and perform cache conflicts aware annotation for host-compiled simulation. Within loops, the conflicts are dynamically captured by tagging the basic blocks instead of performing the expensive cache simulation. In this way, a vast majority of the cache accesses can be saved from simulation. For data cache, aggregated cache simulation is used for a large data block. Further, the data locality can be bound by considering the data allocation principle of a program. Experiments show that our approach improves the speed of host-compiled simulation by one order of magnitude, while providing the cache miss numbers with high accuracy.
  • Keywords
    Analytical models; Data models; Estimation; Mathematical model; Resource management; Software performance; Timing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Design, Automation & Test in Europe Conference & Exhibition (DATE), 2013
  • Conference_Location
    Grenoble, France
  • ISSN
    1530-1591
  • Print_ISBN
    978-1-4673-5071-6
  • Type

    conf

  • DOI
    10.7873/DATE.2013.139
  • Filename
    6513585