ServeTwin: A Benchmark-Validated Simulator for Distributed LLM Architecture Exploration
Sungjoon Park, Changue Jung, Kyungno Joo, Mincheol Kang, Jaehyung Ahn, Sehwan Lee, Sangjoon Kim
Abstract
Evaluating distributed LLM serving designs on physical clusters is costly. Yet existing simulators provide only subsets of the capabilities needed for realistic design exploration: stateful closed-loop execution, timing prediction without profiling target hardware, and direct execution of unmodified serving benchmarks. We present ServeTwin, a closed-loop simulator that couples specification-driven analytical timing with a stateful serving loop. This coupling captures feedback among request completion, scheduling, queue state, and KV-cache evolution, including prefill-decode disaggregation and multi-turn agent workloads. ServeTwin avoids target-hardware operator profiling through iSTAGE, an analytical trace generator that derives per-iteration traces from model and engine specifications while representing ragged batches and discrete engine mechanisms such as CUDA-graph batch padding. It further decomposes execution time into component-owned throughput, scheduler, and runtime costs. This ownership lets unaffected parameters transfer across platforms and confines recalibration to changed hardware or software components. ServeTwin implements a vLLM-compatible interface and runs unmodified serving benchmarks. Against real deployments, it reproduces InferenceX's steady-state throughput-interactivity frontier with a 3.6% mean error and predicts LMBenchmark's multi-turn performance with a 9.9% error while tracking KV-cache evolution. Pre-silicon sweeps reveal that the preferred HBM bandwidth-capacity tradeoff reverses across workload states and that increasing concurrency shifts the bottleneck from memory bandwidth to scheduler and runtime overheads. Together, these capabilities enable practical exploration of distributed LLM serving systems before target hardware is available.
Create a lesson
Metadata
- Categories
- cs.PF, cs.DC
Related papers
Fast and Flexible Spiking Network Simulations on Massively Distributed On-Chip Memory Accelerators
Shared title terminologycs.PFCatherine Mia Schöfmann, Jan Finkbeiner, Jan Vogelsang et al.
The M/PH_2/1 Queue: Explicit Distributions, Sojourn Times and Numerical Benchmarks
Shared title terminologycs.PFYossi Luzon
Drive Failure and Lifetime Simulation in the Backblaze Drive Statistics Corpus, 2013-2026
Shared title terminologycs.PFAhmed Amer, Darrell D. E. Long
Towards Automated Recommendation of Steady-State Detection Algorithms for Software Performance Benchmarks
Shared title terminologycs.PFMartin Beseda, Vittorio Cortellessa, Federico Di Menna et al.
HPC-Bench: A Comprehensive Benchmark for High Performance Computing Codes
Shared title terminologycs.PFBowen Cui, Junyu Yin, Tejas Ramesh et al.
How Reliable Are Large Language Models for Soil Organic Carbon Assessment? An Australian Benchmark
Shared title terminologycs.PFYingxuan Cheng, Tong Li, Yayong Li et al.