Affiliation:
1. Massachusetts Institute of Technology
2. Stanford University
Abstract
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.
Funder
Defense Advanced Research Projects Agency
Stanford University
Publisher
Association for Computing Machinery (ACM)
Cited by
112 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. GraphSER: Distance-Aware Stream-Based Edge Repartition for Many-Core Systems;ACM Transactions on Architecture and Code Optimization;2024-09-14
2. Tartan: Microarchitecting a Robotic Processor;2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA);2024-06-29
3. Devastator: A Scalable Parallel Discrete Event Simulation Framework for Modern C++;Proceedings of the 38th ACM SIGSIM Conference on Principles of Advanced Discrete Simulation;2024-06-24
4. A Comparative Study on Simulation Frameworks for AI Accelerator Evaluation;2024 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW);2024-05-27
5. TAO: Re-Thinking DL-based Microarchitecture Simulation;Proceedings of the ACM on Measurement and Analysis of Computing Systems;2024-05-21