skip to main content
10.1145/378795.378864acmconferencesArticle/Chapter ViewAbstractPublication PagespldiConference Proceedingsconference-collections
Article

Facile: a language and compiler for high-performance processor simulators

Authors Info & Claims
Published:01 May 2001Publication History

ABSTRACT

Architectural simulators are essential tools for computer architecture and systems research and development. Simulators, however, are becoming frustratingly slow, because they must now model increasingly complex micro-architectures running realistic workloads. Previously, we developed a technique called fast-forwarding, which applied partial evaluation and mermoization to improve the performance of detailed architectural simulations by as much as an order of magnitude [14].

While writing a detailed processor simulator is difficult, implementing fast-forwarding is even more complex. This paper describes Facile, a domain-specific language for writing detailed, accurate micro-architecture simulators. Architectural descriptions written in Facile can be compiled, using partial evaluation techniques, into fast-forwarding simulators that achieve significant performance improvements with far less programmer effort. Facile and its compiler make this performance-enhancing technique accessible to computer architects.

References

  1. 1.Burger, D. and Austin, T. M., "The SimpleScalar Tool Set, Version 2.0," Tech Report #1342,University of Wisconsin- Madison, Department of Computer Sciences, June 1997.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.Chernoff, A., et. al, "FX!32 a profile-directed binary translator," in IEEE Micro 98, March-April 1998, 18 (2)56-64. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Cmelik, B. and Keppel, D., "Shade: A Fast Instructi n-Set Simulator for Execution Profiling," in Proceedings of SIGMETRICS 94, (Nashville TN, May 1994), 128-137. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.Consel, C. and Noel, F., "A General Approach for Run-Time Specialization and its Application to C," in Proceedings of POPL96 (St. Petersburgh Beach FL, January 1996), 145-156. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.Grant, B., et. al, "An Evaluation of Staged Run-time Optimizations in DyC," in Proceedings of PLDI99 (Atlanta GA, May 1999), 293-304. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.Hennessy, J. and Patterson, D., Computer Organization and Design: The Hardware-Software Interface (Appendix A, by James R. Larus), Morgan Kaufman, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.Herrod, S., et. al, "The SimOS Simulation Environment," Computer Systems Laboratory, Stanford University, 1996.Google ScholarGoogle Scholar
  8. 8.Jones, N. D., Gomard, C., and Sestoft, P., Partial Evaluation and Automatic Program Generation, Prentice Hall, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.Lee, P. and Leone, M., "Optimizing ML with Run-Time Code Generation," in Proceedings of PLDI96 (Philadelphia PA, May 1996), 137-148. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.Magnusson, P. S., et. al, "SimICS/sun4m: A Virtual Workstation," in Proceedings of USENIX98 Technical Conference (New Orleans LA, June 1998). Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.Pai, V. S., Ranganathan, P., and Adve, S. V., "RSIM: An Execution-Driven Simulator for ILP-Based Shared-Memory Multiprocessors and Uniprocessors," in the Workshop on Computer Architecture Education held in conjunction with HPCA97, (San Antonio TX, February 1997).Google ScholarGoogle Scholar
  12. 12.Ramsey, N. and Fernandez, M., "The New Jersey Machine- Code Toolkit," in Proceedings of USENIX95 Technical Conference (New Orleans LA, January 1995), 289-302. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.Schnarr, E., Applying Programming Language Implementation Techniques To Processor Simulation, Ph.D. Dissertation, University of Wisconsin-Madison, Fall 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.Schnarr, E. and Larus, J. R., "Fast Out-Of-Order Processor Simulation Using Memoization," in Proceedings of ASPLOS98 (San Jose CA, October 1998), 283-294. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Facile: a language and compiler for high-performance processor simulators

            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
              PLDI '01: Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation
              June 2001
              331 pages
              ISBN:1581134142
              DOI:10.1145/378795

              Copyright © 2001 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: 1 May 2001

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              PLDI '01 Paper Acceptance Rate30of144submissions,21%Overall Acceptance Rate406of2,067submissions,20%

              Upcoming Conference

              PLDI '24

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader