The simple version
Think of a restaurant. Groceries arrive in bulk at the back door (ingest), get washed and chopped (prep), cooked fast during dinner rush (training), and leftovers go in the freezer (archive). Every so often the chef photographs the half-cooked dish in case the stove breaks (checkpoint). You wouldn't use the walk-in freezer as the chopping board.
Stages and their access patterns
| Stage | What happens | Access pattern | Typical tier |
|---|---|---|---|
| Ingest | Raw data lands: crawls, images, logs | Large sequential writes, many sources | Object storage |
| Prep / curation | Decode, filter, dedupe, tokenize, shard | Mixed reads and writes, CPU-heavy, often many small files | Parallel FS or NAS, plus object |
| Training | GPUs read samples every step | Read-heavy; random across an epoch; must keep pace with GPUs | Parallel FS, local NVMe cache |
| Checkpoint | Save model and optimizer state | Bursty large writes from every GPU at once | Parallel FS (fast), then object (durable) |
| Inference | Load weights, serve requests | Large reads at startup; latency-sensitive cache traffic | Local NVMe, NAS, object |
| Archive | Keep datasets and models for reuse or audit | Rare reads, cheap per TB | Object, capacity disk, tape |
Data moves between tiers
No single tier is best at everything, so data moves: object storage holds the source of truth, a parallel filesystem holds the hot working set for training, local NVMe caches what each node reads repeatedly, and checkpoints flow back to durable storage. Every move costs time and network bandwidth, which is why Lesson 30 treats data movement as a design cost.
Who touches the data
Each stage often has different owners and tools (data engineering, ML engineers, platform teams). Storage problems often show up as someone else's symptom: "the GPUs are idle", "the job died at step 40,000", "the model takes ten minutes to load". The rest of Part 3 turns each of those symptoms into numbers.
Tools
aws s3 ls s3://bucket/prefix/Inspect object storage (any S3-compatible endpoint with --endpoint-url).
lfs df -hCapacity and balance of a Lustre filesystem.
df -h / df -iSpace and inodes on local and network mounts.
Quiz
Lab
Lab 3.1 · Starved dataloader
A vision model trains from /lustre/datasets/imagenet-raw: 1.28 million JPEGs averaging 110 KiB. nvidia-smi shows the GPUs mostly idle. The same images also exist as 1,024 tar shards in /lustre/datasets/imagenet-shards.
Try it now in the simulator (opens with the command ready; press Enter):
$ ls -lh /lustre/datasets$ aws s3 ls s3://datasets/raw/$ lfs df -h