• DocumentCode
    3134370
  • Title

    Scope-Aware Data Cache Analysis for WCET Estimation

  • Author

    Huynh, Bach Khoa ; Ju, Lei ; Roychoudhury, Abhik

  • Author_Institution
    Nat. Univ. of Singapore, Singapore, Singapore
  • fYear
    2011
  • fDate
    11-14 April 2011
  • Firstpage
    203
  • Lastpage
    212
  • Abstract
    Caches are widely used in modern computer systems to bridge the increasing gap between processor speed and memory access time. On the other hand, presence of caches, especially data caches, complicates the static worst case execution time (WCET) analysis. Access pattern analysis (e.g., cache miss equations) are applicable to only a specific class of programs, where all array accesses must have predictable access patterns. Abstract interpretation-based methods (must/persistence analysis) determines possible cache conflicts based on coarse-grained memory access information from address analysis, which usually leads to significantly pessimistic estimation. In this paper, we first present a refined persistence analysis method which fixes the potential underestimation problem in the original persistence analysis. Based on our new persistence analysis, we propose a framework to combine access pattern analysis and abstract interpretation for accurate data cache analysis. We capture the dynamic behavior of a memory access by computing its temporal scope (the loop iterations where a given memory block is accessed for a given data reference) during address analysis. Temporal scopes as well as loop hierarchy structure (the static scopes) are integrated and utilized to achieve a more precise abstract cache state modeling. Experimental results shows that our proposed analysis obtains up to 74% reduction in the WCET estimates compared to existing data cache analysis.
  • Keywords
    cache storage; data analysis; program diagnostics; software metrics; WCET estimation; abstract cache state modeling; abstract interpretation-based methods; access pattern analysis; address analysis; coarse-grained memory access information; loop hierarchy structure; memory access time; memory block; persistence analysis method; processor speed; scope-aware data cache analysis; Analytical models; Arrays; Concrete; Equations; Estimation; Mathematical model; Safety; abstract interpretation; cache memories; data cache behavior prediction; program analysis; real-time applications; worst case execution time;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time and Embedded Technology and Applications Symposium (RTAS), 2011 17th IEEE
  • Conference_Location
    Chicago, IL
  • ISSN
    1080-1812
  • Print_ISBN
    978-1-61284-326-1
  • Type

    conf

  • DOI
    10.1109/RTAS.2011.27
  • Filename
    5767152