Curriculum / Part 3 · How AI workloads use storage
Lesson 15

Sizing storage for a GPU cluster

A repeatable method to size storage for a GPU cluster: read bandwidth, checkpoint writes, capacity and metadata, with assumptions written down.

⏱ 40 min5-question quiz

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

  1. Read bandwidth = GPUs × per-GPU ingest rate (from Lesson 12).
  2. Checkpoint write bandwidth = checkpoint size ÷ target stall (from Lesson 13).
  3. Capacity = datasets + retained checkpoints + scratch + growth headroom.
  4. 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.

ItemMathResult
Checkpoint size70 × 10⁹ × 14 B980 GB
Write bandwidth980 GB ÷ 30 s≈ 33 GB/s
Stall fraction30 ÷ (1,800 + 30)≈ 1.6%
Checkpoint capacity10 × 980 GB9.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 -h
Validate capacity and OST balance on the parallel FS.
fio (many clients)
Validate the aggregate write rate you sized for.
Spreadsheet / notebook
Keep assumptions and math together so reviewers can check them.

Quiz

Lab

Related 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.

Start lab 3.2 →

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

$ lfs df -h$ df -h