skip to main content
research-article

SlackSim: a platform for parallel simulations of CMPs on CMPs

Published: 23 July 2009 Publication History

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.

References

[1]
T. Austin, E. Larson and D. Ernst, "SimpleScalar: An Infrastructure for Computer System Modeling", IEEE Computer, Feb. 2002, pp. 59--67.
[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.
[3]
K. Chandy and J. Misra, "Distributed Simulation: A Case Study in Design and Verification of Distributed Programs," IEEE Transactions on Software Engineering, Vol. 5 No. 5, pp. 440--452, 1979.
[4]
M. Chidester and A. George, "Parallel Simulation of Chip-multiprocessor Architectures," ACM Transactions on Modeling and Computer Simulation, Vol. 12, Issue 3, pp 176--200, July 2002.
[5]
R. Devries, "Reducing Null Messages in Misra' s Distributed Discrete Event Simulation Method," IEEE Transactions on Software Engineering, Vol. 16 No. 1, pp. 82--91, 1990.
[6]
J. Donald, M. Martonosi, "An Efficient, Practical Parallelization Methodology for Multicore Architecture Simulation," IEEE Computer Architecture Letters, Vol.5 No. 2, 2006.
[7]
H. Dybdahl and P. Stenstrom, "An Adaptive Shared/Private NUCA Cache Partioning Scheme for Chip Multiprocessors, " in Proc. of the Int. Symposium on High Performance Architecture (HPCA), pp. 2--12, 2007.
[8]
A. Falcon, P. Faraboschi, D. Ortega, "An Adaptive Synchronization Technique for Parallel Simulation of Networked Clusters," in Proceedings of the 2008 IEEE International Symposium on Performance Analysis of Systems and Software, pp. 22--31, April 2008.
[9]
Glenn Hinton et al.,"The Microarchitecture of the Pentium 4 Processor," Intel Technology Journal, Q1, 2001.
[10]
R.M. Fujimoto, "Parallel Discrete Event Simulation," Communication of the ACM, Vol 33 No. 10, pp. 30--53, Oct. 1990.
[11]
J. Huh et al.,"A NUCA Substrate for flexible CMP Cache Sharing," IEEE Transactions on Parallel and Distributed Systems, Vol.18, No.8, August 2007, pp.1028--1040.
[12]
D.R. Jefferson, B. Beckman, F. Wieland, and L. Blume, "Distributed Simulation and the Time Warp Operating System," Operating Systems Review, vol. 21, pp. 77--93, 1987.
[13]
N. Manjikian, "Parallel Simulation of Multiprocessor Execution: Implementation and Results for SimpleScalar," in Proceedings of the 2001 IEEE International Symposium on Performance Analysis of Systems and Software, pp. 147--151, Nov 2001.
[14]
S.S. Mukherjee, S. Reinhardt, B. Falsafi, M. Litzkow, S. Huss-Lederman, M.D. Hill, J.R. Larus, and D.A. Wood, "Wisconsin Wind Tunnel II: A Fast, Portable Parallel Architecture Simulator," IEEE Concurrency, Vol.8, No. 4, pp 12--20, 2000.
[15]
A. Over, B. Clarke, P.E. Strazdins, "A Comparison of Two Approaches to Parallel Simulation of Multiprocessors," in Proceedings of the 2007 IEEE International Symposium on Performance Analysis of Systems and Software, pp.12--22, April 2007.

Cited By

View all
  • (2024)The Dataflow Abstract Machine Simulator Framework2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA)10.1109/ISCA59077.2024.00046(532-547)Online publication date: 29-Jun-2024
  • (2023)Benefits of Optimistic Parallel Discrete Event Simulation for Network-on-Chip Simulation2023 IEEE/ACM 27th International Symposium on Distributed Simulation and Real Time Applications (DS-RT)10.1109/DS-RT58998.2023.00013(30-39)Online publication date: 4-Oct-2023
  • (2023)S2MSim: Cycle-Accurate and High-Performance Simulator Based on Multi-Threading for Space Multi-Core ProcessorInternational Journal of Aeronautical and Space Sciences10.1007/s42405-023-00627-y24:5(1465-1478)Online publication date: 8-Jun-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGARCH Computer Architecture News
ACM SIGARCH Computer Architecture News  Volume 37, Issue 2
May 2009
69 pages
ISSN:0163-5964
DOI:10.1145/1577129
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 July 2009
Published in SIGARCH Volume 37, Issue 2

Check for updates

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)20
  • Downloads (Last 6 weeks)4
Reflects downloads up to 03 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)The Dataflow Abstract Machine Simulator Framework2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA)10.1109/ISCA59077.2024.00046(532-547)Online publication date: 29-Jun-2024
  • (2023)Benefits of Optimistic Parallel Discrete Event Simulation for Network-on-Chip Simulation2023 IEEE/ACM 27th International Symposium on Distributed Simulation and Real Time Applications (DS-RT)10.1109/DS-RT58998.2023.00013(30-39)Online publication date: 4-Oct-2023
  • (2023)S2MSim: Cycle-Accurate and High-Performance Simulator Based on Multi-Threading for Space Multi-Core ProcessorInternational Journal of Aeronautical and Space Sciences10.1007/s42405-023-00627-y24:5(1465-1478)Online publication date: 8-Jun-2023
  • (2022)SimBricksProceedings of the ACM SIGCOMM 2022 Conference10.1145/3544216.3544253(380-396)Online publication date: 22-Aug-2022
  • (2020)ChunkedTejasACM Transactions on Modeling and Computer Simulation10.1145/337539730:3(1-21)Online publication date: 31-May-2020
  • (2020)A Survey of Cache SimulatorsACM Computing Surveys10.1145/337239353:1(1-32)Online publication date: 6-Feb-2020
  • (2020)A Virtualization-Assisted Full-System Simulation Approach for the Verification of System Inter-Component InteractionsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2020.2977064(1-1)Online publication date: 2020
  • (2019)EPSim-C: A Parallel Epoch-Based Cycle-Accurate Microarchitecture Simulator Using Cloud ComputingElectronics10.3390/electronics80607168:6(716)Online publication date: 24-Jun-2019
  • (2019)Translating Timing into an ArchitectureInternational Journal of Reconfigurable Computing10.1155/2019/26249382019Online publication date: 3-Nov-2019
  • (2019)Epsim: A Scalable and Parallel Marssx86 Simulator With Exploiting Epoch-Based ExecutionIEEE Access10.1109/ACCESS.2018.28866307(4782-4794)Online publication date: 2019
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media