skip to main content
10.1145/1176760.1176763acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article

An accurate and efficient simulation-based analysis for worst case interruption delay

Published:22 October 2006Publication History

ABSTRACT

This paper proposes an efficient method to analyze worst case interruption delay (WCID) of a workload running on modern microprocessors using a cycle accurate simulator (CAS). Our method is highly accurate because it simulates all possible cases inserting an interruption just before the retirement of every instruction executed in a workload. It is also (reasonably) efficient because it takes O(N log N) time for a workload with N executed instructions, instead of O(N2) of a straightforward iterative simulation of interrupted executions. The key idea for the efficiency is that a pair of executions with different interruption points has a set of durations in which they behave exactly coherent and thus one of simulations for the durations may be omitted. We implemented this method modifying the SimpleScalar tool set to prove it finds out WCID of workloads with five million executed instructions in reasonable time, less than 30 minutes, which would be 200-300 days by the straightforward method. We also show a parallelization of our method achieves a good speedup, about 7-fold with 8-node PC cluster.

References

  1. T. Austin, E. Larson, and D. Ernst. Simplescalar: An infrastructure for computer system modeling. Computer, 35(2):59--67, Feb. 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. A. Burns, K. Tindel, and A. Wellings. Effective analysis for engineering real-time fixed priority schedulars. IEEE Trans. Software Eng., 21(5):475--480, May 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. F. Burns, K. Koelmans, and A. Yakovlev. WCET analysis of super-scalar processors using simulation with colored Petri nets. Real-Time Systems, 18(2/3):267--280, May 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. Engblom and A. Ermedahl. Pipeline timing analysis using a trace-driven simulator. In RTCSA'99, pages 88--95, Dec. 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. C.-G. Lee et al. Analysis of cache-related preemption delay in fixed-priority preemptive scheduling. IEEE Trans. Computers, 47(6):700--713, June 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. McFarling. Combining branch predictors. Technical Report WRL TN-36, DEC, June 1993.Google ScholarGoogle Scholar
  7. H. Miyamoto, S. Iiyama, H. Tomiyama, H. Takada, and H. Nakashima. An efficient search algorithm of worst-case cache flush timings. In RTCSA 2005, pages 45--52, Aug. 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. H. Nakashima. An O(log N) algorithm to increment subarray members of an array of N elements. Technical Report http://www. para. tutics. tut. ac. jp/TR/tree-add. pdf, Toyohashi U. Tech., 2006.Google ScholarGoogle Scholar
  9. H. S. Negi, T. Mitra, and A. Roychoudhury. Accurate estimation of cache-related preemption delay. In CODES+ISSS 2003, pages 201--206, Oct. 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S.-T. Pan, K. So, and J. T. Rahmeh. Improving the accuracy of dynamic branch prediction using branch correlation. In ASPLOS-V, pages 76--84, Oct. 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. P. Puschner and A. Burns. A review of worst-case execution-time analysis. Real-Time Systems, 18(2/3):115--128, May 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. J. E. Smith. A study of branch prediction strategies. In ISCA'81, pages 135--148, May 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Y. Tan and V. Mooney. Integrated intra- and inter-task cache analysis for preemptive multi-tasking real-time systems. In SCOPES 2004, LNCS 3199, pages 182--199, Sept. 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An accurate and efficient simulation-based analysis for worst case interruption delay

      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
        CASES '06: Proceedings of the 2006 international conference on Compilers, architecture and synthesis for embedded systems
        October 2006
        448 pages
        ISBN:1595935436
        DOI:10.1145/1176760

        Copyright © 2006 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: 22 October 2006

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        Overall Acceptance Rate52of230submissions,23%

        Upcoming Conference

        ESWEEK '24
        Twentieth Embedded Systems Week
        September 29 - October 4, 2024
        Raleigh , NC , USA
      • Article Metrics

        • Downloads (Last 12 months)1
        • Downloads (Last 6 weeks)0

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader