28/34
Part 5 of 5 · Spot, failures and metricsLearn and do

Measure queue wait and goodput, not uptime

The last question is how you'd know the scheduler works.

MetricWhy it matters
Queue wait by priority band and job size, p50 and p90shows whether production waits and whether big jobs starve
Queue wait split into fair-share delay and fragmentation delaysays whether to fix quotas or placement, as Philly split it
Allocated GPU-hours over capacity, and used over allocatedallocation can read 95% while a third of the allocated GPUs sit idle
Goodputuseful training progress, not uptime
GPU-hours lost to preemption and failure, per daythe real cost of the priority and checkpoint policy
Time from admission to first stepimage pulls, data loading and process-group setup use GPU time too
Job success rate split by causehardware, platform, scheduler or user, so a regression points at an owner

You can't defend a scheduler without its numbers, and these answer the questions an interviewer will ask.

Goodput is the useful work the fleet completes. Netflix optimizes for it, because a job held back by one slow GPU can look healthy on an uptime chart while it gets almost nothing done.

Netflix's service-level objectives cover three things: GPU capacity being available, jobs starting, and jobs succeeding, each split by cause. Meta reports the same idea for Llama 3 as effective training time, the time spent on useful training over the time elapsed. It stayed above 90%.

In the editor, write fragmentation_share(waits) and ratios(capacity, allocated, used). WAITS holds four waits with their cause, and the last line reads 486 of 512 GPUs allocated and 324 used.