Day 0 / Open question

Where does waiting time go?

A plan to measure client wait, engine queueing, prefill, and decode separately.

Question

Where does a slow request spend time? The client records the interval from sending a request to receiving the first and final output. The server can measure admission, scheduling, prefill, and decode at different boundaries.1

We need both views to distinguish a queue delay from longer model execution. A GPU trace can then locate time spent in kernels.

Prediction

As concurrent demand rises, engine waiting time may increase before per-token execution time changes much.2

Measurement plan

  • Record the client's request start, first response, and final response at a stated measurement boundary.
  • Use engine-side timing to distinguish queueing, prefill, and decode where the engine exposes them.
  • Keep model, input and output lengths, concurrency, and sampling settings explicit while changing one variable.
  • Compare client and engine views. Mark unmeasured gaps instead of assigning them to the GPU.

Compare the timing distributions at each load level. If engine waiting stays small, inspect prefill duration, input lengths, and CPU work before changing the scheduler.

Status

Protocol in preparation. No public run yet.

Suggest a missing measurement.