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
- GPU: are GPUs actually idle? (
nvidia-smi dmon, DCGM) - Framework: is the idle time data wait or checkpoint stall?
- Client I/O: what does the node see? (
iostat -x,mountstats,nfsstat -m,lfs getstripe) - Path: right NIC, right NUMA node, GDS really on? (
nvidia-smi topo -m,gdscheck -p) - Network: drops, pauses, link speed.
- Storage system: server latency, hot targets, full OSTs, metadata load.
Symptom → likely cause
| Symptom | Likely cause | Lab |
|---|---|---|
| GPU idle, lots of tiny file opens | Metadata-bound loader | 3.1 |
| Training pauses at regular intervals | Checkpoint write stalls | 3.2 |
| One big file stuck at one server's speed | Stripe count 1 | 4.1 |
| ENOSPC with lots of free space overall | One full OST, or inodes | 4.2, 1.3 |
| "GPUDirect" no faster than the CPU path | Compatibility mode | 5.1 |
| Same job, some GPUs slower | Cross-socket placement | 5.2 |
| NAS reads capped near one stream | nconnect=1 | 6.1 |
| Fast on old nodes, slow on new ones | Cold cache | 7.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 uAre GPUs idle?
iostat -x / mountstats / nfsstat -mWhat the client sees.
gdscheck -p / nvidia-smi topo -mIs the GPU data path what you think it is?
lfs df -h / lfs getstripeLustre 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.
Try it now in the simulator (opens with the command ready; press Enter):
$ simdash$ gdscheck -p$ nfsstat -m