The simple version
Planning a party: you count guests, how much each eats, how often plates get refilled and how big the fridge must be. You don't start by buying the biggest oven in the shop.
The four numbers
- Read bandwidth = GPUs × per-GPU ingest rate (from Lesson 12).
- Checkpoint write bandwidth = checkpoint size ÷ target stall (from Lesson 13).
- Capacity = datasets + retained checkpoints + scratch + growth headroom.
- Metadata rate = file opens/creates per second across all nodes.
Write every assumption next to its number. Most sizing mistakes are unstated assumptions, not bad arithmetic.
Worked example
Assumptions: 1,024 GPUs (128 nodes) training a 70B LLM; tokenized dataset of 60 TB; checkpoint every 30 min; target stall ≤ 30 s; keep the last 10 checkpoints; 30% headroom.
| Item | Math | Result |
|---|---|---|
| Checkpoint size | 70 × 10⁹ × 14 B | 980 GB |
| Write bandwidth | 980 GB ÷ 30 s | ≈ 33 GB/s |
| Stall fraction | 30 ÷ (1,800 + 30) | ≈ 1.6% |
| Checkpoint capacity | 10 × 980 GB | 9.8 TB |
| Hot capacity | (60 + 9.8) TB × 1.3 | ≈ 91 TB |
For LLM text training the read bandwidth is usually small next to the checkpoint burst. For vision or multimodal training, redo step 1: it may dominate, and so may metadata.
Turning numbers into tiers
Map the numbers onto tiers: a parallel filesystem sized for the write burst and the hot working set, object storage for the full dataset history and older checkpoints, and local NVMe as a cache. Then check the network: can the storage fabric actually carry 33 GB/s into the cluster, and how much per node (Lesson 24)?
Tools
lfs df -hValidate capacity and OST balance on the parallel FS.
fio (many clients)Validate the aggregate write rate you sized for.
Spreadsheet / notebookKeep assumptions and math together so reviewers can check them.
Quiz
Lab
Lab 3.2 · Checkpoint stalls
Training pauses every 10 minutes while each host writes a 120 GiB checkpoint to /lustre/scratch/ckpt. The team measured over 5% of wall time lost to these stalls.