arXiv · 2612.00096
UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs
Abstract
Deploying LLM workloads efficiently on a large cluster requires exploring many configurations of parallelisation, placement, and communication, which is impractical on a production cluster. Packet-level simulation provides the fidelity this exploration needs, but CPU-based simulators need hours per training step across thousands of GPUs, so a design sweep takes weeks. GPU simulators trade off causality or the lossless transport of AI clusters for speed. We present UltraSim, a packet-level simulator for AI clusters that runs entirely on a GPU as a single persistent kernel. Our key observation is that the flows of an LLM workload and their order are known before the simulation, and only their timing depends on the network. This separation lets UltraSim process the packets of thousands of flows in parallel while preserving causality and lossless transport. On one physical GPU, UltraSim simulates a 2,048-GPU training step of DeepSeek V4-Pro in 3 hours, which SimAI does not finish in two days. It simulates LLM training and inference up to 109x and 138x faster than SimAI, and a synchronous reinforcement learning step on eight GPUs within 4.7% of the real deployment. On a single 4,096-GPU all-to-all it is 82x faster than ns-3, with round-trip and flow completion times within 0.1%. UltraSim reduces AI cluster configuration exploration from weeks to hours.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Man-Kit Sit, Matej Sandor, Yi-Chieh Wang, Guangming Sheng, Nick Lau, Luo Mai. 2026-11-30. UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs. https://searcharxiv.org/abs/2612.00096
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.