skip to main content
10.1145/1529282.1529722acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Exploiting stack distance to estimate worst-case data cache performance

Authors Info & Claims
Published:08 March 2009Publication History

ABSTRACT

This paper proposes an approach to safely and tightly bounding data cache performance by computing the worst-case stack distance of data cache accesses. Our approach can not only be applied to direct-mapped caches, but also be used for set-associative or even fully-associative caches without increasing the complexity of analysis. Moreover, the proposed approach can statically categorize worst-case data cache misses into cold, conflict, and capacity misses, which can provide useful insights for designers to enhance the worst-case data cache performance. Our evaluation shows that the proposed data cache timing analysis technique can safely and accurately estimate the worst-case data cache performance, and the overestimation as compared to the observed worst-case data cache misses is within 1% on average.

References

  1. K. Beyls and E. D'Hollander. Reuse Distance as a Metric for Cache Behavior. In Proc. of PDCS'01, Aug 2001.Google ScholarGoogle Scholar
  2. C. Cascaval and D. A. Padua. Estimating cache misses and locality using stack distance. In Proc. of ICS'03, June 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Y. H. Kim, M. D. Hills and D. A. Wood. Implementing stack simulation for highly-associative memories. Technical Report #997, Univ. of Wisconsin, February 1991.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. R. White, F. Muller, C. Healy, D. Whalley, and M. Harmon. Timing analysis for data caches and set-associative caches. In Proc. of RTAS, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Y. S. Li, S. Malik and A. Wolfe. Cache modeling for real-time software: beyond direct mapped instruction caches. In Proc. of the IEEE Real-Time Systems Symposium, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. C. Ferdinand and R. Wilhelm. On predicting data cache behavior for real-time systems. In Proc. of LCTES, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. H. Ramaprasad and F. Mueller. Bounding worst-case data cache behavior by analytically deriving cache reference patterns. In Proc. of RTAS, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. J. Staschulat and R. Ernst. Worst case timing analysis of input dependent data cache behavior. In Proc. of ECRTS, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. S. Muchnick. Advanced compiler design and implementation. Morgan Kaufmann Publishers, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. C. Berg, J. Engblom and R. Wilhelm. Requirements for an design of a processor with predictable timing. In Proc. of the Dagstuhl Perspectives Workshop on Design of Systems with Predictable Behavior, 2004.Google ScholarGoogle Scholar
  11. C. Rochange and P. Sainrat: Difficulties in computing the WCET for processors with speculative execution. In Proc. of WCET, 2002.Google ScholarGoogle Scholar
  12. R. Arnold, F. Muller, D. Whalley, and M. Harmon. Bounding worst-case instruction cache performance. In Proc. of the Real-Time Systems Symposium, 1994.Google ScholarGoogle ScholarCross RefCross Ref
  13. C. A. Healy, D. B. Whalley, and M. G. Harmon. Integrating the timing analysis of pipelining and instruction caching. In Proc. of the Real-Time Systems Symposium, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Y. S. Li, S. Malik and A. Wolfe. Performance estimation of embedded software with instruction cache modeling. In Proc. of ICCAD, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Y. S. Li, S. Malik and A. Wolfe. Efficient microarchitecture modeling and path analysis for real-time software. In Proc. of the 16th IEEE Real-Time Systems Symposium, Dec 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. S. Lim, et al. An accurate worst case timing analysis technique for RISC processors. In Proc. of the 15th IEEE Real-Time Systems Symposium, 1994.Google ScholarGoogle Scholar
  17. Trimaran homepage, http://www.trimaran.org.Google ScholarGoogle Scholar
  18. http://archi.snu.ac.kr/realtime/benchmark/.Google ScholarGoogle Scholar
  19. V. Zivojnovic, J. Martinez and C. Schl. DSPstone: A DSP-oriented benchmarking methodology. In Proc. of ICSPAT'94, Oct. 1994.Google ScholarGoogle Scholar

Index Terms

  1. Exploiting stack distance to estimate worst-case data cache performance

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          SAC '09: Proceedings of the 2009 ACM symposium on Applied Computing
          March 2009
          2347 pages
          ISBN:9781605581668
          DOI:10.1145/1529282

          Copyright © 2009 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 8 March 2009

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate1,650of6,669submissions,25%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader