Tool · scheduling

Batching simulator

How does a server keep the GPU busy as requests come and go?

Static vs. continuous batching, step by step
step 1
Static batchingslots busy 25% · done 0/24 · mean latency 0 steps · waiting 0
1
Continuous batchingslots busy 25% · done 0/24 · mean latency 0 steps · waiting 0
1

Rows are batch slots, columns are steps (the last 48 shown). A numbered cell is a request's prefill step; the lighter cells after it are its decode steps; empty cells are idle slots. 24 requests arrive over time with the same lengths in both lanes. A toy model: one step per prefill, one token per decode step.