When people talk about AI infrastructure, almost all the attention goes to the GPUs: how many teraflops, how much VRAM, what NVLink interconnect. But there is one component that silently decides whether that power is used or wasted: storage. A GPU only does useful work when it has the next batch of data ready in memory. If the storage system cannot deliver it in time, the GPU sits idle and its utilization collapses.
The math is brutal: a €30,000 GPU idle waiting for data is burnt money. If the data pipeline does not feed the accelerator, you have paid for compute that never runs. That is why the goal of any AI storage architecture boils down to one phrase: keep the GPUs fed.
In this article we break down the different phases of an AI project and their input/output (I/O) patterns, the storage hierarchy that covers them (local NVMe, parallel file system and S3 object storage) and the concepts you need to master to size it well: aggregate throughput, small-file IOPS, caching and prefetching.
The Silent Bottleneck of AI
The metric that matters in a training cluster is GPU utilization. If your accelerators spend 40% of their time waiting on I/O, your job takes twice as long and your cost per experiment skyrockets. In most projects that fall short of the expected utilization, the culprit is neither the model nor the neural network: it is the data pipeline that cannot keep up with the dataloader.
The problem is "silent" because it does not show up as an error. Training progresses, the loss goes down, everything works... only slower than it should, and often nobody measures how long the GPU sits idle between batches. The difference between well-sized and badly-sized storage can be 2x or 3x in total training time on exactly the same compute hardware.
To understand what storage needs, you have to look inside each phase of the project, because each one generates a completely different I/O pattern. Optimizing for the wrong phase is as expensive as not optimizing at all.
The Four Phases of AI and Their I/O Patterns
An AI project does not have a single disk-access profile. It goes through at least four phases, and each one stresses storage differently:
1. Dataset ingestion and preparation. Here terabytes of raw data are downloaded, cleaned, deduplicated and transformed. The dominant pattern is large-volume sequential writes: big files written in one pass. What matters is sequential bandwidth and total capacity, not latency. It is the perfect phase for a data lake on cheap object storage.
2. Training. This is the most demanding phase. On every epoch the dataloader performs massive random reads of many small files, usually in shuffled order so the model does not learn the ordering of the data. Storage needs very high throughput and IOPS plus low latency, sustained. This is where local NVMe or a parallel file system shine: they are the only ones able to serve thousands of samples per second to each GPU without becoming the brake.
3. Checkpointing. Periodically you must save the complete model state (weights, optimizer state, momenta) in case the job fails and has to be resumed. These are huge sequential write bursts: large models write hundreds of GB at once. The critical requirement is that these writes must not block training: while the checkpoint is being dumped, the GPUs should keep computing. Slow storage here turns every checkpoint into a pause of minutes multiplied across thousands of iterations.
4. Inference. When serving the trained model, the pattern changes again: an initial model load (a large sequential read of the weights into memory) followed by occasional reads. Cold-load latency matters for startup time; once loaded into VRAM, storage almost disappears from the critical path, except in RAG architectures that query external indexes.
Table: AI Phase, I/O Pattern and Ideal Storage
This table summarizes what each phase demands and which storage tier covers it best:
| AI phase | I/O pattern | Ideal storage |
|---|---|---|
| Ingestion & preparation | Sequential writes, large volume | S3 object storage (data lake) |
| Training | Massive random reads, small files, low latency | Local NVMe / parallel FS |
| Checkpointing | Huge sequential write bursts | Local NVMe + replica to S3 |
| Inference | Sequential model load, occasional reads | Local NVMe (scratch) |
The AI Storage Hierarchy
No single tier covers all four phases well. Mature AI infrastructures combine three levels, each optimized for a different trade-off between speed, capacity and cost:
Maximum-speed scratch
Hot data for the current epoch and recent checkpoints. Millions of IOPS, minimal latency, inside the GPU server itself.
Shared and fast
For multi-GPU clusters: Lustre, BeeGFS, WEKA or NVMe-oF. Aggregate bandwidth to serve the same dataset to dozens of nodes.
Cheap data lake
Cold datasets, historical versions and archived checkpoints. Near-unlimited capacity at the lowest cost per TB.
Local NVMe is the scratch: the fastest workspace, inside the GPU server, where the current epoch's data lives. The parallel file system solves the challenge of a cluster with many nodes that need to read the same dataset at once without saturating a single NFS server; solutions like VAST Data, WEKA, Lustre or BeeGFS deliver aggregate bandwidth of tens or hundreds of GB/s. And S3 object storage is the data lake: cheap, scalable and perfect for keeping everything that does not fit (and does not need to fit) on the fast tier.
The typical flow decreases in frequency and increases in capacity as you go down: datasets live in S3 storage, get staged to the parallel file system or local NVMe before training, and checkpoints travel the reverse path to be archived.
Throughput, IOPS and the Small-File Problem
To size AI storage you have to talk about two quantities that are not the same. Aggregate bandwidth (GB/s) measures how much data per second the system can move in total; it is the key metric when you read large files sequentially. Small-file IOPS measures how many independent operations per second it supports; it is what dominates when the dataloader opens thousands of tiny images per second.
That is where the millions-of-small-files problem appears. A computer-vision dataset can be 10 million 50 KB images. Reading them one by one on each epoch brutally punishes metadata IOPS (opening, seeking, closing each file) and sinks the effective throughput far below the disk's theoretical maximum. The standard fix is to group examples into sequential shards with formats like WebDataset (tarballs) or TFRecord: they turn millions of small random reads into a handful of large, far more efficient sequential reads.
Rule of thumb:
If your dataset is millions of tiny files, do not train it as-is. Pack it into shards (WebDataset / TFRecord) and let the dataloader prefetch and cache the next batches while the GPU processes the current one. The fastest disk cannot make up for a badly designed data pipeline.
Beyond the format, the modern dataloader hides latency with two techniques: caching (keeping already-read samples in RAM or local NVMe to reuse them across epochs) and prefetching (reading batch n+1 while the GPU computes batch n, overlapping I/O and compute). Good prefetching with enough workers can completely hide storage latency, as long as the throughput is there.
An important reminder: when storage is shared over the network, the fast network is as critical as the disk. A 200 GB/s parallel file system is useless if the GPU nodes hang off a 10 GbE link. Serious architectures use 100/200/400 GbE or InfiniBand precisely so that shared storage does not become the new bottleneck. And if you are deciding between disk interfaces, our SATA vs SAS vs NVMe guide explains why NVMe is the only option for the hot AI tier.
How to Size It: TB, GPUs and Throughput
Sizing AI storage means relating three variables: the dataset size (TB), the number of GPUs and the per-GPU throughput your model demands. The logic is simple: each GPU consumes a certain number of samples per second; multiply by the average sample size and you get the bandwidth that accelerator demands. Sum it across all GPUs and you have the aggregate throughput the storage must sustain.
A rough example: an 8-GPU node training vision may ask for several GB/s of sustained reads. If the full dataset fits on the node's local NVMe, you need nothing more: copy it once and train. If the dataset is tens of TB and does not fit, or if you have a multi-node cluster sharing the same dataset, you need the parallel file system so you do not replicate the data on every machine and to guarantee aggregate bandwidth. And S3 behind it to keep the full set and its versions.
Compact platforms like the NVIDIA DGX Spark illustrate the single-node approach well: they combine fast NVMe with unified memory between CPU and GPU, so datasets that fit in the system are served without going to the network. For many fine-tuning and inference projects, a well-equipped node with local NVMe removes the storage bottleneck at the root.
EasyDataHost: AI Storage in Spain
At EasyDataHost we cover the three tiers of the AI storage hierarchy from our own datacenter in Spain:
- arrow_right GPU servers with local NVMe: our GPU servers include high-speed NVMe as scratch to keep the GPUs fed during training and checkpointing.
- arrow_right S3 storage for data lakes: our S3 storage platform hosts cold datasets, versions and archived checkpoints with scalable capacity and low cost per TB.
- arrow_right NVIDIA DGX Spark: for fine-tuning and inference projects, we offer the DGX Spark with fast NVMe and unified memory, hosted in Madrid, with no storage bottleneck on single-node workloads.
- arrow_right Fast networking: high-bandwidth interconnect so shared storage does not limit the cluster, with 24/7 support, ISO 27001 and ENS compliance.
If you want to dig deeper into choosing the right accelerator, do not miss our guide on GPU servers for AI and machine learning. And if you need to size the storage for your AI project, contact our team for a no-obligation technical review.
Frequently Asked Questions
Why does storage limit AI training performance?
Because a GPU only works when it has data ready in memory. If storage cannot deliver batches at the throughput and IOPS the dataloader needs, the GPU sits idle and utilization drops. An expensive GPU idle waiting for data is burnt money: the goal is to keep it fed with local NVMe or a fast parallel file system.
Where should I store the checkpoints of a large model?
Checkpoints are written in huge sequential bursts (hundreds of GB for large models) and must not block training. The usual approach is to write them first to fast local NVMe to minimize the pause, then asynchronously replicate them to cheap S3 storage, keeping only the most recent ones on the fast tier.
What is the millions-of-small-files problem in AI?
Many vision or audio datasets are millions of tiny files. Reading them one by one on each epoch saturates the file system's metadata IOPS and sinks the effective throughput. The fix is to group examples into sequential shards with formats like WebDataset or TFRecord, which turn millions of small random reads into large, efficient sequential reads.
Conclusion
Storage is not a secondary detail in an AI project: it is what decides whether your GPUs work or wait. Designing the data pipeline with the same seriousness as the model architecture is what separates 90% utilization from 45%:
- arrow_right Each phase has its own I/O pattern: sequential ingestion, low-latency random training, burst checkpointing and inference load. Optimize for the right phase.
- arrow_right The three-tier hierarchy — local NVMe, parallel file system and S3 object storage — covers speed, scale and cost without wasting money on any of them.
- arrow_right Throughput and small-file IOPS are different quantities: pack datasets into shards (WebDataset/TFRecord) and use prefetching and caching to hide latency.
- arrow_right Size by relating TB, GPUs and throughput, and do not forget the network: keeping the GPUs fed is always the ultimate goal.