Muchisim: A Simulation Framework for Design Exploration of Multi-Chip Manycore Systems

Marcelo Orenes-Vera, Esin Tureci, Margaret Martonosi, David Wentzlaff

Abstract

The design space exploration of scaled-out manycores for communication-intensive applications (e.g., graph analytics and sparse linear algebra) is hampered due to either lack of scalability or accuracy of existing frameworks at simulating data-dependent execution patterns. This paper presents MuchiSim, a novel parallel simulator designed to address these challenges when exploring the design space of distributed multi-chiplet manycore architectures. We evaluate MuchiSim at simulating systems with up to a million interconnected processing units (PUs) while modeling data movement and communication cycle by cycle.

The Challenge of Scalable Simulation

As Moore’s Law slows, architects are turning to "scale-out" manycore systems comprising thousands or millions of processing units (PUs) across multiple chiplets. While machine learning workloads often have deterministic communication patterns, Data-dependent Communication-Intensive (DCI) applications—like graph analytics and sparse linear algebra—exhibit traffic patterns that shift based on input data.

Existing simulation tools struggle with a "scalability vs. accuracy" trade-off. Detailed architectural simulators like gem5 are too slow for millions of cores, while high-level analytical models fail to capture the non-deterministic network contention of DCI workloads. MuchiSim fills this gap, providing a tool to explore design trade-offs at unprecedented scales.

MuchiSim: A Hybrid Modeling Approach

MuchiSim (from the Spanish muchísimo) is a parallel C++ simulator that employs a hybrid modeling strategy to balance speed and fidelity:

  • PU Modeling: To maintain speed, MuchiSim executes compute tasks natively on the host machine, using timing models (e.g., cycles per basic block) to estimate duration.
  • Network-on-Chip (NoC) Modeling: Communication is modeled with high fidelity. MuchiSim simulates data movement and network contention cycle-by-cycle at the flit level, reflecting the reality that the network is often the primary bottleneck in large systems.
  • Physical and Cost Modeling: The framework integrates models for silicon area, energy consumption, and fabrication costs using Murphy’s yield model.
Hierarchical target architecture of MuchiSim, ranging from individual processing units (PUs) to large-scale clusters.

The simulator itself is parallelized, partitioning the simulated manycore grid across host threads to achieve near-linear speedup. A post-processing feature allows for rapid "what-if" analysis of energy and cost metrics without re-running the full simulation.

Key Insights and Results

The framework was evaluated using eight DCI applications (e.g., BFS, PageRank, SPMV) across synthetic RMAT graphs (up to 1.3 billion edges) and real-world datasets from Wikipedia and Twitter.

  • Scalability: MuchiSim successfully simulated a system with one million PUs in under 48 hours on a single 32-core server.
  • Validation: Compared against the Cerebras Wafer-Scale Engine (WSE), MuchiSim’s runtime results were within 1.2× of real hardware, with area estimates within 8.8%.
  • Efficiency: The simulation overhead is remarkably low, running only ~43× slower than the estimated execution time of the target hardware.

MuchiSim’s visualization tools generate heatmaps of router and core activity, allowing architects to pinpoint congestion and optimize network topologies.

Heatmap visualizations of router and core activity, enabling identification of communication bottlenecks.

Through design exploration, the authors identified critical "sweet spots" for memory. For instance, increasing local SRAM from 64 KiB to 256 KiB yielded a 3.5× performance boost, though the optimal configuration depends on whether the goal is performance-per-watt or performance-per-dollar. Furthermore, the inclusion of fabrication cost models reveals that high-performance additions, like extra HBM devices, can significantly degrade cost-efficiency for certain workloads.

Conclusion

MuchiSim enables the evaluation of massive parallel systems at realistic scales, opening new avenues for research into multi-chiplet manycore architectures. Future work includes adding MPI support for multi-node simulation and expanding support for high-radix network topologies like Dragonfly.

Summary updated

Abstract

The design space exploration of scaled-out manycores for communication-intensive applications (e.g., graph analytics and sparse linear algebra) is hampered due to either lack of scalability or accuracy of existing frameworks at simulating data-dependent execution patterns. This paper presents MuchiSim, a novel parallel simulator designed to address these challenges when exploring the design space of distributed multi-chiplet manycore architectures. We evaluate MuchiSim at simulating systems with up to a million interconnected processing units (PUs) while modeling data movement and communication cycle by cycle. In addition to performance, MuchiSim reports the energy, area, and cost of the simulated system. It also comes with a benchmark application suite and two data visualization tools. MuchiSim supports various parallelization strategies and communication primitives such as task-based parallelization and message passing, making it highly relevant for architectures with software-managed coherence and distributed memory. Via a case study, we show that MuchiSim helps users explore the balance between memory and computation units and the constraints related to chiplet integration and inter-chip communication. MuchiSim enables evaluating new techniques or design parameters for systems at scales that are more realistic for modern parallel systems, opening the gate for further research in this area.
BibTeX
@inproceedings{orenesvera2024muchisim,
  author = {Marcelo Orenes-Vera and Esin Tureci and Margaret Martonosi and David Wentzlaff},
  title = {{Muchisim: A Simulation Framework for Design Exploration of Multi-Chip Manycore Systems}},
  booktitle = {ISPASS},
  year = {2024},
  doi = {10.1109/ispass61541.2024.00015},
}
Figure