Affiliation:
1. University of Southern California, Los Angeles, CA
Abstract
The fast simulation of chip multiprocessors (CMPs) presents a critical challenge to the architecture research community as both industry and academia shift their research focus to multicore design. Parallel simulation is a technique to accelerate microarchitecture simulation of CMPs by exploiting the inherent parallelism of CMPs. In this paper, we explore the simulation paradigm of simulating each core of a target CMP in one thread and then spreading the threads across the hardware thread contexts of a host CMP. We implement several parallel simulation schemes using POSIX Threads (Pthreads). We start with cycle-by-cycle simulation and then relax the synchronization condition in various schemes, which we call slack simulations.
In slack simulations, the Pthreads simulating different simulated cores do not synchronize after each simulated cycle, but rather they are given some slack. The slack is the difference in cycle between the simulated times of any two target cores. Small slacks, such as a few cycles, greatly improve the efficiency of parallel CMP simulations, with no or negligible simulation error. We have developed a simulation framework called SlackSim to experiment with various slack simulation schemes. Unlike previous attempts to parallelize multiprocessor simulations on distributed memory machines, SlackSim takes advantage of the efficient sharing of data in the host CMP architecture.
We demonstrate the efficiency and accuracy of some well known slack simulation schemes and of some new ones on SlackSim running on a state-of-the-art CMP platform.
Publisher
Association for Computing Machinery (ACM)
Reference15 articles.
1. SimpleScalar: an infrastructure for computer system modeling
2. S.C. Woo M. Ohara E. Torrie J.P. Singh and A. Gupta "The Splash-2 Programs: Characterization and Methodological Considerations " in Proceedings of the International Symposium on Computer Architecture pp. 24--36 June 1995. 10.1145/223982.223990 S.C. Woo M. Ohara E. Torrie J.P. Singh and A. Gupta "The Splash-2 Programs: Characterization and Methodological Considerations " in Proceedings of the International Symposium on Computer Architecture pp. 24--36 June 1995. 10.1145/223982.223990
3. Distributed Simulation: A Case Study in Design and Verification of Distributed Programs
4. Parallel simulation of chip-multiprocessor architectures
5. Reducing null messages in Misra's distributed discrete event simulation method
Cited by
41 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Dataflow Abstract Machine Simulator Framework;2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA);2024-06-29
2. Benefits of Optimistic Parallel Discrete Event Simulation for Network-on-Chip Simulation;2023 IEEE/ACM 27th International Symposium on Distributed Simulation and Real Time Applications (DS-RT);2023-10-04
3. S2MSim: Cycle-Accurate and High-Performance Simulator Based on Multi-Threading for Space Multi-Core Processor;International Journal of Aeronautical and Space Sciences;2023-06-08
4. Profiling gem5 Simulator;2023 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS);2023-04
5. SimBricks;Proceedings of the ACM SIGCOMM 2022 Conference;2022-08-22