Parallel simulation of chip-multiprocessor by using multi-threading

  • Authors:
  • Ya-shuai Lü;Li Shen;Zhi-ying Wang;Kui Dai

  • Affiliations:
  • National University of Defense Technology;National University of Defense Technology;National University of Defense Technology;National University of Defense Technology

  • Venue:
  • AsiaMS '07 Proceedings of the IASTED Asian Conference on Modelling and Simulation
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Multi-core on one chip becomes the current main trend of micro processors' architecture, and simulation plays an important role in evaluating new processor architectures. Traditional ways of sequential simulation for chip-multiprocessor (CMP) require lots of simulation time which can't be afford during processor design phase. Therefore, exploiting parallelism is necessary for speeding up the multi-core processor simulation. In this paper, we present a parallel CMP simulator, which is implemented by using POSIX threads, and also present the programming methodology for converting a sequential single core simulator to a parallel CMP simulator. Furthermore, the tradeoffs in parallel simulator implementation are also discussed. The experiments are carried out on a four-CPU dual core Xeon server. Under weak consistence order model, the parallel simulator achieves a speedup of 7.2X comparing with the sequential one.