Last updated: 06 December 2026
Choosing storage for AI and machine learning is not one decision. It is a chain of smaller ones: where raw data lives, what feeds the GPUs, where checkpoints go, and how long anything is kept. This guide lists those decision points in the order you meet them, so you can pick a sensible design and avoid expensive surprises.
The short answer: keep a durable, cheap, scalable object store as the system of record, add a fast tier (local NVMe, a parallel file system or a high-performance object class) only where a workload proves it needs one, and decide retention and cost rules before the data grows.
Why storage for AI and machine learning is different
Classic big data jobs scan large files sequentially and care about throughput per dollar. Model training adds a second pattern: many accelerators reading shuffled samples at once, while also writing large checkpoints on a schedule. If storage cannot keep up, expensive GPUs sit idle. If storage is over-built, you pay premium prices for data that is rarely touched.
So the goal is not the fastest storage. It is the cheapest storage that never starves compute at each stage.
The pipeline at a glance

Most designs follow this shape: a durable lake, a fast working tier close to compute, and a return path for checkpoints and models.
Decision point 1: Object, file or block?
| Type | Strengths | Weaknesses | Typical use |
|---|---|---|---|
| Object | Scales to very large datasets, low cost per GB, durable, works with most analytics engines | Higher per-request latency, no in-place edits, weaker POSIX behavior | Data lake, raw and curated datasets, model artifacts, archives |
| File (NFS or parallel file system) | Familiar paths and POSIX semantics, shared access across many nodes, good for small-file and mixed access | Costs more, metadata servers can become a bottleneck, capacity planning needed | Shared training data, home directories, notebooks, HPC-style jobs |
| Block (local NVMe or network volumes) | Lowest latency, simple to attach to one machine | Not shared by default, tied to a node or zone, data may vanish with an instance | Scratch space, caches, databases, single-node training |
A common pattern is object as the source of truth and file or block as a disposable working copy.
Decision point 2: What does the access pattern look like?
Measure before you buy. Ask these questions about each workload:
- Are reads large and sequential, or small and random?
- How many files are there? Millions of tiny images stress metadata far more than a few big shards.
- How many clients read at the same time?
- Is the dataset re-read every epoch, or read once?
- Is the workload read-heavy (training) or write-heavy (ingest, checkpoints)?
One cheap fix for small-file problems is packing samples into larger shard files (for example tar-based or columnar formats such as Parquet). This often helps more than faster hardware, because it turns random small reads into sequential large ones.
Decision point 3: Do you need a fast tier?
If the object store can feed your jobs at the rate they consume data, you do not need more. When it cannot, you have a few options:
- Local NVMe cache. Copy or cache the hot subset onto each node. Cheap and quick, but each node holds its own copy and the cache must be warmed.
- Parallel or high-performance file system. Shared, fast and POSIX-friendly, but you pay for capacity and operations.
- High-performance object class. Some clouds offer this. For example, AWS describes S3 Express One Zone as a single-Availability-Zone class built for consistent single-digit millisecond access, and it has been integrated with SageMaker model training for training data and checkpoints. The trade-off AWS documents is that data is not stored redundantly across zones, so treat it as a working tier, not your only copy. Check current regional availability before relying on it.
Keep the fast tier in the same zone or fabric as the compute. Crossing zones adds latency and often network cost.
Direct paths to the GPU
NVIDIA GPUDirect Storage lets storage or a NIC transfer data by DMA straight into GPU memory instead of through a CPU bounce buffer. NVIDIA’s documentation says this can lower latency and raise effective bandwidth, and that on some systems the direct path offers at least twice the peak bandwidth of a CPU path. It suits coarse-grained streaming transfers rather than fine-grained random access, and it needs a supported file system, drivers and hardware. Treat it as an optimization once simpler fixes are exhausted.
Decision point 4: Throughput, latency or IOPS?
Different stages stress different numbers.
- Large-scale ETL and analytics: aggregate throughput.
- Training data loading: sustained throughput plus enough parallelism to hide latency.
- Feature stores, vector search, online inference: low tail latency and high IOPS.
- Checkpointing: burst write bandwidth. All ranks may write at once, and training pauses until the write completes unless you use asynchronous saving.
Look at the 99th percentile latency, not just the average. A slow outlier read can stall a whole synchronized training step.
Decision point 5: Durability, availability and recovery
Decide what you can afford to lose. Raw data and labeled datasets are often irreplaceable, so they belong in multi-zone, versioned storage with backups. A scratch cache can be rebuilt, so it can be cheap and single-zone. Checkpoints sit in between: keep the latest few on the fast tier for quick restarts and copy periodically to durable storage.
Also plan for reproducibility. Version datasets and record which version trained which model. Object versioning or table formats with snapshots make this far easier than overwriting files.
Decision point 6: Cost and lifecycle
Storage cost is more than price per GB. Include request charges, data transfer between zones or regions, and the idle cost of unused GPUs waiting on slow reads. Practical controls:
- Use lifecycle rules to move old raw data and stale checkpoints to cheaper tiers or delete them.
- Keep only the checkpoints you would actually resume from.
- Compress and use columnar formats for analytics data.
- Tag data by project and owner so cost reports are meaningful.
Decision point 7: Security, governance and location
Training data often includes personal or licensed content. Settle encryption at rest and in transit, access controls per team, audit logging and data residency early. Moving petabytes later to meet a compliance rule is painful. Also check that your chosen tier supports the same access policies as your main store.
Decision point 8: Cloud, on-premises or hybrid?
Cloud gives elasticity and managed services, but egress fees and per-request costs can dominate when data is large and re-read often. On-premises offers predictable cost at steady high utilization but requires capacity planning and skills. Hybrid setups work when data gravity is on one side and bursty compute on the other. Whatever you choose, avoid designs that move the full dataset repeatedly.
A simple decision flow
- Put all durable data in an object store with versioning.
- Pack small files into shards and use columnar formats for tabular data.
- Run a representative job and measure GPU utilization and read throughput.
- If the GPUs wait on data, add a cache or fast tier close to compute.
- Only if that is still not enough, evaluate parallel file systems or direct-to-GPU paths.
- Set lifecycle, retention and access rules.
Hands-on exercise: find your bottleneck
This is a hypothetical starting point. The commands have not been tested here, so adapt them to your environment.
# 1. Measure raw sequential read speed of a dataset directory
fio --name=seqread --directory=/data/train --rw=read --bs=1M \
--size=4G --numjobs=8 --group_reporting
# 2. Measure small random reads
fio --name=randread --directory=/data/train --rw=randread --bs=4k \
--size=2G --numjobs=16 --iodepth=32 --group_reporting
# 3. Watch GPU utilization during a real training run
nvidia-smi dmon -s u
Compare the results with what your training job needs. If GPU utilization is low and storage throughput is near its limit, storage is the bottleneck. If utilization is low but storage is idle, look at the data loader, CPU preprocessing or network instead.
Common mistakes
- Buying the fastest tier for all data instead of only the hot subset.
- Storing millions of tiny files and blaming the hardware.
- Putting the only copy of important data on single-zone or local storage.
- Ignoring checkpoint write bursts until a large run stalls.
- Forgetting cross-zone or egress charges.
- Never deleting old experiment outputs.
FAQ
Is object storage fast enough for training?
Often yes, if data is sharded into large files and read in parallel. For very demanding or latency-sensitive jobs, add a cache or a faster tier.
Do I need a parallel file system?
Only if shared POSIX access with very high throughput is a proven requirement. Many teams do well with object storage plus local NVMe caching.
Where should checkpoints go?
Write to the fastest tier to limit training pauses, then copy to durable storage. Keep retention rules so old checkpoints do not pile up.
Does big data analytics need the same storage as model training?
The same object-store lake usually serves both. Training then adds a faster working tier on top.
What should I decide first?
Decide the durable system of record and its retention and security rules. Performance tiers can be added later. Data placement mistakes are harder to undo.