Hitesh Sahu
Hitesh SahuHitesh Sahu
  1. Home
  2. ›
  3. posts
  4. ›
  5. …

  6. ›
  7. 4 Storage

Loading ⏳
Fetching content, this won’t take long…


💡 Did you know?

🐙 Octopuses have three hearts and blue blood.

🍪 This website uses cookies

No personal data is stored on our servers however third party tools Google Analytics cookies to measure traffic and improve your website experience. Learn more

Loading ⏳
Fetching content, this won’t take long…


💡 Did you know?

🐙 Octopuses have three hearts and blue blood.
AI-Infrastructure

    AI-AgenticAI

    AI-DeepLearning

    AI-GenAI

    AI-Infrastructure
    • NVIDIA AI Infrastructure and Operations Fundamentals


    • AI Infra Computing : GPU, DPU, Virtualization, DGX Systems


    • AI Programming Model


    • Pinned Memory (Page-Locked Memory) in CUDA and GPU Computing


    • RAPIDS and GPU Accelerated Data Science: cuDF, cuML, CUDA, NCCL and Distributed AI Pipelines


    • NVIDIA DCGM: GPU Health, Diagnostics, and Prometheus Metrics


    • NVIDIA Base Command Manager: Provisioning and Operating GPU Clusters


    • Slurm: The HPC Workload Manager Behind AI Training Clusters


    • TensorRT and High-Performance AI Inference: CUDA, ONNX, TensorRT-LLM and GPU Optimization


    • NCCL and Distributed GPU Communication: CUDA, AllReduce, Multi-GPU and AI Cluster Networking


    • ONNX (Open Neural Network Exchange): Portable AI Models, TensorRT and Cross-Framework Inference


    • LangChain and AI Agent Orchestration: RAG, LLM Workflows, Vector Databases and Tool Calling


    • NVIDIA NeMo and Enterprise AI Platforms: Distributed LLM Training, RAG and TensorRT-LLM


    • Megatron-LM and Distributed LLM Training: Tensor Parallelism, NCCL and Trillion-Scale AI Models


    • NVIDIA Triton Inference Server: TensorRT-LLM, GPU Serving and Production AI Inference


    • NVIDIA Riva: Real-Time Conversational AI with ASR, NLP and Text-to-Speech


    • NVIDIA NGC Catalog: GPU Optimized Containers, AI Models and Enterprise AI Infrastructure


    • AI Infra Networking: GPU Clusters, InfiniBand, RoCE, and DPU Integration


    • AI Infra Storage: NVMe, Parallel File Systems, Object Storage, and GPUDirect Storage


    • AI/ML Operations


    • AI-Infrastructure Index


    AI-Machine-Learning

    AI-Math

    AWS

    Azure

    kubernetes

    Management

    Programming

    Terraform

    Z_Appendix

Cover Image for AI Infra Storage: NVMe, Parallel File Systems, Object Storage, and GPUDirect Storage
AI-Infrastructure

AI Infra Storage: NVMe, Parallel File Systems, Object Storage, and GPUDirect Storage

Storage architectures for AI infrastructure — the hot/warm/cold tiering model with real throughput numbers, GPUDirect Storage's direct path from NVMe to GPU memory, NVMe-oF, checkpoint math for large models, erasure coding for durability, and cloud vs on-prem storage tradeoffs.

NVIDIA
AI Infrastructure
Storage
NVMe
Parallel File Systems
Object Storage
← Previous

AI Infra Networking: GPU Clusters, InfiniBand, RoCE, and DPU Integration

Next →

AI/ML Operations

AI Infra Storage

A $2M cluster of H100s idling while it waits on a dataset read is one of the most expensive failure modes in AI infrastructure — GPUs that cost hundreds of dollars an hour to run are only earning that cost back while they're actually computing.

Storage in an AI data center exists entirely to keep that from happening: extremely high throughput, parallel access from hundreds of GPUs simultaneously, low latency during training, and enough scalable capacity for datasets and checkpoints that keep growing.

Bottlenecks in AI Storage

Key Principle: GPUs must never sit idle waiting for data.

BottleneckCauseImpact
Insufficient I/O throughputStorage can't feed data as fast as GPUs consume itGPU utilization drops during data loading
Network congestionStorage traffic competing with other traffic on the same fabricUnpredictable stalls, not just slow ones
Poor file system scalingSingle metadata server becomes a hotspot at scaleSmall-file access (dataset shards) collapses under concurrent load
CPU bottlenecks during data movementData staged through host memory and CPU before reaching the GPUThe CPU becomes the ceiling on throughput, not the storage device

Every mitigation below exists to attack one of these four causes directly.


Tiered Storage Architecture

AI data centers use a hybrid, tiered model — not because one tier is "better," but because no single tier is simultaneously fast, cheap, and infinitely scalable:

flowchart TD

    subgraph Hot["🔥 Hot Tier"]
        direction LR
        NVMe["Local NVMe SSD <br/> ~1M+ IOPS, µs latency"]
        ParallelFS["Parallel FS <br/> (Lustre, WekaIO, BeeGFS) <br/> 100s of GB/s aggregate"]
    end

    subgraph Cold["❄️ Cold Tier"]
        direction LR
        Object["Object Storage <br/> (S3-compatible) <br/> ms latency, lowest cost/TB"]
    end

    NVMe-->|"active dataset shards, checkpoints"| ParallelFS
    ParallelFS-->|"cold after training completes"| Object

Hot Tier

TechnologyScopeCharacteristicsUsed for
Local NVMe SSDSingle nodeHighest IOPS, lowest latency, directly attachedActive training shards, temporary datasets, local checkpoint staging
Network File Systems (NFS)Shared, moderate scaleModerate latency, simplest to operateShared datasets and checkpoints where extreme scale isn't the priority
Parallel & Distributed File Systems (Lustre, WekaIO, BeeGFS)Whole clusterScales horizontally, hundreds of GB/s aggregate, metadata distributed across serversDistributed training reading the same dataset from hundreds of GPUs concurrently

Cold Tier

TechnologyCharacteristicsUsed for
Object Storage (S3-compatible)Massive scalability, lowest cost per TB, millisecond-scale latencyRaw dataset archives, historical checkpoints, logs — anything not on the active training path

Data Locality

Local NVMe  >  Parallel FS  >  Object Storage
(fastest,      (shared,         (cheapest,
 smallest)      scalable)        highest latency)

Performance improves as data moves physically closer to compute and crosses fewer network hops — the entire point of tiering is deliberately placing only the data currently needed by a running job on the fastest, most expensive tier, and letting everything else live cheaply on object storage until it's needed again.


Storage Access Patterns in AI

During TrainingDuring Inference
Read patternLarge sequential reads, multi-node concurrent accessSmaller model loads, mostly one-time
Write patternFrequent large checkpoint writesRare — logs only
Bandwidth needHigh, sustainedLower, bursty
Latency sensitivityTolerant for reads, sensitive for checkpoint writes (don't want to stall the training step)High — cold model load directly delays first response
Typical backing storeParallel file system, RDMA-backedLocal NVMe, optimized loading pipelines

RDMA & Storage: GPUDirect Storage

flowchart LR

    subgraph Traditional["Traditional Path"]
    direction LR
    S1["Storage"]-->C1["CPU"]-->M1["System Memory"]-->G1["GPU"]
    end

    subgraph GDS["GPUDirect Storage"]
    direction LR
    S2["Storage <br/> (NVMe / parallel FS)"]-->|"direct DMA"|G2["GPU Memory"]
    end

GPUDirect Storage (GDS) removes the CPU and system memory from the storage read path entirely — data moves via DMA straight from an NVMe drive or a parallel file system directly into GPU memory.

# Check GPUDirect Storage (cuFile) status and whether it's actually engaging the fast path
gdscheck -p

# cuFile config controls whether GDS is enabled and its fallback behavior
cat /etc/cufile.json | grep -A2 '"properties"'

If gdscheck -p reports the storage path as unsupported for GDS (common on some network file systems or misconfigured NVMe-oF targets), cuFile silently falls back to the traditional CPU-staged path — same as the SYS GPUDirect RDMA fallback covered in AI Infra Networking, the acceleration only works when every hop in the path actually supports it.

Best for: large dataset ingestion at the start of every epoch, and high-performance training clusters where CPU cycles spent staging I/O are cycles not available for anything else on the host.

NVMe over Fabrics (NVMe-oF)

NVMe-oF extends the NVMe protocol across the network, so a remote NVMe drive behaves — from the application's perspective — almost identically to a local one:

flowchart LR
    Initiator["NVMe-oF Initiator <br/> (compute node)"]
    Initiator-->|"NVMe commands over RDMA"| Target["NVMe-oF Target <br/> (storage node)"]
    Target-->Drive["Physical NVMe drives"]

Combined with RDMA as the transport (rather than TCP), NVMe-oF gets remote storage access close to local-NVMe latency — which is exactly what lets a parallel file system built from NVMe-oF targets deliver hundreds of GB/s aggregate to a training job spread across many nodes.


Storage Networking Considerations

Storage traffic needs to be isolated, high-bandwidth, low-contention, and predictable — the same Storage Network plane covered in AI Infra Networking, kept separate from compute (GPU-to-GPU) and management traffic so a burst of checkpoint writes never competes with an AllReduce for the same wire.


Storage Scalability

AI datasets grow faster than almost any other part of the stack. Parallel file systems scale horizontally by adding storage nodes and distributing metadata across multiple metadata servers rather than one — the second part matters as much as the first, since a single metadata server handling "does this file exist, what are its attributes" for millions of small dataset shards becomes the actual bottleneck long before raw throughput does, even on a system with plenty of spare disk bandwidth.


Storage and Checkpointing

Checkpoints exist so a multi-week training run surviving a single GPU failure means resuming from the last saved step, not restarting from scratch. What actually gets saved is larger than most people expect:

flowchart LR
    Checkpoint["Checkpoint"]
    Checkpoint-->Weights["Model Weights"]
    Checkpoint-->OptState["Optimizer State <br/> (Adam momentum + variance)"]
    Checkpoint-->Step["Current Step"]
    Checkpoint-->RNG["RNG State <br/> (reproducibility)"]

Adam's optimizer state (first and second moment estimates) is typically 3× the size of the weights themselves — for a 70B-parameter model in BF16:

Weights:         140 GB
Optimizer state: 420 GB
Total:           560 GB per checkpoint

At a sustained 20 GB/s write throughput (a realistic number for a well-tuned parallel file system under concurrent load from many ranks), writing one 560 GB checkpoint takes roughly 28 seconds — long enough that it has to happen asynchronously (overlapped with the next training step) rather than blocking, or checkpoint frequency itself becomes a throughput tax on the whole job. This is exactly the storage requirement referenced in Multi-Node Distributed Training on Kubernetes's fault-tolerance section.

Storage for checkpointing must handle frequent large writes, many GPUs writing simultaneously (sharded checkpoint formats write one shard per rank in parallel rather than funneling through a single writer), and fast recovery reads after a restart.


RAID & Data Protection

MechanismWhere it's usedTradeoff
RAIDLocal NVMe / block storageRedundancy and read performance, at a fixed capacity overhead
Erasure codingLarge-scale parallel and object storageBetter storage efficiency than RAID mirroring at similar durability, at the cost of more compute on rebuild

At the scale AI datasets and checkpoint archives reach, erasure coding (splitting data into fragments with parity across many drives/nodes) is what most large parallel and object storage systems use instead of traditional RAID — it tolerates multiple simultaneous drive failures across a much larger pool without paying RAID-1's full mirroring capacity cost.


Storage in Cloud vs On-Prem

CloudOn-Prem
Dominant tierObject storageParallel file systems
Scaling modelElastic, pay-as-you-goCapacity-planned, added in discrete node increments
ControlLimited to provider's offeringsFull control over hardware and tuning
Cost at scaleHigher long-term for sustained high-throughput workloadsLower long-term cost once utilization is high
Typical fitBursty, variable workloads; cold archivalSustained, predictable, large-scale training

Exam Scenarios to Recognize

If a question mentions:

  • GPUs starving for data → Storage bottleneck
  • Massive shared dataset across nodes → Parallel file system
  • Long-term archive → Object storage
  • Direct storage-to-GPU transfer → GPUDirect Storage
  • Ultra-fast local I/O → NVMe SSD

Quick Memory Anchors

  • NVMe = Fastest local storage
  • Parallel FS = Shared high-speed cluster storage
  • Object storage = Massive, cheap, long-term
  • GPUDirect Storage = Bypass CPU
  • Training = High throughput demand
  • Inference = Lower bandwidth, latency focus

Key Takeaways

ConceptSummary
TieringHot (NVMe, parallel FS) for active data; cold (object storage) for archives — placement, not one tier being universally "better"
Parallel file systemsScale by adding nodes and distributing metadata — metadata hotspots bottleneck small-file access before raw throughput does
GPUDirect StorageDMA straight from NVMe/parallel FS into GPU memory, bypassing CPU and system memory — falls back silently if any hop doesn't support it
NVMe-oFExtends NVMe across the network, usually over RDMA, to get remote storage close to local-NVMe latency
Checkpoint sizeOptimizer state is ~3× weight size; a 70B model checkpoint is ~560 GB, written asynchronously so it doesn't stall training
Erasure codingThe durability mechanism of choice at scale — better storage efficiency than RAID mirroring across much larger failure domains
Cloud vs on-premObject storage + elastic scaling vs parallel FS + full control — a cost/control tradeoff, not a technical one

Every storage decision in an AI cluster traces back to one constraint: GPUs are the most expensive thing in the building, and every microsecond one spends waiting on data is a microsecond of idle silicon — which is why the entire storage stack, from tiering to GPUDirect Storage to asynchronous checkpointing, exists purely to keep data arriving faster than the GPUs can consume it.


Related Posts

  • AI Infra Networking — the storage network plane and RDMA fundamentals GPUDirect Storage and NVMe-oF build on
  • Kubernetes Storage: PV, PVC, StorageClass, and CSI — how these storage tiers are provisioned and consumed as Kubernetes volumes
  • Multi-Node Distributed Training on Kubernetes — the fault-tolerant checkpointing this post's checkpoint math directly supports
  • NVIDIA DCGM: GPU Health, Diagnostics, and Prometheus Metrics — monitoring GPU idle time caused by storage-side bottlenecks
Hitesh Sahu
Written by Hitesh Sahu, a passionate developer and blogger.

Fri Feb 27 2026

Share This on

← Previous

AI Infra Networking: GPU Clusters, InfiniBand, RoCE, and DPU Integration

Next →

AI/ML Operations

AI-Infrastructure/4-Storage
Let's work together
hiteshkrsahu@gmail.com
Munich 🥨, Germany 🇩🇪, EU
Playstore
Hitesh Sahu's apps on Google Play Store
Need Help?
Let's Connect
Navigation
  Home/About
  Skills
  Work/Projects
  Lab/Experiments
  Contribution
  Awards
  Art/Sketches
  Thoughts
  Contact
Links
  Sitemap
  Legal Notice
  Privacy Policy

Made with

NextJS logo

NextJS by

hitesh Sahu

| © 2026 All rights reserved.