UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs

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.

Authors

Publication Details

Journal
arXiv
Published
2026-11-30
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs

Guangming Sheng, Matej Šandor, Man-Kit Sit, Luo Mai et al.
arXiv
Parallel Computing and Optimization Techniques
preprint

UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs

Guangming Sheng, Matej Šandor, Man-Kit Sit, Luo Mai, Yi-Chieh Wang, Nick Lau
preprint en

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.

arXiv
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs — Guangming Sheng, Matej Šandor, et al. · arXiv (2026) | TGRS Research Map | TGRS