arXiv:2610.37989cs.AIOct 2026

Manuscript Offprint

arXiv:2610.37989

GAUSS: A Workload-Aware Analytical and Monte-Carlo Simulator for LLM Inference Serving

Srikant Bharadwaj, Ankur Mallick, Spyridon Mastorakis, Anjaly Parayil, Dhruv Deshmukh, Victor Ruehle

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language model (LLM) inference has become an operational workload that fleets must provision, monitor, and bill against latency service-level objectives (SLOs). A single throughput number cannot answer the questions operators actually face, because generative serving couples two phases with very different service characteristics, continuous batching reshapes the effective service process, and user-visible tail latency can degrade long before aggregate throughput saturates. We present GAUSS, a workload-aware analytical and Monte-Carlo simulator that predicts the full distributions of time-to-first-token (TTFT) and time-between-tokens (TBT), together with the sustainable request rate, for a given workload, engine, and accelerator. GAUSS pairs calibrated, phase-specific latency surfaces for prefill and decode with a Lindley-recurrence model of queueing under stochastic arrivals, and estimates performance by ensemble Monte-Carlo sampling rather than by replaying a single trace. This lets GAUSS reason about workloads, routing policies, and hardware that have never been deployed, and to capture the latency tails that trace-driven simulators systematically under-sample. We describe the model and show how it supports operating-point selection, traffic segmentation, and shortest-remaining-processing-time scheduling—capacity questions that trace-driven simulators cannot address.

1. Introduction

Serving large language models is now a first-order operational concern. Fleets must decide how much offered load an engine can absorb, which deployments are underutilized, and whether observed latency is dominated by prefill work, decode work, or time spent waiting in a queue. These questions cannot be answered by a single tokens-per-second figure. Generative inference proceeds in two phases—a compute-bound prefill that consumes the prompt and a memory-bound decode that emits tokens one at a time—and continuous batching dynamically mixes requests at different generation positions, so the effective service process depends on the workload itself. As a result, a deployment can look healthy on average throughput while violating first-token or inter-token latency targets for specific traffic mixes.

The difficulty is compounded by heterogeneity and burstiness. Production traffic mixes prompt lengths, cached-prefix lengths, and generated lengths, and arrives in bursts rather than at a constant rate. Capacity planning, SLO setting, utilization analysis, and cost attribution all depend on how these workload features interact with engine-specific service times and queueing dynamics under a given arrival process. What operators need is a model that is light enough to evaluate many candidate workloads, engines, and accelerators, yet rich enough to expose TTFT and TBT distributions and the request rate at which they degrade.

Why an analytical model. The natural alternative—replaying a recorded request trace through a discrete-event simulator—answers only a narrow question: how did one realization of one workload behave on one configuration. An analytical model instead expresses service time as a calibrated function of a request's shape (its input, cached, and output token counts) and of the engine and accelerator. Once service time is a function rather than a logged number, three capabilities follow that trace replay cannot provide:

  • Ensemble rather than time averages. A single trace yields one time-averaged trajectory. Under the high service-time variability of LLM workloads, that trajectory is one draw from a broad distribution and systematically under-samples the tail. An analytical model can be driven by many independent stochastic realizations—an ensemble—so it estimates the entire TTFT/TBT distribution, including the P95 and P99 that SLOs are written against, rather than a single percentile estimate from one run.

  • Prediction for unseen workloads and policies. Because service time is computed from request shape and engine calibration, the model can predict latency and capacity for workloads, routing or scheduling policies, and hardware that have never been run, and therefore appear in no trace. Trace-driven simulators are bound to the workload and configuration recorded in the trace.

  • Compactness. Evaluating closed-form latency surfaces and a queueing recurrence is far cheaper than detailed discrete-event simulation, so an operator can sweep hundreds of candidate request rates, workloads, and engines in the time a high-fidelity simulator evaluates one.

We study the resulting prediction problem directly. Given a workload distribution expressed as weighted request buckets over input, cached, and output tokens, an arrival process with a specified mean rate, and a calibrated engine description, predict the distribution of batch sizes and backlog states, the TTFT and TBT percentile distributions, and the request rate at which tail latency degrades past a chosen threshold. This is distinct from designing a new scheduler, memory manager, or runtime: it takes the serving mechanisms established by prior work as given and asks what TTFT, TBT, and capacity will look like for a described workload, engine, and deployment.

This report makes the following contributions.

  • A workload-aware capacity model. GAUSS represents traffic as weighted request buckets over input, cached, and output tokens, and combines this mix with a stochastic arrival process to estimate serving behavior under candidate offered loads.

  • Calibrated, phase-specific latency surfaces. GAUSS models prefill and decode service times through engine-calibrated coefficients, exposing how context length, cached context, and batch size shape service time.

  • Monte-Carlo estimation of TTFT and TBT distributions. GAUSS predicts latency percentiles, not only average throughput, by composing prefill work, decode-batch cost, and a Lindley-style queue-delay distribution.

  • A capacity and headroom workflow. GAUSS sweeps candidate request rates and selects an operating point before tail latency degrades sharply, supporting capacity planning, SLO exploration, and utilization analysis.

The unifying contribution is the ability to connect workload composition, arrival burstiness, and engine calibration to the user-visible metrics that operators manage—TTFT, TBT, and sustainable request rate—for configurations that need not yet exist.