Skip to content

Session D: goodput, burn-in and tenancy

The use cases

Three jobs that sit next to each other in a GPU cloud: sharing one GPU between teams under quotas, knowing how much of a training run was useful when a GPU fails in the middle of it ("goodput"), and burning in new hardware before it takes real work.

Passed, 2026-09-30 and 2026-10-03

One commit turned the L4 into 4 GPUs in 88 seconds, and a team's quota refused its third pod. A training job lost its GPU to an injected XID 79 and finished at 66.4% goodput. A second L4 ran 3 hours at full load with no throttling and no errors. All six criteria pass; two caveats on the burn-in are below.

Here's the interrupted run. Times are UTC: the injection from the GPU node's clock, the training events from the trainer's step log, the rest from Kubernetes.

sequenceDiagram
  participant p1 as trainer pod 1
  participant g as Garage on the control plane
  participant inj as inject-xid.sh
  participant rem as node-problem-detector and gpu-remediator
  participant job as Job controller
  participant op as make return-to-service
  participant p2 as trainer pod 2

  p1->>g: 19:47:37.1 checkpoint at step 200 (2.1 s)
  inj->>rem: 19:48:35.363 NVRM Xid 79 line in the kernel log (SIMULATED)
  rem->>p1: GPUUnhealthy=True, cordon, eviction, SIGTERM
  p1->>g: flush the step log on the way out, last step logged 394 at 19:48:36.0
  job->>p2: 19:48:46 replacement created, Pending on the cordoned node
  Note over rem,op: 5 minute lookback, until 19:53:35
  op->>rem: 19:54:15 dcgmi diag -r 2, passed in 6 s
  op->>rem: 19:54:33 node-problem-detector reset, uncordoned
  g->>p2: 19:54:36.9 load the step 200 checkpoint (1.76 s)
  p2->>g: 19:55:40.7 checkpoint at step 400, then every 200 steps
  p2->>g: 20:09:30.3 step 3000 checkpointed, done

Results

# Acceptance criterion Result Evidence
1 One commit takes the node from 1 GPU to 4 through ArgoCD, and pods from both tenants share the L4, with their processes side by side in nvidia-smi Pass. Pushed at 19:38:48, allocatable 4 at 19:40:16. Three pods, one L4 UUID, three python3 processes at 1400, 2424 and 3448 MiB session-d-tenancy.txt, session-d-timeline.txt
2 A third GPU pod in a tenant with 2 GPUs of quota is refused by the API server Pass. exceeded quota: gpu, requested: requests.nvidia.com/gpu=1, used: requests.nvidia.com/gpu=2, limited: requests.nvidia.com/gpu=2, with one slice still free on the node session-d-quota-refusal.txt
3 A training job, interrupted by XID 79, resumes from its checkpoint and finishes, with total, useful and lost time measured from published inputs Pass. 66.4% goodput: 918.2 s useful out of 1383 s. 194 steps redone, 360.9 s of outage session-d-goodput.json, step logs, session-d-goodput-job.txt
4 Checkpoints live off the GPU node Pass. The second pod read the step 200 checkpoint from Garage on the control plane, in another zone, in 1.76 s Pod 2's start event in goodput-kjxgc.jsonl
5 Burn-in: 3 hours of tensor load, a stability record, dcgmi diag -r 3 before and after Pass on all seven criteria fixed in advance. 10687 s of steady state, 0 s thermal throttling, no new ECC, remap or XID, 0 minutes without telemetry. Level 3 passed before (345 s) and after (344 s), with nvbandwidth skipped both times. The "after" diagnostic ran 8 hours late; see the burn-in session-d-burn-in.txt, session-d-diag-before.txt, session-d-diag-after.txt, session-d-handover.txt
6 The runbook, every check with a command, an expected result and a failure path Pass. 13 checks; 11 ran here and link to their output, and the two that can't apply to one rented GPU (inventory, multi-GPU interconnect) say what I'd do instead Runbook

Where the 1383 seconds went

The Job ran from 19:46:31 to 20:09:34 by the API server's clock. The categories are the ones I fixed before the run, and they add up to the total to the millisecond.

%%{init: {"themeVariables": {"pie1": "#76b900", "pie2": "#e06666", "pie3": "#f6b26b", "pie4": "#6fa8dc", "pie5": "#b7b7b7", "pie6": "#8e7cc3", "pieSectionTextColor": "#000"}}}%%
pie showData
  title One interrupted run, 1383 s
  "Useful steps" : 918.2
  "Outage" : 360.9
  "Redone steps" : 58.7
  "Checkpoint writes" : 32.4
  "Other" : 11.1
  "Restore" : 1.8

Checkpoints were cheap: fifteen writes of roughly 270 MB, 2 to 2.5 seconds each, came to 2.3% of the run. The outage is what cost something, so here it is taken apart:

From To Seconds What
19:48:36.0 19:53:35.4 299.4 The 5 minute lookback, counted from the injection
19:53:35.4 19:54:15 about 40 Waiting for the return-to-service command to be run
19:54:15 19:54:21 6 dcgmi diag -r 2
19:54:21 19:54:33 12 Restarting node-problem-detector so its condition resets, then uncordoning
19:54:33 19:54:36.9 3.9 Scheduling, container start from the cached image, Python and CUDA start

83% of the outage is the lookback, a rule that exists because node-problem-detector replays kernel log lines up to 5 minutes old when it restarts. Another 11% is a person not having run a command yet. The diagnostic that actually decides whether the GPU can go back is under 2%. So the biggest lever on goodput here isn't checkpoint frequency; it's that rule, and taking the human out of the loop.

Timeline of the run

From session-d-timeline.txt, the step logs and the captures. The GPU node ran in fr-par-1 this time, because fr-par-2 had no L4 free; see what changed.

Time Event
19:10:15 GPU node up in fr-par-1, joined to the control plane in fr-par-2 over the private network
19:27:01 to 19:30:33 Trainer image pulled onto the node: 4.28 GB in 3 min 23 s
19:38:48 Time slicing commit pushed to main
19:39:02 tenancy-wait starts: allocatable nvidia.com/gpu is 1
19:40:16 Allocatable is 4. The node is labelled NVIDIA-L4-SHARED, replicas=4, sharing-strategy=time-slicing
19:40:55 Three tenant pods Running; a fourth in tenant-a refused by the quota
19:43:57 First goodput Job. Its pod crashes at start, see below
19:46:31 Second Job. First step at 19:46:35.4, 0.31 s a step from there on
19:47:37.1 Checkpoint at step 200
19:48:35.363 XID 79 injected. Step 394 ends 0.64 s later, the last one logged
19:48:46 Replacement pod created, Pending
19:54:15 to 19:54:21 dcgmi diag -r 2: software, memory and PCIe Pass
19:54:33 Uncordoned
19:54:38.7 Replacement starts training, resumed from step 200
20:09:30.3 Step 3000 checkpointed
20:09:34 Job complete

From a commit to four GPUs

Nobody touched the node. The commit added one values file to the gpu-operator Application, and the rest followed from it:

flowchart LR
  commit["commit 8f6a325<br/>pushed 19:38:48<br/>adds the ts-4 values file"]
  argo["ArgoCD<br/>syncs gpu-operator"]
  cp["ClusterPolicy and<br/>device-plugin-config ConfigMap<br/>default: ts-4, replicas: 4"]
  dp["device plugin on the GPU node<br/>one L4 advertised as 4"]
  node["node allocatable<br/>nvidia.com/gpu: 4 at 19:40:16"]

  subgraph ta["tenant-a, quota 2 GPUs"]
    a1["share-a1<br/>holds 1 GiB"]
    a2["share-a2<br/>holds 2 GiB"]
    a3["share-a3<br/>refused: exceeded quota"]
  end
  subgraph tb["tenant-b, quota 2 GPUs"]
    b1["share-b1<br/>holds 3 GiB"]
  end
  l4["one NVIDIA L4<br/>UUID 30b37b65-...<br/>3 processes: 1400, 2424, 3448 MiB"]

  commit --> argo --> cp --> dp --> node
  node -->|"scheduler binds"| ta
  node -->|"scheduler binds"| tb
  a1 --> l4
  a2 --> l4
  b1 --> l4

  classDef nv fill:#76b900,stroke:#4a7300,color:#000
  classDef no fill:#f4cccc,stroke:#990000,color:#000
  class dp,l4 nv
  class a3 no

Each pod held a different amount of GPU memory (1, 2 and 3 GiB) so I could tell them apart in nvidia-smi, and all three printed the same GPU UUID. The refusal came with one slice still free, so it was the quota saying no, not a lack of capacity.

Time slicing gives no isolation: the three processes shared the L4's memory and would share its faults, so one tenant's broken GPU drains everyone on it.

What the run doesn't prove

The fault was injected, so the trainer got a clean SIGTERM while its GPU still worked; a real XID 79 would more likely kill it mid-step with a CUDA error. It resumed on the node that failed, because there's only one, where a fleet would move it elsewhere. And 66.4% belongs to a 23 minute job that lost its GPU once: the same outage on a 10 hour job would be about 1% of it.

Two things that went wrong

The first Job never trained. It died in under a second with getpwuid(): uid not found: 65532 (traceback). Building PyTorch's SGD optimizer asks for the current user's name, and my non-root image had no user entry for its uid. Setting USER fixed it, and the goodput figure covers the second Job only.

The replacement pod took 10 seconds to appear. A Job replaces an evicted pod only once it has fully terminated, so that's the old pod shutting down. It cost nothing, since the node stayed cordoned for another 6 minutes anyway.

The burn-in

This ran on a different L4 from the goodput run, with a different UUID and a clean memory history: no corrected errors at all, where Session B's card arrived with just under 100. That's why the runbook reads those counters at every handover.

gantt
  title D2b on 2026-10-02 and 03, UTC
  dateFormat YYYY-MM-DDTHH:mm
  axisFormat %H:%M
  todayMarker off
  section Handover
    make handover, all PASS          :done, 2026-10-02T19:27, 1m
    dcgmi diag -r 3, 345 s, Pass     :done, 2026-10-02T19:28, 6m
  section Load
    burn-in, 3 h of tensor load      :active, 2026-10-02T19:35, 180m
  section Idle
    node up, idle                    :crit, 2026-10-02T22:35, 494m
  section After
    capture, diag -r 3, 344 s, Pass  :done, 2026-10-03T06:48, 7m

The criteria were written into the runbook before the run, and measured over 10687 seconds of steady load.

Criterion Measured Result
Thermal violation time 0 s Pass
New double-bit ECC, uncorrectable remapped rows, remap failures 0, 0, 0. Single-bit ECC and PCIe replays 0 too Pass
XIDs None. node-problem-detector's GPUUnhealthy never went True, and DCGM never recorded one (see below) Pass
Minutes without a temperature sample 0. 712 samples, one every 15 s, the full count Pass
GPU Operator container restarts 0 Pass
Tensor activity held Mean 95.0%, minimum 94.9%; GPU utilisation never below 98% Pass
dcgmi diag -r 3 after the load Pass, 344 s Pass

One real sample every 10 minutes, from session-d-burn-in-series.csv:

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#e06666"}}}}%%
xychart-beta
  title "GPU temperature, °C"
  x-axis "minutes into the burn-in" [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180]
  y-axis "°C" 30 --> 80
  line [44, 64, 64, 64, 64, 64, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65]
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#76b900"}}}}%%
xychart-beta
  title "SM clock, MHz"
  x-axis "minutes into the burn-in" [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180]
  y-axis "MHz" 0 --> 1200
  line [210, 885, 885, 885, 885, 885, 900, 900, 915, 885, 885, 885, 885, 885, 930, 915, 885, 885, 885]

Both lines are flat, and that's the result. A cooling problem shows up hours in, as the temperature creeping and the clock falling with it; here the card held 65 °C and its 72 W power limit the whole way, power capped 99.7% of the time, which is normal for an L4 at full load.

Two caveats. The node stayed up, idle, for 8 hours after the load ended, about 6.50 euros for nothing, so the second diagnostic ran on a cold GPU rather than straight off the load; the burn-in should end the session by itself. And the diagnostic's nvbandwidth plugin skipped both times, which I count as "didn't run", not as a pass.

The XID check needed a second source, because a GPU that has never had an XID has no XID metric at all (why). And three hours on one card stand in for a multi-day campaign across racks.

How I built it

What I changed because of the session
Change Reason
USER=trainer in the Job, then in the image, and the build's smoke test now runs as the image's own user The first Job died on getpass.getuser()
goodput.sh start checks the trainer is Running before saying so It announced "training" over a crashed pod
A gpu_zone variable puts the GPU node in another zone of the region fr-par-2 had no L4; moving the whole cluster would have rebuilt the control plane
make down asks the Scaleway API what's left in the GPU zone A failed boot in fr-par-1 left a 150 GB volume billing where Terraform couldn't see it (Findings)
The burn-in capture reports violation time in seconds, not microseconds The counters are nanoseconds; the first capture labelled 99.7% of the window as 10.6 trillion µs. The capture was re-run against the same Prometheus data; the first version is kept as session-d-burn-in-first-capture.txt
The XID check also reads node-problem-detector's condition A clean GPU has no DCGM XID series at all
Clock events come from DCGM_EXP_CLOCK_EVENTS_TOTAL The raw clock-reasons field I queried isn't exported, so that section of the first capture was empty. The new one shows no clock event starting inside the window, which fits a power cap that started in the first minute and never let go
Not done yet: the burn-in should end the session itself, or wake someone 8 hours of idle GPU after the Job finished

The plan, the decisions and how I checked them

The plan

Two GPU sittings, one for tenancy and goodput, one for the burn-in.

Part What GPU time
D1, authoring Object store, tenants and quotas, the time slicing change (not merged), the training job and its goodput analysis with tests, burn-in and capture scripts, checked on the control plane none
D2a, live GPU up, pre-pull the PyTorch image, merge the time slicing commit, tenants and quotas, then the interrupted training run, GPU down about 1.5 h
D2b, live GPU up, dcgmi diag -r 3, 3 hour burn-in, dcgmi diag -r 3 again, capture, GPU down about 3.5 h planned, about 12 h billed: see the burn-in
D3, write-up This page and the runbook from the artifacts none

About 5 GPU hours in total, roughly 4 euros at 0.79 euros an hour.

Decisions

Decision Choice Why
Sharing mechanism Time slicing, 4 replicas The L4 can't do MIG, and MPS needs more setup for the same demonstration. The schema is sharing.timeSlicing.resources[{name, replicas}], read from the device plugin at v0.20.0
How it's switched on A commit to devicePlugin.config in the GPU Operator values, merged during D2a Shows a GPU configuration change going through Git, not kubectl
Checkpoint storage Garage v2.4.1, one node, on the control plane A replacement pod usually lands on another node, so checkpoints on the GPU node's disk would prove the wrong thing. I'd planned on MinIO, but its GitHub repository now says it's no longer maintained and the community edition ships as source only. Garage publishes a pinned image and runs as one node with a default bucket and key from environment variables
Garage's secrets Generated in the cluster by a bootstrap Job, never in Git The Job creates the RPC secret and the S3 key once, keeps them on every later sync, and copies the key into a checkpoint-s3 Secret in each tenant namespace. I didn't use Garage's Helm chart: it makes its RPC secret with lookup, which returns nothing under ArgoCD's helm template, so the secret would change on every sync
How a time slicing change rolls out The config is named after its content (ts-4) The device plugin's config-manager at v0.20.0 reacts to the node label nvidia.com/device-plugin.config, never to the ConfigMap's content. Editing replicas under the same name would leave the running plugin on the old value. A new name changes the ClusterPolicy, and the operator rolls the plugin
Surviving the interruption podFailurePolicy ignores the DisruptionTarget condition; backoffLimit: 0 An eviction through the Eviction API, which is how gpu-remediator drains, isn't counted as a failure, so the Job makes a replacement pod. Any other failure ends the run, so a crash can't hide in the goodput figure as a quiet retry
The step log Each attempt writes its own log to the bucket, flushed every 5 s and on the way out The evicted pod is deleted, and its container log with it. The analysis can't depend on a pod that no longer exists
Training workload A small PyTorch model on synthetic data Keeps the GPU busy without a dataset download on a billed node. The simulated page already says the workloads are synthetic
Goodput definition Useful time is time spent on steps that made it into the final model. Lost time is the outage plus any steps redone after the last checkpoint Written down before the run, so the number can't be shaped afterwards
Burn-in load dcgmproftester13 on the tensor cores, as in Session B Known to hold the L4 at its power limit; Session B already has 20 minutes of it for comparison

Things I stated up front

  • Time slicing has no isolation. Tenants share the GPU's memory and fault domain. An XID from one tenant's process drains everyone on the node, and Session C's controller does exactly that.
  • The outage in the goodput run includes Session C's 5 minute lookback. That's the price of a return to service node-problem-detector can't undo, and it belongs in the lost time.
  • One GPU node means the job can only resume on the node that failed. On a fleet it would move to another node. The checkpoint store is the part that carries over.

What D1 built, and how I checked it without a GPU

Piece Where Checked by
Tenants and quotas gitops/manifests/tenants/, wave 4 tenant-a and tenant-b, each with a ResourceQuota of requests.nvidia.com/gpu: 2. Schema-checked with kubeconform; the refusal itself needs the GPU node
Checkpoint store gitops/manifests/checkpoint-store/, wave 5 The Garage v2.4.1 binary, run locally with this exact garage.toml: a 40 MB multipart upload and download, and a restart that kept the bucket and key
Time slicing config gitops/values/gpu-operator-time-slicing.yaml, listed in the Application during D2a Parsed by the device plugin's own config loader at v0.20.0 (make test-time-slicing). A misspelt key and replicas: 1 both fail, as they should
Training loop and store workloads/goodput/trainer/ 8 unit tests, plus an end to end test against a real Garage server: interrupted at step 130, resumed from the checkpoint at 100, 30 steps redone, only the two newest checkpoints kept. CI runs it against the pinned Garage image
Goodput analysis workloads/goodput/trainer/goodput.py Unit tests on hand-made step logs with known answers
Trainer image workloads/goodput/Dockerfile, built by CI, pinned by digest in job.yaml The build runs the PyTorch backend on CPU for two steps and a checkpoint round trip, and publishes nothing if that fails. On the L4 in D2a it ran at 0.306 s a step, after the USER fix described above
D2 scripts scripts/tenancy.sh, goodput.sh, burn-in.sh shellcheck, and every manifest they generate rendered and schema-checked

The end to end test found a real bug before any GPU time. An evicted attempt's step log was only flushed every 5 seconds, so the last few steps before the kill vanished and would have been counted as outage, not redone work. The test expected 30 redone steps and got 28. The loop now flushes the log on any exit, and SIGTERM is turned into a clean exit so that the flush runs.

The D2 steps

D2a, about 1.5 hours of GPU time:

  1. make up, then make prepull (times the pull of the 4 GB image onto the node).
  2. Push the one-line time slicing commit, then make tenancy-wait (times how long until the node advertises 4 GPUs).
  3. make tenancy, make tenancy-capture, make tenancy-stop.
  4. make goodput. After step 400, SESSION=d make inject-xid NODE=gpu-fleet-gpu-01 XID=79.
  5. After the 5 minute lookback, SESSION=d make return-to-service NODE=gpu-fleet-gpu-01.
  6. When the Job completes, make goodput-capture, then make down.

D2b, about 3.5 hours of GPU time:

  1. make up, then make handover (the runbook's read-only checks, ECC history captured as text this time), make burn-in-diag LABEL=before, make burn-in.
  2. Three hours later, make burn-in-capture, make burn-in-diag LABEL=after, make down.

What D2 answered, and what's still open

Question before D2 Answer
How long does the 4.3 GB PyTorch image take to pull? 3 min 23 s for 4.28 GB, so pre-pulling was worth it
How fast is a training step? 0.306 s median, 0.317 s at the 99th percentile, against my estimate of 0.2 s. 3000 steps took about 15 minutes
How long from the commit to 4 GPUs? 88 s, ArgoCD's poll included

| How long does dcgmi diag -r 3 take on an L4? | 345 s, then 344 s. Level 2 took 6 s |

Still open: what a running GPU pod sees when the device plugin restarts with a new config (I started the tenants after the switch), and why nvbandwidth skips.