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

The troubleshooting playbook

A repeatable playbook for 'is it storage?': walk from the GPU down the data path, checking one layer at a time.

⏱ 35 min5-question quizLab 8.1

The simple version

When a tap runs slowly, a plumber checks the tap, then the pipe under the sink, then the valve, then the main, in that order, instead of digging up the street first.

The order to check

  1. GPU: are GPUs actually idle? (nvidia-smi dmon, DCGM)
  2. Framework: is the idle time data wait or checkpoint stall?
  3. Client I/O: what does the node see? (iostat -x, mountstats, nfsstat -m, lfs getstripe)
  4. Path: right NIC, right NUMA node, GDS really on? (nvidia-smi topo -m, gdscheck -p)
  5. Network: drops, pauses, link speed.
  6. Storage system: server latency, hot targets, full OSTs, metadata load.

Symptom → likely cause

SymptomLikely causeLab
GPU idle, lots of tiny file opensMetadata-bound loader3.1
Training pauses at regular intervalsCheckpoint write stalls3.2
One big file stuck at one server's speedStripe count 14.1
ENOSPC with lots of free space overallOne full OST, or inodes4.2, 1.3
"GPUDirect" no faster than the CPU pathCompatibility mode5.1
Same job, some GPUs slowerCross-socket placement5.2
NAS reads capped near one streamnconnect=16.1
Fast on old nodes, slow on new onesCold cache7.2

Habits that save hours

  • Change one thing at a time and re-measure.
  • Write down what you ruled out, and the evidence.
  • Reproduce with a small, honest benchmark before touching production settings.
  • Expect more than one fault (Lab 8.1).

Tools

nvidia-smi dmon -s u
Are GPUs idle?
iostat -x / mountstats / nfsstat -m
What the client sees.
gdscheck -p / nvidia-smi topo -m
Is the GPU data path what you think it is?
lfs df -h / lfs getstripe
Lustre capacity and layout.

Quiz

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$ gdscheck -p$ nfsstat -m