SlackSim
- 23 May 2009
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 37 (2) , 20-29
- https://doi.org/10.1145/1577129.1577134
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.Keywords
This publication has 13 references indexed in Scilit:
- An Adaptive Synchronization Technique for Parallel Simulation of Networked ClustersPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2008
- A NUCA Substrate for Flexible CMP Cache SharingIEEE Transactions on Parallel and Distributed Systems, 2007
- An Adaptive Shared/Private NUCA Cache Partitioning Scheme for Chip MultiprocessorsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2007
- An Efficient, Practical Parallelization Methodology for Multicore Architecture SimulationIEEE Computer Architecture Letters, 2006
- SimpleScalar: an infrastructure for computer system modelingComputer, 2002
- Parallel simulation of chip-multiprocessor architecturesACM Transactions on Modeling and Computer Simulation, 2002
- The SPLASH-2 programsPublished by Association for Computing Machinery (ACM) ,1995
- Parallel discrete event simulationCommunications of the ACM, 1990
- Reducing null messages in Misra's distributed discrete event simulation methodIEEE Transactions on Software Engineering, 1990
- Distributed Simulation: A Case Study in Design and Verification of Distributed ProgramsIEEE Transactions on Software Engineering, 1979