Compare continuous batching FCFS, SJF, Sarathi Chunked Prefill, and Disaggregated serving. Simulate Head-of-Line prefill blocking, inspect Time-to-First-Token (TTFT) and Inter-Token Latency (TPOT), and validate against empirical silicon.
| Scheduler Policy | Workload | Throughput (tok/s) | TTFT P50 (ms) | TTFT P99 (ms) | TPOT P50 (ms) | TPOT P99 (ms) | Preemptions | SLA Goodput % |
|---|
In standard continuous batching FCFS, when Request #1 arrives with a 2,048-token prompt, its prefill phase consumes the full GPU compute budget for 120ms. During this entire prefill burst, ongoing decoding requests (Req #2, #3, #4) cannot generate any tokens, causing their inter-token latency (TPOT) to explode from 25ms to over 140ms.
| Inference Engine | Model | Concurrency | TTFT Real (ms) | TTFT Sim (ms) | TTFT Error % | TPOT Real (ms) | TPOT Sim (ms) | TPOT Error % |
|---|
| Request ID | Workload Category | Arrival Time (s) | Prompt Tokens | Decode Tokens | Total Tokens | Ratio (P/D) | SLO TTFT (ms) | SLO TPOT (ms) |
|---|