[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/233013.233025acmconferencesArticle/Chapter ViewAbstractPublication PagesmetricsConference Proceedingsconference-collections
Article
Free access

Embra: fast and flexible machine simulation

Published: 15 May 1996 Publication History

Abstract

This paper describes Embra, a simulator for the processors, caches, and memory systems of uniprocessors and cache-coherent multiprocessors. When running as part of the SimOS simulation environment, Embra models the processors of a MIPS R3000/R4000 machine faithfully enough to run a commercial operating system and arbitrary user applications. To achieve high simulation speed, Embra uses dynamic binary translation to generate code sequences which simulate the workload. It is the first machine simulator to use this technique. Embra can simulate real workloads such as multiprocess compiles and the SPEC92 benchmarks running on Silicon Graphic's IRIX 5.3 at speeds only 3 to 9 times slower than native execution of the workload, making Embra the fastest reported complete machine simulator. Dynamic binary translation also gives Embra the flexibility to dynamically control both the simulation statistics reported and the simulation model accuracy with low performance overheads. For example, Embra can customize its generated code to include a processor cache model which allows it to compute the cache misses and memory stall time of a workload. Customized code generation allows Embra to simulate a machine with caches at slowdowns of only a factor of 7 to 20. Most of the statistics generated at this speed match those produced by a slower reference simulator to within 1%. This paper describes the techniques used by Embra to achieve high performance, focusing on the requirements unique to machine simulation, including modeling the processor, memory management unit, and caches. In order to study Embra's memory system performance we use the SimOS simulation system to examine Embra itself. We present a detailed breakdown of Embra's memory system performance for two cache hierarchies to understand Embra's current performance and to show that Embra's implementation techniques benefit significantly from the larger cache hierarchies that are becoming available. Embra has been used for operating system development and testing as well as for studies of computer architecture. In this capacity it has simulated large, commercial workloads including IRIX running a relational database system and a CAD system for billions of simulated machine cycles.

References

[1]
Robert Bedichek. Some Efficient Architecture Simulation Techniques, Winter 1990 Usenix Technical Conference, Jan, 1990.
[2]
Robert C. Bedicheck. Talisman: Fast and Accurate Multicomputer Simulation, In SIGMETRICS, Ottawa, Ontario, Canada, May, 1995.
[3]
John Chapin, Mendel Rosenblum, Scott Devine, Tirthankar Lahiri, Dan Teodosiu, and Anoop Gupta. Hive: Fault Containment for Shared-Memory Multiprocessors. SOSP, Colorado, 1995.
[4]
Robert E Cmelik and David Keppel. Shade: A Fast Instruction Set Simulator for Execution Profiling, SIGMETRICS, Nashville, TN, 1994.
[5]
Kaivalya M. Dixit. New CPU Benchmark Suites from SPEC, 37th Annual IEEE International Computer Conference --- COMPCON Spring '92, San Francisco, CA, Feb. 1992.
[6]
Dawson R. Engler, M. Frans Kaashoek, and James O'Toole Jr., ExokerneL" An Operating System Architecture for ~li.cation.Level Resource Management, SOSP, Colorado,
[7]
Dawson R. Engler, Wilson C. Hsieh, and M. Frans Kaahsoek. "C: A Language for High-Level, Efficient, and Machine-independent Dynamic Code Generation. POPL, St. Petersburg, FL, 1996.
[8]
R. Hastings, B. Joyce. Purify: fast detection of memory leaks and access errors, Proceedings of the Winter 1992 USENIX Conference, Berkeley, CA, 1991, pages 125-36.
[9]
D. Lenoski, J. Laudon, K. Gharachorloo, W. Weber, A. Gupta, J. Hennessy, M. Horowitz, and M. Lam. The Stanford DASH Multiprocessor. IEEE Computer 25(3):63-79. March 1992.
[10]
Peter Magnusson. A Design For Efficient Simulation of a Multiprocessor, MASCOTS "93 -Proceedings ot the 1993 Western Simulation Multiconterence on International Workshop on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, La Jolla, California, January 1993.
[11]
Peter Magnusson and Bengt Wemer. Efficient Memory Simulation in SimlCS, 28th Annual Simulation Symposium, Phoenix, April 1995.
[12]
Henry Massalin. Synthesis: An Efficeint Implementation of Fundamental Operating System Services, Ph.D. Thesis, Columbia University 1992.
[13]
John Ousterhout. Why Aren't Operating Systems Getting Faster as Fast as Hardware ?, In Proceedings of the Summer 1990 USENIX Conference, pp. 247-256, June 1990.
[14]
Alvin R. Lebeck, David A Wood. Active Memory: A New Abstraction for Memory-System Simulation, SIGMETRICS, Ottawa, Ontario, Canada, 1995.
[15]
Steven K. Reinhardt, Mark D. Hill, James R. LarPrototypingus, Alvin R. Lebeck, James C. Lewis, and David A. Woo~l. "The Wisconsin Wind Tunnel: Virtual Prototyping of Parallel Computers," SIGMETRICS, Santa Clara, CA, 1993.
[16]
Mendel. Rosenblum, Edouard Bugnion, Stephen A. Herrod, Emmett Witchel, and Anoop Gupta. The Impact of Architectural Trends on Operating System Performance. SOSP, Colorado, 1995.
[17]
Mendel Rosenblum, Steven A. Herrod, Emmett Witchel, and Anoop Gupta. Complete Computer System Simulation: The SiinOS Approach. IEEE Parallel and Distributed Technology, Fall 1995.
[18]
Amitabh Srivastava and Alan Eustace. ATOM: a system for building customized program analysis tools, SIGPLAN Notices, June 1994, vol-.29, no.6, pages 196-205.
[19]
Richard Uhlig, David Nagle, Trevor Mudge and Stuart ~ecnrest. Trap-driven Simulation with Tapeworm Ii, ASPLOS San Jose, 1994.
[20]
R. Wahbe, S. Lucco, T. Anderson, and S. Graham. cient Software-Based Fault Isolation." SOSE December 1993.
[21]
Steven Cameron Woo, Moriyoshi Ohara, Evan Tome, Jaswinder Pal Singh, and Anoop Gupta. The SPLASH-2 Programs: Characterization and Methodological Considerations. Proceedings of the 22nd ISCA, Santa Margherita Ligure, Italy, June 1995.

Cited By

View all
  • (2022)Eliminate the overhead of interrupt checking in full-system dynamic binary translatorProceedings of the 15th ACM International Conference on Systems and Storage10.1145/3534056.3534939(1-12)Online publication date: 6-Jun-2022
  • (2022)Architecture Description LanguagesHandbook of Computer Architecture10.1007/978-981-15-6401-7_18-1(1-34)Online publication date: 25-Dec-2022
  • (2022)CrossDBT: An LLVM-Based User-Level Dynamic Binary Translation EmulatorEuro-Par 2022: Parallel Processing10.1007/978-3-031-12597-3_1(3-18)Online publication date: 22-Aug-2022
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMETRICS '96: Proceedings of the 1996 ACM SIGMETRICS international conference on Measurement and modeling of computer systems
May 1996
279 pages
ISBN:0897917936
DOI:10.1145/233013
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 May 1996

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SIGMETRICS96
Sponsor:

Acceptance Rates

Overall Acceptance Rate 459 of 2,691 submissions, 17%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)159
  • Downloads (Last 6 weeks)26
Reflects downloads up to 11 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Eliminate the overhead of interrupt checking in full-system dynamic binary translatorProceedings of the 15th ACM International Conference on Systems and Storage10.1145/3534056.3534939(1-12)Online publication date: 6-Jun-2022
  • (2022)Architecture Description LanguagesHandbook of Computer Architecture10.1007/978-981-15-6401-7_18-1(1-34)Online publication date: 25-Dec-2022
  • (2022)CrossDBT: An LLVM-Based User-Level Dynamic Binary Translation EmulatorEuro-Par 2022: Parallel Processing10.1007/978-3-031-12597-3_1(3-18)Online publication date: 22-Aug-2022
  • (2021)BTMMU: an efficient and versatile cross-ISA memory virtualizationProceedings of the 17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments10.1145/3453933.3454015(71-83)Online publication date: 7-Apr-2021
  • (2020)A Retargetable System-level DBT HypervisorACM Transactions on Computer Systems10.1145/338616136:4(1-24)Online publication date: 30-May-2020
  • (2019)A retargetable system-level DBT hypervisorProceedings of the 2019 USENIX Conference on Usenix Annual Technical Conference10.5555/3358807.3358850(505-520)Online publication date: 10-Jul-2019
  • (2019)Counterexample Guided Abstraction Refinement for Polyhedral Probabilistic Hybrid SystemsACM Transactions on Embedded Computing Systems10.1145/335821718:5s(1-23)Online publication date: 8-Oct-2019
  • (2019)Aggregation Strategies in Reachable Set Computation of Hybrid SystemsACM Transactions on Embedded Computing Systems10.1145/335821418:5s(1-21)Online publication date: 8-Oct-2019
  • (2019)Music, Search, and IoTACM Transactions on Computer-Human Interaction10.1145/331195626:3(1-28)Online publication date: 26-Apr-2019
  • (2019)IsoplethACM Transactions on Computer-Human Interaction10.1145/331027426:3(1-42)Online publication date: 24-Apr-2019
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media