ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems
Architectural simulation is time-consuming, and the trend towards hundreds of cores is making sequential simulation even slower. Existing parallel simulation techniques either scale poorly due to excessive synchronization, or sacrifice accuracy by allowing event reordering and using simplistic conte...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Article |
Language: | en_US |
Published: |
Association for Computing Machinery
2014
|
Online Access: | http://hdl.handle.net/1721.1/90820 https://orcid.org/0000-0002-2453-2904 |
_version_ | 1826190540624887808 |
---|---|
author | Sanchez, Daniel Kozyrakis, Christos |
author2 | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory |
author_facet | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory Sanchez, Daniel Kozyrakis, Christos |
author_sort | Sanchez, Daniel |
collection | MIT |
description | Architectural simulation is time-consuming, and the trend towards hundreds of cores is making sequential simulation even slower. Existing parallel simulation techniques either scale poorly due to excessive synchronization, or sacrifice accuracy by allowing event reordering and using simplistic contention models. As a result, most researchers use sequential simulators and model small-scale systems with 16-32 cores. With 100-core chips already available, developing simulators that scale to thousands of cores is crucial.
We present three novel techniques that, together, make thousand-core simulation practical. First, we speed up detailed core models (including OOO cores) with instruction-driven timing models that leverage dynamic binary translation. Second, we introduce bound-weave, a two-phase parallelization technique that scales parallel simulation on multicore hosts efficiently with minimal loss of accuracy. Third, we implement lightweight user-level virtualization to support complex workloads, including multiprogrammed, client-server, and managed-runtime applications, without the need for full-system simulation, sidestepping the lack of scalable OSs and ISAs that support thousands of cores.
We use these techniques to build zsim, a fast, scalable, and accurate simulator. On a 16-core host, zsim models a 1024-core chip at speeds of up to 1,500 MIPS using simple cores and up to 300 MIPS using detailed OOO cores, 2-3 orders of magnitude faster than existing parallel simulators. Simulator performance scales well with both the number of modeled cores and the number of host cores. We validate zsim against a real Westmere system on a wide variety of workloads, and find performance and microarchitectural events to be within a narrow range of the real system. |
first_indexed | 2024-09-23T08:41:30Z |
format | Article |
id | mit-1721.1/90820 |
institution | Massachusetts Institute of Technology |
language | en_US |
last_indexed | 2024-09-23T08:41:30Z |
publishDate | 2014 |
publisher | Association for Computing Machinery |
record_format | dspace |
spelling | mit-1721.1/908202022-09-23T13:53:04Z ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems Sanchez, Daniel Kozyrakis, Christos Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science Sanchez, Daniel Architectural simulation is time-consuming, and the trend towards hundreds of cores is making sequential simulation even slower. Existing parallel simulation techniques either scale poorly due to excessive synchronization, or sacrifice accuracy by allowing event reordering and using simplistic contention models. As a result, most researchers use sequential simulators and model small-scale systems with 16-32 cores. With 100-core chips already available, developing simulators that scale to thousands of cores is crucial. We present three novel techniques that, together, make thousand-core simulation practical. First, we speed up detailed core models (including OOO cores) with instruction-driven timing models that leverage dynamic binary translation. Second, we introduce bound-weave, a two-phase parallelization technique that scales parallel simulation on multicore hosts efficiently with minimal loss of accuracy. Third, we implement lightweight user-level virtualization to support complex workloads, including multiprogrammed, client-server, and managed-runtime applications, without the need for full-system simulation, sidestepping the lack of scalable OSs and ISAs that support thousands of cores. We use these techniques to build zsim, a fast, scalable, and accurate simulator. On a 16-core host, zsim models a 1024-core chip at speeds of up to 1,500 MIPS using simple cores and up to 300 MIPS using detailed OOO cores, 2-3 orders of magnitude faster than existing parallel simulators. Simulator performance scales well with both the number of modeled cores and the number of host cores. We validate zsim against a real Westmere system on a wide variety of workloads, and find performance and microarchitectural events to be within a narrow range of the real system. Stanford University. Stanford Pervasive Parallelism Laboratory United States. Defense Advanced Research Projects Agency (DARPA contract HR0011-11-C-0007) United States. Defense Advanced Research Projects Agency (DARPA PERFECT program contract HR0011-13-2-0005) 2014-10-09T13:59:37Z 2014-10-09T13:59:37Z 2013 Article http://purl.org/eprint/type/ConferencePaper 9781450320795 1063-6897 http://hdl.handle.net/1721.1/90820 Sanchez, Daniel, and Christos Kozyrakis. “ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems.” Proceedings of the 40th Annual International Symposium on Computer Architecture - ISCA ’13 (2013), Tel-Aviv, Israel, June 23-27, 2013, ACM, p.475-486. https://orcid.org/0000-0002-2453-2904 en_US http://dx.doi.org/10.1145/2485922.2485963 Proceedings of the 40th Annual International Symposium on Computer Architecture - ISCA '13 Creative Commons Attribution-Noncommercial-Share Alike http://creativecommons.org/licenses/by-nc-sa/4.0/ application/pdf Association for Computing Machinery MIT web domain |
spellingShingle | Sanchez, Daniel Kozyrakis, Christos ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems |
title | ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems |
title_full | ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems |
title_fullStr | ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems |
title_full_unstemmed | ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems |
title_short | ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems |
title_sort | zsim fast and accurate microarchitectural simulation of thousand core systems |
url | http://hdl.handle.net/1721.1/90820 https://orcid.org/0000-0002-2453-2904 |
work_keys_str_mv | AT sanchezdaniel zsimfastandaccuratemicroarchitecturalsimulationofthousandcoresystems AT kozyrakischristos zsimfastandaccuratemicroarchitecturalsimulationofthousandcoresystems |