# Size Your Training Storage for Checkpoint Bursts, Not Averages

> Why synchronous checkpoints quietly idle your GPU cluster, how to measure the stall, and the storage and save patterns that fix it.

Published 2026-11-09 by Sovont. Tags: HPC & Power, MLOps.
Web page: https://sovont.com/blog/size-your-training-storage-for-checkpoint-bursts-not-averages/

Most training clusters get storage sized for the data loader: steady reads, predictable throughput, comfortably under what the filesystem can sustain. Then every N steps, every rank stops computing and dumps model and optimizer state at once. If the shared filesystem can't absorb that burst, your GPUs sit idle until the write finishes. Nobody bills that time as "checkpointing." It shows up as lower utilization and longer runs, and it gets blamed on everything else.

## Why checkpoints are bigger and burstier than you planned for

A checkpoint isn't just the weights. With mixed-precision training and Adam, each parameter carries an fp32 master copy plus two fp32 optimizer moments. That's roughly 12 bytes per parameter before you count the bf16 weights. Back-of-envelope:

| Model size | Weights only (bf16) | Weights + Adam state (~14 B/param) |
|---|---|---|
| 7B | ~14 GB | ~100 GB |
| 70B | ~140 GB | ~1 TB |

The second column is what a resumable checkpoint writes. And it's written all at once, by every node, against the same storage target.

Average write load across a run looks tiny. Peak load during a save is the whole checkpoint divided by however long you're willing to wait. Storage sized on averages will always look fine on a dashboard and still stall the job.

The arithmetic is unforgiving. A 1 TB checkpoint at a sustained 10 GB/s aggregate write takes about 100 seconds. At 2 GB/s it takes more than 8 minutes. With a synchronous save, the whole cluster is idle for that entire window, every time.

## How to spot the stall

You probably already have the signals. Look for:

- **A sawtooth in GPU utilization** that lines up with your checkpoint interval. Utilization drops to near zero across all nodes simultaneously, then recovers.
- **Step time outliers at regular intervals.** Plot a step-time histogram. A clean bimodal shape with the slow mode repeating every N steps is the checkpoint.
- **Storage write throughput that flat-tops.** If the filesystem's write graph hits a ceiling during saves and stays there, you're bandwidth-bound, not compute-bound.
- **Metadata pressure.** Per-rank sharded saves can create thousands of files at once. On some parallel filesystems the metadata server becomes the bottleneck before raw bandwidth does.
- **Long `fsync` or close times** in your save path, if you instrument it.

Then measure the cost directly: checkpoint wall time × number of saves per day × GPUs in the job. That's idle GPU-hours you're paying for.

## Pick the interval with math, not habit

Checkpoint frequency is a trade-off. Save too often and you pay the stall repeatedly. Save too rarely and a failure throws away hours of work across every GPU in the job.

Young's approximation gives a reasonable starting point: the optimal interval is about the square root of (2 × time to write a checkpoint × mean time between failures). Two things follow:

- If your checkpoint is slow, the right interval gets longer, which raises the cost of each failure. Slow storage hurts you twice.
- Mean time between failures falls as the job grows, because any node or link failure kills the run. A large job needs more frequent saves, so it needs faster saves.

Use your own failure logs for MTBF, not a vendor figure. Recompute when you scale the job up.

## Fixes, and what each one costs

| Approach | What it does | Cost / risk |
|---|---|---|
| Sharded parallel writes | Every rank writes its own slice at the same time | Needs filesystem that scales with clients; more files, more metadata load |
| Async checkpointing | Copy state to host memory, resume training, write in background | Host RAM per node must hold the shard; background write contends with data loading |
| Tiered saves | Write to local NVMe fast, drain to shared storage later | A node loss before drain loses that checkpoint; keep the previous one on shared storage |
| Weights-only intermediate saves | Skip optimizer state on some saves | Those saves can't resume training exactly; fine for eval, not for recovery |
| More storage bandwidth | Buy or provision for the burst | Real money; only worth it after the cheaper fixes |

The usual order: shard first, go async second, add a local NVMe tier third, and buy bandwidth last. PyTorch's distributed checkpoint module supports both sharded and asynchronous saves, so check whether your training stack already exposes them before building your own.

Two cautions. Async checkpoints still have to finish before the next one starts; if background writes take longer than the interval, they queue up and you're back to stalling. And always verify a checkpoint by restoring it, on a schedule, not only after a crash.

## Test the burst before you sign for the storage

Benchmark the storage the way checkpoints use it: every node writing large sequential files simultaneously. A single-client test tells you almost nothing. Run something like this on all nodes at once:

```
fio --name=ckpt --rw=write --bs=4M --size=50G \
    --numjobs=8 --direct=1 --ioengine=libaio \
    --directory=/shared/ckpt-test --group_reporting
```

Sum throughput across nodes and compare it to checkpoint size divided by the stall you can tolerate. Then repeat while the data loader is reading, because that's the real condition during an async save. This belongs in your cluster acceptance criteria alongside NCCL and burn-in tests; [the acceptance test post](https://sovont.com/blog/the-gpu-cluster-acceptance-test-you-skipped/) covers the rest of that list.

Also set a retention policy now. A 1 TB checkpoint saved every hour fills shared storage fast, and a full filesystem fails the save, which you usually discover after the next node failure.

If checkpoint stalls are one line item in a bigger utilization question, the [GPU Spend & Capacity Audit](https://sovont.com/#audit) is built to find where the idle GPU-hours are going.
