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.
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.
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