USENIX OSDI · Orca
20 min. Pause at the iteration-level scheduling example. Draw the batch membership before and after a short request completes.
Throughput can rise as queues grow. Pick an operating point by counting successful requests that also satisfy the latency target.
Yesterday’s CSV and Day 1 targets. Read the PagedAttention paper’s memory-management design if block tables are unfamiliar.
Inference Engineering · §4.3.1 pp. 106–107; §4.5 pp. 112–115; §7.2.1 pp. 186–187
Use the printed page numbers. In the supplied PDF, add two to reach the viewer page. Write a prediction for the question below before opening its answer.
Baseten · Inference Engineering · Orca · OSDI ’22 · vLLM · serving benchmark CLI
20 min. Pause at the iteration-level scheduling example. Draw the batch membership before and after a short request completes.
Start one vLLM worker on a compatible GPU if available. Sweep arrival rate and compare short and long prompts using the benchmark notebook.
Draw three requests needing 1, 2 and 4 decode steps. After each step, cross out finished requests and admit a waiting request.
Use the first command in Benchmarks to start vLLM. Warm it up, then run the benchmark at one request/s. Without a GPU, record a mock latency baseline and label it simulated.
CPU path: hold the simulated worker delay fixed and increase arrivals until queue wait rises. GPU path: hold model and token lengths fixed and change offered requests/s. Only the GPU path measures inference-engine batching.
Keep output length fixed and increase prompt length. Record p95 first-token latency, per-token latency and errors for both runs.
If the table is empty, send one direct request and check endpoint, model alias and readiness before load testing.
Save a three-row rate sweep and one plot of offered rate versus SLO-good requests/s. Tag the run as mock or GPU.
Suppose 200 requests arrive in 40 s, 180 finish, and 150 meet both targets. What is goodput?
150 / 40 = 3.75 requests/s. Report 180/200 completed as a separate figure.
Report TTFT, TPOT, output tokens/s and failures. Identify a load where throughput rises while user experience worsens.