Curriculum / Part 6 · Scale-out NAS and object storage
Lesson 30

Tiering and data movement

Hot, warm and cold tiers; prefetch and staging; lifecycle rules; and what it costs in time to move petabytes.

⏱ 30 min5-question quiz

The simple version

Clothes you wear daily stay in the wardrobe, winter coats go in the loft, and old school reports go in a box at grandma's. Moving everything between rooms takes an afternoon, so you plan it.

Tiers

TierExamplesHolds
HotLocal NVMe, all-flash parallel FSCurrent training set, latest checkpoints
WarmScale-out NAS, capacity flashRecent datasets, models, eval data
ColdObject storage on capacity media, tapeRaw data, old checkpoints, archives

Moving data costs time

time = bytes ÷ the slowest link in the path

1 PB at 20 GB/s = 50,000 s ≈ 13.9 hours. At 2 GB/s it's nearly six days. Plan staging before the job, not when the GPUs are already allocated.

Prefetch the next dataset version while the current job runs, and stage in order of first use so the job can start before the copy finishes.

Policies instead of manual moves

Object stores support lifecycle rules that transition or expire objects by age or prefix (for example, move checkpoints older than 30 days to a colder class, delete them after a year). Parallel and scale-out filesystems often have their own policy engines for moving files between pools. Write retention rules down with the training team before the hot tier fills.

Tools

aws s3 sync / s5cmd
Bulk staging between object and file tiers.
rsync -a SRC/ DST/
File-to-file staging (e.g. NAS → local NVMe).
S3 lifecycle configuration
Automatic transition/expiration rules.

Quiz

Lab

Related lab

Lab 6.3 · Training from cold object storage

A multimodal job reads its training shards straight from s3://datasets/laion-shards (4,000 shards, ~1 MiB per sample). The GPUs sit mostly idle. Raising the loader worker count helps a little, then stops helping. The dataset's source of truth must stay in S3.

Start lab 6.3 →

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

$ aws s3 sync s3://datasets/laion-shards/ /lustre/datasets/laion-shards/