Curriculum / Part 8 · Observability, troubleshooting and design
Lesson 34

Monitoring the whole path

Monitoring the whole data path: which metric lives at which layer, and the exporters that collect them.

⏱ 35 min5-question quiz

The simple version

A car dashboard shows speed, fuel, engine temperature and tyre pressure together. If you could only see speed, you'd know you were slow but not whether you were out of fuel or had a flat.

Metric by layer

LayerExample metricsTypical source
GPUUtilisation, memory use, PCIe throughputDCGM exporter (e.g. DCGM_FI_DEV_GPU_UTIL)
FrameworkStep time, data-wait time, checkpoint timeTraining logs / framework metrics
Host I/ODevice read/write bytes, I/O time, queuenode_exporter (e.g. node_disk_read_bytes_total)
Client filesystemRPC rates and latency per mountmountstats, Lustre client stats
NetworkPort throughput, drops, pause frames, ECN marksSwitch and NIC counters
Storage systemServer latency, per-target load, capacityVendor exporters; Lustre jobstats

A common stack

Exporters on every node (DCGM exporter, node_exporter) and on storage systems feed Prometheus; Grafana dashboards put the layers side by side, aligned in time. Lustre jobstats attribute I/O to job IDs, so a storage spike can be traced to the job that caused it.

Designing the dashboard

  • One row per layer, top to bottom in the order data flows: GPU → framework → host → filesystem client → network → storage.
  • Same time axis everywhere, so a GPU dip lines up with its cause.
  • Show percentiles for latency, not just averages.
  • Alert on symptoms users feel (GPU idle, step time), then drill down.

Tools

dcgm-exporter
NVIDIA DCGM metrics for Prometheus.
node_exporter
Host metrics including per-device disk I/O.
lctl get_param *.*.job_stats
Lustre per-job I/O statistics.
simdash (simulator only)
One-screen layered view in the Storage School lab.

Quiz

Lab

Related lab

Lab 8.1 · Five faults at once

Everything on gpu-a feels slow: training, checkpoints, GPUDirect loads and model loading from the NAS, and new checkpoints sometimes fail. There are five separate faults. Start with simdash, then work layer by layer. The training job uses /lustre/datasets/imagenet-raw and checkpoints to /lustre/scratch/ckpt every 10 minutes.

Start lab 8.1 →

Try it now in the simulator (opens with the command ready; press Enter):

$ simdash