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

Capstone: design storage for a GPU cluster

Capstone: design storage for a GPU cluster end to end, with numbers, tiers, network and failure modes, then defend it.

⏱ 45 min5-question quizLab 8.3

The simple version

You've learned how each room in the house works. Now you draw the whole house for a family who'll actually live in it, and the inspector will check every number.

Inputs to collect

  • GPUs and nodes; model size and checkpoint interval; acceptable stall.
  • Dataset size, format (small files vs shards), epochs, growth.
  • Inference needs: replicas, weight sizes, start-up targets.
  • Failure targets: node loss, drive loss, rebuild SLA.

Design steps

  1. Checkpoint: size = params × ~14 B; write bandwidth from stall target (Lesson 13, 15).
  2. Read path: per-node demand; small files → shards; caching (Lessons 12, 33).
  3. Tiers: object source of truth, parallel FS hot tier, local NVMe cache (Lessons 29, 30).
  4. Parallel FS: OST count from bandwidth, capacity with headroom, metadata plan (Lessons 17, 19).
  5. GPU data path: RDMA, GDS, NUMA placement (Lessons 22, 23, 25).
  6. Network: storage NICs per node, fabric capacity, QoS (Lesson 24).
  7. Protection: erasure coding, rebuild time vs SLA (Lesson 10).
  8. Observability: dashboards and alerts per layer (Lesson 34).

Defending the design

Expect reviewers to ask: what's the bottleneck at peak? What happens during a rebuild? What if the dataset doubles? How did you measure the numbers you assumed? A design is ready when every number has a source (calculation, benchmark or vendor document) and every assumption is written down.

stall ≤ s% of wall time → stall ≤ interval × s ÷ (1 − s)

20 min interval, 1% → stall ≤ 1,200 × 0.01 ÷ 0.99 ≈ 12.1 s. A 2.45 TB checkpoint then needs ≈ 202 GB/s (Lab 8.3).

Tools

Spreadsheet / notebook
Keep inputs, assumptions and math together.
fio, IOR, mdtest, warp
Validate the numbers you assumed.
Lab 8.3
Practise the arithmetic with a scored review.

Quiz

Lab

Lab 8.3 · Capstone design review

You're designing storage for a new cluster: 2,048 GPUs (256 nodes) training a 175B-parameter model. Checkpoints every 20 minutes; checkpoint stalls must stay at or below 1% of wall time; keep the last 5 checkpoints on the fast tier. Assume ~14 bytes per parameter per checkpoint and 4 GB/s write per OST. Answer each design question; the review passes when every number is within tolerance.

Start lab 8.3 →

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

$ lfs df -h$ kubectl get sc$ simdash