Storage and checkpoint bandwidth
Quick answer
Storage bandwidth controls how quickly training data arrives and checkpoints persist. Compare required throughput with measured sustained throughput, and treat checkpoint completion as a recoverability boundary. Examples use small synthetic inputs and dependency-free Python. No cloud calls. ByteMind execution is unverified.
Estimate sequential read time
size_mb=12000; bandwidth=300print(size_mb/bandwidth)Expected output (locally tested): 40.0. Decimal MB cancel, leaving seconds.
How it works
Use consistent units: decimal MB/s means 1,000,000 bytes per second. Reading a 12 GB dataset at 300 MB/s has an ideal 40-second transfer time. Random small reads, compression, metadata requests and contention can increase it. A pipeline with overlapping stages is bounded by the slowest stage; serial stages add their durations. Local NVMe can cache approved data; object storage offers durable remote objects but has request costs and network latency. Validate data hashes and access rights before caching. Checkpoint bytes include optimizer state and other resume metadata, not merely inference weights. A 4 GB checkpoint at 200 MB/s requires at least 20 seconds. Use a temporary object or versioned key and publish a manifest only after all required objects are verified. Keep previous committed checkpoints until the new one is proven recoverable. An asynchronous write may still be in flight when interruption occurs. Measure actual I/O and do not equate theoretical interconnect bandwidth with object-store throughput.
Estimate pipeline bottleneck
Expected output (locally tested): 250. Under ideal overlap, the slowest stage caps throughput.
Common mistakes
Do not divide GB by MB/s without conversion; do not assume read/write bandwidth is symmetric or that an uncommitted checkpoint is safe. Do not delete older versions before validating recovery.
Practice and next steps
Calculate a checkpoint time, then double its size while halving throughput. Explain how a frequent checkpoint interval can reduce useful training time.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Storage and checkpoint bandwidth — knowledge check
Apply storage and checkpoint bandwidth to small examples and debugging scenarios.
What limits an ideally overlapped input pipeline?
A 4 GB checkpoint at 200 MB/s takes at least?
When is a checkpoint committed?
What can cause lower observed throughput?
What should be retained during a new checkpoint write?