GPU Storage Architecture Explained-2

GPU Storage, NVMe-oF and GPUDirect Storage Explained

NETWORK INSIGHT
AI Infrastructure · Storage Engineering

GPU Storage Architecture NVMe-oF & GPUDirect Storage

Engineering the high-performance data pathways that connect persistent storage, intelligent network fabrics and GPU memory across modern AI infrastructure.

GPU Infrastructure NVMe NVMe-oF GPUDirect Storage RDMA Distributed AI Storage Performance
STORAGE-TO-GPU DATA PLANE
PERSISTENT STORAGE TIER Local NVMe Remote Storage NVMe-oF / RDMA Network fabric + NIC PCIe / I/O Fabric CPU Host Memory GPU MEMORY / HBM HOST-MEMORY STAGING DIRECT DMA PATH CPU CONTROL
Direct data movement Host-memory staging Remote storage fabric GPU memory
GPUDirect Storage Path

On supported configurations, storage DMA transfers data into GPU memory without staging the payload in host-memory bounce buffers. The CPU remains involved in control and I/O orchestration.

PCIe 4.0 ×16 31.5 GB/s theoretical per direction
PCIe 5.0 ×16 63.0 GB/s theoretical per direction
400 Gb/s Fabric 50 GB/s nominal line rate
NVMe Architecture 64K Approximate maximum I/O queue count
The Engineering Challenge

Accelerating computation is only half the problem.

Modern AI infrastructure is built around massively parallel GPU accelerators capable of processing enormous volumes of data. However, computational performance depends on the ability of the surrounding infrastructure to deliver data to those accelerators efficiently.

Training datasets, model weights, intermediate results and distributed checkpoints must move between persistent storage, system memory and GPU memory. Every unnecessary copy, congested network link or saturated PCIe connection can reduce effective accelerator utilisation.

A GPU cluster may contain extremely powerful accelerators while still experiencing poor application performance because its storage infrastructure cannot sustain the required data delivery rate.

The fundamental engineering principle

GPU performance is a system-level property. Compute, storage, networking, memory topology and software execution must be engineered together.

Data Movement Architecture

From storage media to GPU memory

Conventional Storage Path

Storage→ Host RAM→ GPU Memory

A conventional GPU application may first read data into system memory before initiating a separate transfer into GPU memory.

This introduces additional memory traffic and can increase CPU orchestration overhead, consume memory bandwidth and create contention across the I/O subsystem.

GPUDirect Storage Path

Storage→ DMA Fabric→ GPU Memory

NVIDIA GPUDirect Storage provides supported applications with a more direct data path between storage infrastructure and GPU memory through the cuFile software interface.

By avoiding intermediate host-memory staging where supported, the architecture can reduce data movement overhead and improve effective I/O performance.

Direct does not mean CPU-free

The CPU still participates in application execution, I/O submission, filesystem operations and resource management. Actual data paths depend on hardware topology, drivers, filesystem support, alignment, configuration and compatibility requirements.

Infrastructure Foundations

Three technologies. One storage ecosystem.

N

NVMe

A storage protocol designed for non-volatile memory, supporting parallel command queues and efficient access to high-performance storage devices.

F

NVMe over Fabrics

Extends NVMe command semantics across network fabrics using transports such as RDMA, TCP and Fibre Channel.

G

GPUDirect Storage

Enables supported storage-to-GPU data paths that reduce reliance on intermediate system-memory buffers.

Protocol and data-path distinction

NVMe-oF and GPUDirect Storage solve different problems. NVMe-oF provides remote NVMe storage access, whereas GPUDirect Storage optimises supported data movement into and out of GPU memory. NVMe-oF alone does not guarantee a direct GPU memory path.

The Engineering Journey

What you will explore in this guide

We will progress from individual storage devices to distributed AI storage architectures, examining both normal operation and production failure conditions.

01

GPU Storage Architecture

Memory hierarchy, data movement, CPU staging and accelerator I/O bottlenecks.

02

NVMe & PCIe

Controllers, command queues, namespaces, DMA and PCIe topology.

03

NVMe over Fabrics

Remote storage access, discovery, subsystems and network transport architectures.

04

GPUDirect Storage

cuFile, direct DMA, supported I/O paths and compatibility behaviour.

05

RDMA Storage Networking

InfiniBand, RoCEv2, queue pairs, congestion and remote memory access.

06

Parallel File Systems

Distributed metadata, storage targets, striping and parallel data access.

07

AI Training Pipelines

Dataset ingestion, distributed data loading, checkpointing and recovery.

08

Performance Engineering

Throughput, IOPS, latency, queue depth, NUMA locality and benchmarking.

09

Production Troubleshooting

Failure domains, degraded paths, GPU starvation and storage incident investigation.

Beyond Theoretical Performance

Engineering a balanced AI infrastructure

The objective of high-performance GPU storage is not simply to maximise the bandwidth of an individual storage device. It is to deliver predictable application performance across the complete infrastructure.

This requires understanding the relationships between storage parallelism, PCIe topology, network bandwidth, memory locality, application access patterns and distributed workload behaviour.

Throughout this guide, interactive engineering environments will allow you to examine these relationships, investigate bottlenecks and develop a practical understanding of modern AI storage infrastructure.

NI
NETWORK INSIGHT
THE VISUAL AGE OF ENGINEERING
INTERACTIVE ARCHITECTURE
TITANIUM STORAGE UNIVERSE

Explore the
GPU Storage Architecture.

Follow the complete engineering journey from persistent storage through NVMe controllers, PCIe infrastructure and high-performance network fabrics into GPU memory and production AI workloads.

09 ENGINEERING SECTIONS 09 INTERACTIVE EXPERIENCES STORAGE · FABRIC · GPU
GPU COMPUTE DIE AI PROCESSING HBM HBM GPU STORAGE ECOSYSTEM PERSISTENT STORAGE TO GPU MEMORY
01
SELECTED ENGINEERING MODULE

Understanding GPU Storage Architecture

Explore GPU memory hierarchy, persistent storage, CPU bounce buffers, DMA, PCIe topology, NUMA locality and GPU starvation.

YOUR ENGINEERING EXPLORATION 0 / 9 VISITED
Navigate through the nine engineering sections to explore the complete storage architecture. Visited sections are tracked during this page session.
THE ENGINEERING JOURNEY
NETWORK INSIGHT STORAGE INFRASTRUCTURE · AI SYSTEMS · ENGINEERING
NETWORK INSIGHT
Section 01 · Architecture Foundations

Understanding GPU Storage Architecture

Modern GPU infrastructure is not simply a collection of powerful accelerators. It is a coordinated data movement system in which persistent storage, memory hierarchies, PCIe fabrics, network interfaces and compute engines must operate together to sustain application performance.

GPU SERVER · INTERNAL DATA MOVEMENT
GPU HBM GPU COMPUTE NODE NVMe SSD ARRAY NIC RDMA PCIe / I/O FABRIC CPU HOST MEMORY OPTIONAL STAGING DIRECT DMA GPU LINK Host staging Direct I/O path GPU interconnect
Conceptual GPU server architecture. Actual DMA paths depend on PCIe root complexes, switches, device capabilities, filesystem support and software configuration. The GPU interconnect is distinct from the storage data path.
01.1 · The Engineering Problem

GPU performance begins with data delivery.

A GPU can execute thousands of parallel operations, but its computational resources cannot produce useful work unless the required data is available at the appropriate point in the memory hierarchy.

In a distributed AI training environment, datasets may reside on local NVMe devices, remote storage appliances, distributed file systems or object storage platforms. Before the GPU can process these datasets, the relevant data must be retrieved, prepared and delivered into accelerator-accessible memory.

This creates a complex engineering pipeline involving storage controllers, filesystem operations, network interfaces, CPU execution, system memory, PCIe fabrics and GPU memory.

COMPUTE PLANE

GPU Execution

Executes tensor operations, matrix calculations, neural network layers and massively parallel application kernels.

MEMORY PLANE

GPU Memory

Holds active tensors, model parameters, intermediate results and other data required by accelerator workloads.

STORAGE PLANE

Persistent Data

Provides datasets, model checkpoints, application files and durable storage for large-scale AI infrastructure.

Compute capacity is not application throughput.

Increasing the number of GPUs without scaling the supporting data delivery infrastructure can increase contention and reduce effective utilisation across the entire cluster.

01.2 · Memory Architecture

The GPU memory and storage hierarchy

Modern computing systems organise data across multiple memory and storage technologies. Each technology provides a different combination of latency, bandwidth, capacity, persistence and cost.

GPU registers and on-chip memory provide extremely fast access to active execution data. GPU device memory, commonly HBM in data centre accelerators, provides substantially larger working capacity. Host DRAM and persistent storage extend the available data capacity beyond the accelerator itself.

CONCEPTUAL MEMORY HIERARCHY DATA LOCALITY
LOWER LATENCY COMPUTE LOCALITY
GPU Registers Execution-local operands
↕
On-Chip GPU Memory Shared memory and caches
↕
GPU Device Memory HBM or other accelerator memory
↕
Host System Memory CPU-attached DRAM
↕
Local NVMe Storage Persistent PCIe-attached devices
↕
Distributed Storage Remote file, block and object storage
GREATER CAPACITY PERSISTENT DATA
Conceptual hierarchy rather than a mandatory transfer sequence. Direct I/O paths can bypass host-memory staging, and distributed storage can incorporate multiple storage and caching tiers.
Technology Primary role Persistence Typical constraint
GPU registers Active thread operands Volatile Limited capacity
GPU caches Frequently accessed data Volatile Access locality
HBM Accelerator working data Volatile Capacity and bandwidth
Host DRAM CPU memory and staging Volatile NUMA and memory contention
NVMe SSD Persistent local datasets Non-volatile Controller and media performance
Remote storage Shared persistent datasets Non-volatile Fabric and storage service limits

The objective of storage engineering is not to make persistent storage behave like GPU registers. Instead, it is to organise data movement so that the required working data reaches GPU memory before the application needs it.

01.3 · Persistent Storage

Where AI workloads obtain their data

AI applications interact with persistent storage throughout their lifecycle. Training jobs consume datasets and periodically create checkpoints. Inference services load model weights during startup or model replacement. Data processing pipelines transform and prepare information for subsequent GPU execution.

LOCAL STORAGE

Direct-Attached NVMe

PCIe-attached NVMe devices provide local storage capacity without requiring a remote network traversal for each I/O operation.

They are particularly useful for local caching, temporary datasets and workload staging.

REMOTE BLOCK STORAGE

NVMe over Fabrics

NVMe-oF extends NVMe command semantics across network fabrics, allowing compute nodes to access remote NVMe namespaces.

It enables storage capacity to be separated from individual GPU compute servers.

SHARED FILE STORAGE

Parallel File Systems

Distributed storage targets and metadata services provide shared file access across multiple compute nodes.

Parallel I/O can increase aggregate throughput when data placement and access patterns are appropriately engineered.

OBJECT STORAGE

Large-Scale Dataset Repositories

Object storage provides scalable persistent capacity for datasets, checkpoints and model artifacts.

Applications may use caching, streaming or staging layers to satisfy GPU data delivery requirements.

01.4 · Conventional Data Movement

Understanding CPU bounce buffers

In a conventional GPU application, a storage read may first place data into host system memory. The application then initiates a transfer from host memory into GPU device memory.

The intermediate memory region acts as a staging area. Depending on the software stack, memory registration, alignment and buffering behaviour, additional copies may also occur before the GPU transfer is initiated.

CONVENTIONAL PATH

Host-Memory Staging

NVMe→ Host RAM→ GPU HBM

Storage DMA writes data into host memory. A GPU transfer subsequently moves the required payload into device memory.

The host-memory subsystem must accommodate the staging traffic alongside other CPU workloads.

SUPPORTED DIRECT PATH

GPUDirect Storage

Storage→ DMA→ GPU HBM

Supported GPUDirect Storage configurations allow payload transfers between storage and GPU memory without conventional host-memory bounce buffers.

This can reduce memory traffic and improve effective I/O efficiency.

ILLUSTRATIVE PAYLOAD MOVEMENT 1 GB + 1 GB = 2 GB A 1 GB staged read involves a 1 GB storage-to-host transfer and a 1 GB host-to-GPU transfer.

The example represents two logical payload transfers, not a guarantee that every physical PCIe link carries twice the application payload. Actual link utilisation depends on the system topology and transfer mechanisms.

DMA does not eliminate CPU control.

Conventional storage transfers can already use DMA. GPUDirect Storage changes the supported payload destination and transfer path rather than introducing DMA for the first time. The CPU still participates in application execution, I/O submission and resource management.

01.5 · PCIe Infrastructure

PCIe is the internal storage transport fabric.

PCI Express provides the high-speed connectivity between processors, storage controllers, GPUs and network interfaces. Its topology determines how devices communicate and which links are shared by competing workloads.

A GPU server may contain multiple PCIe switches and root complexes. Although each attached device may advertise a high individual interface capacity, aggregate throughput can be constrained by shared upstream links or platform-specific peer-to-peer restrictions.

PCIe SWITCH · SHARED LINK ARCHITECTURE FABRIC MODEL
CPU ROOT COMPLEX PCIe 5.0 ×16 SHARED UPSTREAM LINK ~63 GB/s theoretical / direction PCIe SWITCH GPU 0 PCIe ×16 GPU 1 PCIe ×16 NVMe PCIe ×4 RDMA NIC PCIe ×16
Illustrative switched PCIe topology. Traffic that must traverse the upstream link shares its available capacity. Supported peer-to-peer transfers within the switch may avoid that upstream link.
PCIe generation Transfer rate ×4 bandwidth ×16 bandwidth
PCIe 3.0 8 GT/s 3.94 GB/s 15.75 GB/s
PCIe 4.0 16 GT/s 7.88 GB/s 31.51 GB/s
PCIe 5.0 32 GT/s 15.75 GB/s 63.02 GB/s

These values represent approximate theoretical one-direction bandwidth after 128b/130b encoding overhead, but before transaction-layer and other protocol overheads. Measured application throughput will generally be lower.

01.6 · Direct Memory Access

DMA engines move the payload.

Direct Memory Access allows capable devices to transfer data to or from memory without requiring the CPU to execute an instruction for every individual byte.

NVMe controllers use DMA to access command structures and transfer storage payloads. Network interfaces use DMA for packet buffers and, where supported, RDMA operations. GPU copy engines perform supported memory transfers independently of normal compute execution.

STAGE 01

I/O Submission

The application and software stack prepare an I/O request, identify the relevant storage data and establish the destination buffer.

STAGE 02

Memory Mapping

The platform establishes the address mappings and access permissions required for the device to perform the supported DMA operation.

STAGE 03

Payload Transfer

The appropriate hardware engine transfers data through the I/O fabric and completion information is returned through the software stack.

DMA and RDMA are related but different.

DMA describes device-driven memory transfers. RDMA extends remote memory access capabilities across a supported network transport. Both can contribute to high-performance storage architecture, but they are not interchangeable terms.

01.7 · NUMA Locality

Physical device placement influences performance.

Non-Uniform Memory Access architectures organise processors and memory into locality domains. In a multi-socket server, a CPU generally accesses its local memory through a different path from memory attached to another processor.

GPUs, NVMe controllers and network interfaces are also attached to particular PCIe root complexes. Consequently, the physical placement of these devices can influence the efficiency and availability of storage-to-GPU data paths.

DUAL-SOCKET NUMA TOPOLOGY LOCALITY MODEL
NUMA NODE 0 NUMA NODE 1 CPU 0 DRAM 0 CPU 1 DRAM 1 INTER-SOCKET LINK PCIe ROOT / SWITCH PCIe ROOT / SWITCH NVMe 0 GPU 0 RDMA NIC GPU 1
Locality-aware device placement can reduce unnecessary cross-domain traffic. Cross-root-complex peer-to-peer DMA support and routing behaviour are platform-specific.
PREFERRED LOCALITY

Topology-Aware Placement

Where supported, locating the storage controller or RDMA NIC close to the consuming GPU can reduce shared-link traversal and avoid unnecessary inter-socket traffic.

POTENTIAL CONTENTION

Cross-Domain Transfers

Remote memory placement or cross-domain device access may introduce additional latency, contention or unsupported direct transfer paths.

Engineers should examine the actual hardware topology rather than assume that all GPUs, network interfaces and storage controllers have equivalent connectivity.

01.8 · GPU Starvation

When accelerators wait for storage

GPU starvation occurs when an application cannot supply the accelerator with sufficient ready-to-process work. Storage performance can contribute to this condition, particularly when datasets are large, preprocessing is expensive or multiple workers compete for shared infrastructure.

The GPU may complete its current computation before the next training batch becomes available. This creates idle periods that reduce effective computational throughput.

TRAINING PIPELINE · EXECUTION TIMELINE ILLUSTRATIVE
BALANCED PIPELINE Data I/O GPU COMPUTE COMPUTE COMPUTE COMPUTE COMPUTE STORAGE-CONSTRAINED PIPELINE Data I/O GPU WAIT WAIT COMPUTE COMPUTE TIME →
Simplified double-buffered training model. When the data preparation interval exceeds the GPU compute interval, gaps can appear between compute operations.
SIMPLIFIED STEADY-STATE PIPELINE MODEL Utilisation ≈ Tcompute / max(Tcompute, Tinput) Assumes independent, perfectly overlapped input and compute stages with sufficient buffering.
BALANCED EXAMPLE

100 ms Compute / 75 ms Input

Input preparation completes within the compute interval. After pipeline startup, the simplified model permits up to 100% compute-stage utilisation.

CONSTRAINED EXAMPLE

100 ms Compute / 160 ms Input

Input preparation becomes the limiting stage. The simplified compute-stage utilisation is approximately 62.5%, with 60 ms of waiting per steady-state iteration.

Real GPU utilisation is more complex. Kernel scheduling, communication collectives, memory stalls, synchronisation, preprocessing and framework behaviour can all influence observed accelerator activity.

01.9 · Bottleneck Engineering

The slowest sustained stage limits the pipeline.

High-performance storage engineering requires examining the complete path rather than benchmarking only an individual storage device.

Consider an illustrative GPU storage pipeline in which the storage array can supply 24 GB/s, the network can sustain 20 GB/s, the effective PCIe path can sustain 16 GB/s and the application can prepare data at 10 GB/s.

END-TO-END BANDWIDTH ANALYSIS EXAMPLE MODEL
Storage array 24 GB/s
Storage network 20 GB/s
Effective PCIe path 16 GB/s
Application data preparation 10 GB/s
Pipeline throughput ceiling 10 GB/s
Hypothetical sustained capacities expressed on an equivalent application-payload basis. The values are teaching examples, not measured hardware results.
SIMPLIFIED THROUGHPUT UPPER BOUND Bpipeline ≤ min(Bstorage, Bnetwork, BPCIe, Bapplication) Actual throughput may be lower because of contention, protocol overhead, dependencies and access patterns.

In this example, upgrading the storage array from 24 GB/s to 48 GB/s would not remove the 10 GB/s application bottleneck. The limiting stage must be identified before additional infrastructure capacity can be justified.

Bottleneck Potential evidence Investigation
Storage media High I/O latency and device utilisation Device statistics and workload benchmarking
Storage network Congestion, retransmissions or queue growth Fabric telemetry and transport counters
PCIe fabric Low negotiated link width or saturation PCIe topology and link inspection
Host memory Memory bandwidth pressure Memory counters and copy profiling
NUMA locality Remote memory access and contention CPU, memory and device affinity
Data preparation Empty input queues and busy CPU workers Application and data-loader profiling
GPU execution Kernel stalls or memory pressure Accelerator profiling and timeline analysis
01.10 · Production Investigation

Investigating an underutilised GPU cluster

Imagine an AI training environment in which accelerator utilisation falls significantly after additional training workers are introduced. The GPU hardware remains healthy, but application throughput stops scaling.

PHASE 01 · BASELINE Training operates normally

The original workload maintains sufficient input buffering and relatively consistent compute intervals.

PHASE 02 · WORKLOAD EXPANSION Additional GPU workers are introduced

More concurrent dataset readers increase demand on shared storage and data preparation resources.

PHASE 03 · PERFORMANCE DEGRADATION GPU idle intervals increase

Input queues become depleted. Some workers wait for data while others complete computation.

PHASE 04 · EVIDENCE COLLECTION Correlate the infrastructure telemetry

Examine storage latency, network throughput, PCIe connectivity, CPU utilisation, data-loader timing and GPU execution traces.

PHASE 05 · ROOT CAUSE Identify the limiting stage

Determine whether the slowdown originates in storage, networking, host memory, preprocessing, synchronisation or another dependency.

PHASE 06 · VALIDATION Measure the corrected architecture

Repeat the same workload after remediation and compare throughput, input wait time and accelerator activity against the original baseline.

Low GPU utilisation is a symptom, not a diagnosis.

Storage starvation is only one possible explanation. Distributed communication, CPU preprocessing, insufficient parallelism, synchronisation and application behaviour must also be considered.

Engineering Takeaways

Design the complete data delivery system.

GPU storage architecture connects persistent data sources to accelerator memory through a complex combination of hardware, network and software components.

  • GPU application performance depends on timely data delivery, not simply accelerator compute capacity.
  • Memory hierarchy and data locality influence the cost of accessing and moving information.
  • Conventional host-memory staging introduces additional payload movement and memory bandwidth demand.
  • Supported GPUDirect Storage paths can avoid conventional host-memory bounce buffers.
  • PCIe topology, shared links and NUMA placement must be considered when designing GPU storage systems.
  • DMA reduces CPU involvement in payload movement, but does not eliminate CPU control responsibilities.
  • End-to-end throughput is constrained by the complete application pipeline.
  • Production troubleshooting requires correlating storage, network, CPU and GPU telemetry.
Continue the Engineering Journey

From storage architecture to NVMe controllers

Having established how persistent storage interacts with GPU memory, the next section examines the architecture of NVMe itself.

We will explore submission queues, completion queues, namespaces, controller registers, PCIe connectivity, DMA operations and the mechanisms that allow modern NVMe devices to support highly parallel storage workloads.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 01

GPU Storage
Architecture Explorer.

Follow the journey of AI training data from persistent storage into GPU memory. Investigate conventional host memory transfers, explore direct DMA data paths and discover why storage architecture determines how effectively expensive GPU infrastructure can be utilised.

TITANIUM STORAGE FABRIC EDITION
AI SERVER / LIVE DATA PATH READY
ACCELERATED COMPUTING NODE PCIe / DMA FABRIC CONTROL NVMe STORAGE 01 02 03 PERSISTENT DATA CPU HOST CONTROL SYSTEM MEMORY HOST STAGING ACTIVE PCIe SWITCH FABRIC GPU COMPUTE HBM HBM HBM HBM GPU DEVICE MEMORY ACTIVE TRANSFER ARCHITECTURE HOST-STAGED I/O Storage → Host DRAM → GPU Additional host memory traffic
Conventional data Direct DMA / HBM CPU control Bottleneck
Interactive hardware inspector
NVMe Storage
Persistent storage layer

NVMe SSDs provide parallel, low-latency access to persistent datasets. Storage controllers use DMA to transfer data across the PCIe infrastructure.

Engineering consideration: aggregate storage throughput must satisfy the GPU workload's sustained data demand.

Effective throughput
0
GB/s delivered
GPU data supply
0%
Demand satisfied
Host DRAM traffic
0
GB/s payload traffic
Transfer time
0
Seconds / selected batch

Storage Engineering Controls

Live Infrastructure Telemetry

Storage utilisation 0%
PCIe payload utilisation 0%
Host memory traffic load 0%
GPU data demand satisfied 0%
Evaluating infrastructure capacity.

Inside the Data Journey

ENGINEERING EVENT CONSOLE / SIMULATED TELEMETRY
Engineering discovery lab

Can you eliminate GPU starvation?

Configure a GPU workload requiring 28 GB/s of data. Use a storage subsystem capable of 32 GB/s and a PCIe path capable of 40 GB/s. Compare the conventional architecture with the direct storage architecture.

Identify which resource limits the conventional path, then determine whether GPUDirect Storage can satisfy the workload without increasing storage bandwidth.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

Educational capacity model. Host memory bandwidth is fixed at 48 GB/s for this demonstration. Conventional transfers model one host DRAM write and one read per payload byte. PCIe capacity represents the effective limiting path, not a specific PCIe generation. GPU data supply is not measured GPU compute utilisation. Animation timing is illustrative.

GPUDirect Storage requires compatible hardware, software, storage and PCIe topology. The CPU remains involved in I/O submission, orchestration and completion. Actual performance depends on implementation, workload, filesystem and platform configuration.

NETWORK INSIGHT
Section 02 · Storage Controller Engineering

NVMe and PCIe Storage Architecture

Beneath every high-performance GPU storage pipeline lies a sophisticated command-processing architecture. NVMe combines parallel submission and completion queues, efficient memory access and high-speed PCIe connectivity to support the demanding I/O requirements of modern AI infrastructure.

NVMe SSD · INTERNAL CONTROLLER ARCHITECTURE
NAND HOST SYSTEM CPU · HOST MEMORY · NVMe DRIVER PCIe ×4 NVMe CONTROLLER COMMAND PROCESSOR DMA ENGINE FLASH TRANSLATION LAYER ECC / FLASH SCHEDULER DRAM OPTIONAL CACHE FIRMWARE CONTROL DEVICE MANAGEMENT CHANNEL 0 CHANNEL 1 CHANNEL 2 CHANNEL 3 PARALLEL FLASH MEDIA ARCHITECTURE
Conceptual NAND-based NVMe SSD cutaway. Controller implementation, flash channels, caching architecture and firmware components vary between devices. NVMe is a protocol and is not restricted to NAND media.
Submission entry 64 B Standard NVMe command size
Completion entry 16 B Standard completion size
I/O queue IDs 65,535 Architectural identifier range
PCIe 5.0 ×4 15.75 GB/s theoretical per direction
02.1 · Protocol Foundations

NVMe is a storage protocol, not a physical connector.

Non-Volatile Memory Express, commonly known as NVMe, is a storage protocol architecture designed to provide efficient access to non-volatile storage devices. Its command-processing model supports extensive parallelism and reduces unnecessary software coordination overhead.

Unlike traditional storage architectures originally developed around mechanical disk behaviour, NVMe is designed to exploit the concurrency available in modern solid-state storage and multicore computing platforms.

PROTOCOL

NVMe

Defines command formats, controller behaviour, queues, namespaces and storage management operations.

TRANSPORT

PCI Express

Provides high-speed local connectivity between an NVMe controller and the host computing platform.

STORAGE MEDIA

Non-Volatile Memory

Provides persistent data storage. NAND flash is widely used, but the NVMe protocol is not tied to a single storage technology.

Separate protocol, transport and form factor.

NVMe describes the storage command architecture. PCIe describes a local interconnect. M.2, U.2 and EDSFF describe physical form factors or associated device specifications. These terms describe different layers of the storage system.

02.2 · Command Processing

Submission and completion queues

NVMe uses submission queues and completion queues to coordinate commands between the host and the controller. In the conventional PCIe transport model, these queues typically reside in DMA-accessible host memory.

The host places commands into submission queue entries. The controller fetches and processes those commands, then writes completion entries to the associated completion queue.

NVMe QUEUE PAIR · ILLUSTRATIVE SNAPSHOT RING BUFFER MODEL
SUBMISSION QUEUE Host produces · Controller consumes
00FREE
01READ HEAD
02READ
03WRITE
04READ
05FREE TAIL
06FREE
07FREE
↓
NVMe CONTROLLER Command fetch · Scheduling · DMA · Execution
↓
COMPLETION QUEUE Controller produces · Host consumes
00SUCCESS HEAD
01SUCCESS
02FREE TAIL
03FREE
04FREE
05FREE
06FREE
07FREE
Simplified eight-entry ring-buffer snapshot. Submission queue head and completion queue tail represent controller-side progress. Completion entries need not appear in submission order.
HOST → CONTROLLER

Submission Queue

Contains commands describing operations such as reads, writes and other supported storage requests. Each command includes the information needed to identify and execute the operation.

CONTROLLER → HOST

Completion Queue

Contains completion information, including command identification, status, submission queue information and the phase tag used to recognise new entries.

Multiple submission queues can be associated with a completion queue. Implementations frequently use dedicated queue pairs to improve CPU locality and reduce contention, but a strict one-to-one relationship is not an architectural requirement.

02.3 · Queue Organisation

Administrative queues and I/O queues

NVMe separates controller administration from normal storage operations. The administrative queue pair is established during controller initialisation. Administrative commands can then configure and manage the controller and its I/O queues.

MULTICORE NVMe QUEUE ARCHITECTURE PARALLEL I/O
HOST MEMORY AND CPU WORKERS CPU 0 CPU 1 CPU 2 CPU 3 ADMIN SQ 1 SQ 2 SQ 3 SQ 4 ASQ 0 CQ 1 CQ 2 CQ 3 CQ 4 ACQ 0 NVMe CONTROLLER Arbitration · Scheduling · Command Execution Illustrative dedicated queue pairs for CPU workers
A common multicore queue organisation. Actual queue allocation depends on controller capabilities, negotiated queue counts, operating system policy and driver implementation.
QUEUE ID 0

Administrative Queue Pair

Supports operations such as Identify, Get Features, Set Features, Get Log Page and creation or deletion of I/O queues.

NON-ZERO QUEUE IDS

I/O Queue Architecture

Supports normal storage operations, allowing multiple outstanding commands and concurrent access from application workers.

Architectural limits are not device guarantees.

NVMe provides a large queue identifier space and supports I/O queues with up to 65,536 entries at the architectural level. Actual queue counts and sizes are constrained by controller capabilities, negotiated resources and driver configuration. Usable outstanding depth may also be lower than the allocated ring size.

02.4 · Controller Notification

Doorbell registers coordinate queue progress.

Placing a command into host memory does not by itself guarantee that the controller knows a new command is available. The NVMe PCIe transport provides memory-mapped doorbell registers that allow the host to communicate queue pointer updates.

After preparing one or more submission queue entries and ensuring their visibility to the controller, the host updates the submission queue tail doorbell. The controller can then fetch the newly submitted commands.

PCIe MMIO · NVMe REGISTER MAP CONTROL PLANE
CAP Controller Capabilities — queue size limits, supported capabilities and doorbell stride.
VS Version — identifies the supported NVMe specification version.
CC Controller Configuration — enablement and selected operational configuration.
CSTS Controller Status — readiness and other controller state information.
AQA Administrative Queue Attributes — administrative submission and completion queue sizes.
ASQ Administrative Submission Queue base address.
ACQ Administrative Completion Queue base address.
SQTDBL Submission Queue Tail Doorbell — host notification of newly submitted commands.
CQHDBL Completion Queue Head Doorbell — host notification of consumed completion entries.
Selected NVMe PCIe controller registers. Register access and ordering are managed by the driver and platform memory-ordering mechanisms.
SUBMISSION QUEUE TAIL DOORBELL OFFSET 0x1000 + (2 × QID × Stride) Stride = 4 × 2DSTRD bytes, where DSTRD is obtained from CAP.
COMPLETION QUEUE HEAD DOORBELL OFFSET 0x1000 + ((2 × QID + 1) × Stride) Offsets are relative to the NVMe controller's register space.

Doorbell updates may be batched to reduce MMIO overhead. Some implementations also support additional doorbell optimisation mechanisms. The underlying principle remains the coordination of queue ownership and progress between the host and controller.

02.5 · Command Lifecycle

Following an NVMe read from submission to completion

An NVMe read is not a single synchronous hardware action. It is a sequence of command submission, controller scheduling, storage access, memory transfer and completion processing.

STAGE 01 · APPLICATION REQUEST Prepare the storage read

The application requests data. The operating system or userspace storage stack translates the request into the appropriate storage operations.

STAGE 02 · COMMAND CONSTRUCTION Build the NVMe command

The driver prepares the opcode, command identifier, namespace identifier, logical block range and data pointer information.

STAGE 03 · SUBMISSION Populate the submission queue

The command is written into an available submission queue entry. The host updates the tail doorbell after the command is ready for controller access.

STAGE 04 · COMMAND FETCH The controller retrieves the command

The controller fetches the submission queue entry using the supported memory-access mechanism and schedules the requested operation.

STAGE 05 · MEDIA ACCESS Retrieve the requested logical blocks

For a NAND-based SSD, the controller uses its internal mapping and flash-management mechanisms to locate and retrieve the requested data.

STAGE 06 · DMA TRANSFER Deliver the payload

The controller transfers the read data into the designated DMA-accessible memory buffers. Supported direct-storage configurations may use GPU memory as the payload destination.

STAGE 07 · COMPLETION Publish the completion entry

The controller writes completion information to the associated completion queue and may generate an interrupt, depending on configuration.

STAGE 08 · HOST PROCESSING Consume the completion

The host recognises the new completion, resolves the command status, releases or reuses resources as appropriate and advances the completion queue head doorbell.

Completion ordering is not necessarily submission ordering.

Independent NVMe commands can complete out of order. Command identifiers allow the host to associate completions with the correct outstanding requests. Applications requiring ordering or persistence guarantees must use the appropriate storage semantics.

02.6 · Logical Storage Organisation

NVMe namespaces expose logical storage capacity.

An NVMe namespace represents a logical collection of storage blocks that can be accessed using the appropriate command set. Namespaces allow storage capacity to be presented independently of the underlying physical media organisation.

A controller may provide access to multiple namespaces. Each namespace has an identifier and associated characteristics, such as capacity and supported logical block formats.

LOGICAL NAMESPACES · PHYSICAL STORAGE ABSTRACTION MODEL
NSID 1 Training datasets 2 TB example
NSID 2 Model checkpoints 1 TB example
NSID 3 Model artifacts 1 TB example
↓
NVMe CONTROLLER Namespace access · Logical block mapping
↓
Illustrative logical namespace allocation over shared physical storage. Namespace support, allocation and isolation capabilities depend on the controller and storage subsystem.
Field Meaning Engineering relevance
NSID Namespace identifier Selects the namespace for a command
NSZE Namespace size Logical block address range
NCAP Namespace capacity Maximum allocatable logical blocks
NUSE Namespace utilisation Allocated logical blocks where applicable
LBA format Logical block and metadata format Alignment and I/O organisation
NGUID / UUID Persistent identification mechanisms Namespace discovery and management
Logical separation is not physical performance isolation.

Multiple namespaces may share controller resources, flash channels, caches and PCIe bandwidth. Namespace separation alone does not guarantee dedicated throughput, independent failure domains or security isolation.

02.7 · Memory Addressing

Physical Region Pages and Scatter-Gather Lists

An NVMe command must identify the memory buffers involved in a data transfer. The controller needs sufficient addressing information to locate the destination of a read or the source of a write.

NVMe supports Physical Region Page structures and, where supported, Scatter-Gather Lists. These mechanisms describe the memory regions involved in the transfer.

PRP MEMORY MAPPING · THREE-PAGE EXAMPLE DMA ADDRESSING
NVMe COMMAND READ · CID · NSID PRP1 PRP2 PRP LIST Page 1 address Page 2 address DATA PAGE 0 DATA PAGE 1 DATA PAGE 2 Address references, not the physical payload route
PRP1 identifies the first data location. For a transfer spanning three controller memory pages, PRP2 points to a PRP list containing subsequent page addresses. Address alignment and list organisation follow the NVMe specification.
PAGE-BASED ADDRESSING

Physical Region Pages

PRP1 identifies the first memory location and can include an offset within the initial page.

PRP2 may identify the second data page directly or point to a PRP list when additional pages are required.

DESCRIPTOR-BASED ADDRESSING

Scatter-Gather Lists

SGL descriptors describe data buffers or further descriptor segments using the supported descriptor types.

They provide a flexible mechanism for representing memory regions and transfer lengths.

SCATTER-GATHER LIST · DESCRIPTOR MODEL BUFFER MAPPING
SGL DESCRIPTORS ADDRESS A · LENGTH 4 KiB DATA BLOCK DESCRIPTOR ADDRESS B · LENGTH 8 KiB DATA BLOCK DESCRIPTOR ADDRESS C · LENGTH 2 KiB DATA BLOCK DESCRIPTOR 4 KiB 8 KiB 2 KiB
Conceptual SGL data block descriptors referencing separate memory regions. Actual descriptor formats, alignment and supported types depend on the controller and transport.
DMA addresses are not ordinary application pointers.

The operating system or storage stack establishes device-accessible mappings. Depending on the platform, addresses may be translated by an IOMMU. GPU memory requires appropriate peer-memory access, mapping and supported platform capabilities. PRP or SGL support alone does not establish a valid GPUDirect Storage path.

02.8 · Payload Movement

Understanding the direction of NVMe DMA operations

NVMe controllers use memory-access operations for command processing, payload movement and completion delivery. The direction of these operations depends on whether the host has submitted a read or write.

NVMe READ AND WRITE · DMA DIRECTION DATA PLANE
NVMe SSD CONTROLLER STORAGE MEDIA MEMORY DMA-ACCESSIBLE BUFFER NVMe READ Controller writes payload to memory NVMe WRITE Controller reads payload from memory
Payload direction from the controller perspective. An NVMe read normally involves controller DMA writes to the destination buffer. An NVMe write involves controller DMA reads from the source buffer.

This distinction is particularly important when investigating PCIe transaction behaviour and direct storage paths. Storage reads and writes can exhibit different performance characteristics because PCIe memory read and write transactions have different protocol behaviour.

02.9 · PCI Express Connectivity

PCIe lanes determine the interface bandwidth ceiling.

PCIe provides point-to-point, full-duplex connectivity using one or more lanes. Each lane contains separate transmit and receive signalling paths. Wider links provide greater aggregate interface capacity within the same PCIe generation.

Many NVMe SSDs use PCIe ×4 interfaces. Enterprise storage controllers, GPUs and high-speed network interfaces may use wider links depending on their architecture.

PCIe 5.0 · LANE WIDTH COMPARISON INTERFACE CAPACITY
×1 3.94 GB/s
×2 7.88 GB/s
×4 15.75 GB/s
×8 31.51 GB/s
×16 63.02 GB/s
Approximate theoretical PCIe 5.0 bandwidth per direction after 128b/130b encoding overhead, before transaction and other protocol overheads.
PCIe 3.0–5.0 BANDWIDTH MODEL Bandwidth = GT/s × Lanes × (128/130) ÷ 8 Applicable to these PCIe generations using 128b/130b encoding. PCIe 6.0 and later require a different encoding and overhead model.
Generation Transfer rate ×4 bandwidth ×8 bandwidth ×16 bandwidth
PCIe 3.0 8 GT/s 3.94 GB/s 7.88 GB/s 15.75 GB/s
PCIe 4.0 16 GT/s 7.88 GB/s 15.75 GB/s 31.51 GB/s
PCIe 5.0 32 GT/s 15.75 GB/s 31.51 GB/s 63.02 GB/s
Negotiated connectivity matters more than advertised connectivity.

A PCIe 5.0 ×4 SSD operating at PCIe 4.0 ×2 has an approximate theoretical one-direction interface ceiling of 3.94 GB/s, not 15.75 GB/s. Engineers must inspect the negotiated generation and lane width before diagnosing storage performance.

02.10 · Storage Parallelism

Queue depth, latency and IOPS

Queue depth describes the number of outstanding I/O requests at a particular observation point. Increasing concurrency can allow a storage controller to overlap operations across internal resources.

However, increasing queue depth does not create unlimited performance. Once a device or shared infrastructure resource becomes saturated, additional outstanding requests can increase queueing delay without materially improving throughput.

QUEUE DEPTH · THROUGHPUT AND LATENCY CONCEPTUAL MODEL
SATURATION REGION THROUGHPUT LATENCY LOW MODERATE HIGH OUTSTANDING I/O DEPTH → RELATIVE RESPONSE
Qualitative curves illustrating a possible saturation pattern. Throughput and latency are independently normalised for teaching. This is not a benchmark or a prediction for a particular NVMe device.
LITTLE'S LAW · STEADY-STATE I/O Outstanding I/O = IOPS × Mean Latency Latency must be expressed in seconds, and all quantities must refer to the same system boundary.
EXAMPLE 01

32 Outstanding Requests

At an average latency of 100 microseconds, 32 average outstanding requests correspond to approximately 320,000 IOPS in steady state.

EXAMPLE 02

64 Outstanding Requests

If average latency increases to 200 microseconds, 64 average outstanding requests still correspond to approximately 320,000 IOPS. Concurrency has doubled without increasing IOPS.

PAYLOAD THROUGHPUT Throughput = IOPS × Average I/O Size 320,000 IOPS × 4,096 bytes ≈ 1.31 GB/s.

The optimum queue depth depends on the workload. Small random operations, large sequential transfers, metadata-intensive workloads and checkpoint writes can require very different concurrency strategies.

02.11 · Completion Processing

Interrupts, polling and CPU efficiency

After a controller writes a completion queue entry, the host must recognise and process the completion. NVMe implementations can use interrupt-driven processing, polling or combinations of these approaches.

EVENT-DRIVEN PROCESSING

Interrupts and MSI-X

The controller can notify the host through supported interrupt mechanisms such as MSI-X. The host then processes the relevant completion queue entries.

Interrupt-driven processing can conserve CPU resources during periods of low I/O activity, although interrupt delivery and scheduling introduce processing overhead.

ACTIVE COMPLETION CHECKING

Polling

A CPU worker repeatedly checks completion queues for newly completed commands. Polling can reduce notification and scheduling delays under suitable workloads.

Continuous busy polling consumes CPU execution resources and may be inefficient when I/O activity is intermittent.

COMPLETION NOTIFICATION · TIMELINE COMPARISON CONCEPTUAL
INTERRUPT-DRIVEN COMPLETION I/O EXECUTION NOTIFICATION PROCESS CQ COMPLETION READY POLLING-BASED COMPLETION I/O EXECUTION PROCESS CQ COMPLETION READY
Illustrative notification paths, not measured timings. Polling latency depends on how frequently the queue is checked. Interrupt latency depends on platform, driver, interrupt moderation and CPU scheduling.

Userspace storage frameworks such as SPDK commonly employ polling-based architectures to achieve predictable high-performance I/O processing. Kernel-based storage stacks can also support polling and other completion-processing optimisations.

CPU cycles remain part of the storage budget.

A polling configuration that improves storage latency but consumes CPU resources needed for AI data preprocessing may reduce overall application performance. Evaluate the complete workload rather than optimising storage latency in isolation.

02.12 · Production Performance Engineering

Investigating an underperforming NVMe storage path

Consider a GPU compute server equipped with a PCIe 5.0 ×4 NVMe SSD. The engineering team expects high sequential throughput, but application measurements remain below expectations.

The correct investigation begins by identifying the negotiated PCIe connectivity, storage controller capabilities, workload access pattern and actual system bottlenecks.

LINUX ENGINEERING TERMINAL DIAGNOSTIC COMMANDS
# Discover NVMe controllers and namespaces
nvme list
nvme list-subsys

# Inspect controller capabilities
sudo nvme id-ctrl /dev/nvme0

# Inspect namespace characteristics
sudo nvme id-ns /dev/nvme0n1

# Inspect negotiated queue-count feature
sudo nvme get-feature /dev/nvme0 -f 7 -H

# Inspect health and temperature
sudo nvme smart-log /dev/nvme0

# Locate PCIe storage controllers
lspci -D | grep -i 'Non-Volatile'

# Inspect PCIe capability and link status
sudo lspci -vv -s 0000:81:00.0

# Inspect GPU and PCIe locality
nvidia-smi topo -m

# Inspect Linux NUMA topology
numactl --hardware

# Observe block device performance
iostat -x 1

# Inspect NVMe error information
sudo nvme error-log /dev/nvme0
Example read-only diagnostic commands. Device names and PCIe addresses must be adapted to the target system. Commands require the appropriate Linux utilities, hardware support and permissions.
Observed condition Potential explanation Investigation
Low sequential throughput Reduced PCIe link width or speed Compare LnkCap and LnkSta
High tail latency Queueing or media contention Latency distributions and queue depth
Performance declines over time Thermal throttling or internal media activity SMART logs and sustained workload tests
High CPU overhead Interrupt load or polling configuration CPU profiling and interrupt counters
Poor multi-worker scaling Shared queues or controller saturation Queue allocation and concurrency testing
Uneven GPU I/O performance PCIe topology or NUMA locality Device placement and affinity analysis
Unexpected direct-path fallback Unsupported mapping or I/O configuration GPUDirect Storage diagnostics
Benchmark the actual application access pattern.

A device achieving excellent sequential throughput with large I/O requests may perform differently under small random reads, mixed workloads, checkpoint bursts or concurrent training workers. Record block size, queue depth, read/write mix, latency distribution and test duration when comparing storage performance.

Engineering Takeaways

NVMe performance is built on concurrency.

NVMe combines efficient command structures, parallel queue processing, device-driven memory transfers and high-speed connectivity to provide the storage foundation for modern AI infrastructure.

  • NVMe is a storage protocol, while PCIe provides a local high-speed transport.
  • Submission queues carry commands and completion queues communicate operation results.
  • Doorbell registers communicate host queue progress to the controller.
  • Administrative queues configure and manage the controller and its I/O resources.
  • Namespaces expose logical storage capacity independently of physical media organisation.
  • PRP and SGL structures describe the memory regions involved in data transfers.
  • DMA engines transfer payloads without requiring CPU instructions for every individual byte.
  • PCIe generation, lane width and topology determine important interface performance limits.
  • Increasing queue depth beyond saturation can increase latency without increasing throughput.
  • Interrupt and polling strategies must be evaluated alongside the complete AI application CPU budget.
Continue the Engineering Journey

Extending NVMe beyond the local PCIe fabric

Local NVMe provides an efficient storage command architecture within an individual computing platform. Large-scale AI infrastructure, however, frequently requires storage capacity to be shared across multiple GPU compute nodes.

The next section examines NVMe over Fabrics, exploring how NVMe command semantics extend across RDMA, TCP and Fibre Channel networks, and how remote storage subsystems become part of distributed GPU infrastructure.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 02

Inside the NVMe
Storage Controller.

Explore the hardware architecture behind high-performance NVMe storage. Follow commands through submission queues, PCIe transactions, controller execution, flash memory channels and completion queues. Discover how parallelism, latency and PCIe bandwidth influence AI storage performance.

TITANIUM HARDWARE CUTAWAY EDITION
NVMe HARDWARE / EXPLODED ARCHITECTURE CONTROLLER READY
HOST COMPUTING PLATFORM CPU NVMe DRIVER HOST MEMORY / DMA ACCESSIBLE QUEUES SUBMISSION QUEUE COMPLETION QUEUE COMMAND DESCRIPTORS COMPLETION ENTRIES CONTROL PCIe INTERCONNECT GEN 4 / x4 NVMe SOLID-STATE STORAGE DEVICE NVMe CONTROLLER DMA ENGINE QUEUE ENGINE FLASH FTL ECC ENGINE NAND FLASH NAND FLASH NAND FLASH NAND FLASH CHANNEL 00 CHANNEL 01 CHANNEL 02 CHANNEL 03 NAMESPACE 01 LOGICAL BLOCK ADDRESS SPACE SIMPLIFIED LOGICAL AND PHYSICAL HARDWARE CUTAWAY
Submission / DMA Completion Host control / namespace Controller execution
Hardware inspection laboratory
NVMe Controller
Storage execution engine

Modelled throughput
0
GB/s payload
Estimated IOPS
0
Operations per second
PCIe utilisation
0%
Modelled link load
I/O latency
0
Microseconds / assumed

NVMe Engineering Controls

PCIe Lane and Controller Telemetry

Active PCIe physical lanes
PCIe payload utilisation 0%
Storage media utilisation 0%
Queue-depth capacity used 0%
Encoded link ceiling
0
Payload ceiling
0
Transfer locality
LOCAL
Evaluating controller capacity.

NVMe Submission Queue

0 pending

Host software writes command descriptors into the submission queue and updates the controller doorbell. The controller fetches commands using DMA.

NVMe Completion Queue

0 completed

The controller posts completion entries into host memory. Software discovers completions through interrupts or polling and advances the completion queue head doorbell.

NVMe Command Descriptor Inspector

Opcode
0x02
Operation
READ
Namespace ID
0x00000001
Command ID
0x0000
Starting LBA
0x00001000
NLB / zero-based
31

Simplified NVM command fields using an assumed 4 KiB logical block format. The actual command also includes data pointers, control fields and other protocol-specific information.

NVMe CONTROLLER EVENT CONSOLE / SIMULATED EXECUTION
Engineering discovery lab

Is the PCIe interface limiting your storage?

A storage subsystem has a 12 GB/s media throughput ceiling, an 80 µs base I/O latency and a workload using 128 KiB blocks at queue depth 64.

Investigate a PCIe Gen 3 x4 configuration. Upgrade only the PCIe generation while retaining four physical lanes. Determine the lowest generation capable of delivering at least 10 GB/s in this model.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

Educational performance model. PCIe Gen 3, Gen 4 and Gen 5 use 8, 16 and 32 GT/s respectively with 128b/130b encoding. A fixed 90% payload efficiency assumption accounts approximately for additional protocol overhead. Actual efficiency varies.

Throughput is limited by the minimum of modelled PCIe payload capacity, storage media capacity and the queue-depth/latency concurrency ceiling. Remote NUMA access adds an illustrative latency penalty. This is not a calibrated SSD benchmark or a full queueing model.

Queue depth represents aggregate outstanding I/O. The visual queue displays a sample of up to eight commands per execution. Namespaces are logical block address spaces and do not necessarily correspond to dedicated physical NAND channels. PCIe x8 and x16 options represent hypothetical wider storage endpoints or aggregate interfaces; individual NVMe SSDs commonly use x4 connections.

NETWORK INSIGHT
Section 03 · Distributed Storage Engineering

NVMe over Fabrics Disaggregated Storage Architecture

Modern AI infrastructure cannot always depend on storage physically installed inside individual GPU servers. NVMe over Fabrics extends NVMe command semantics across network infrastructure, enabling compute and storage resources to scale independently while supporting high-performance remote block access.

AI DATA CENTRE · DISAGGREGATED NVMe STORAGE
GPU 0 GPU 1 GPU 2 GPU 3 NVMe-oF TARGET CONTROLLER SSD SSD SSD SSD SSD SSD GPU COMPUTE TIER COMPUTE 01 COMPUTE 02 COMPUTE 03 STORAGE FABRIC A STORAGE FABRIC B NVMe STORAGE SYSTEM A NVMe STORAGE SYSTEM B
Conceptual dual-fabric AI storage architecture. GPU compute nodes access remote NVMe storage through network interfaces and NVMe-oF controllers. Animated paths represent logical command and data exchanges rather than measured packet traces. NVMe-oF alone does not guarantee direct GPU-memory transfers.
Command model NVMe Remote storage semantics
Transport families 3 RDMA · TCP · Fibre Channel
Example fabric 400G 50 GB/s nominal line-rate conversion
Availability ANA Asymmetric namespace access
03.1 · Architectural Foundations

Extending NVMe beyond the local PCIe bus

NVMe over Fabrics, commonly abbreviated NVMe-oF, extends the NVMe storage architecture across network fabrics. It allows a host to communicate with an NVMe controller that is not necessarily located inside the same physical server.

Rather than exposing a remote PCIe bus directly, NVMe-oF defines transport-specific mechanisms for carrying NVMe commands, responses and data between hosts and remote controllers.

LOCAL STORAGE

NVMe over PCIe

The host communicates with a locally attached NVMe controller using PCIe transactions, memory-resident queues and memory-mapped controller registers.

Performance depends on local PCIe connectivity, controller capabilities and storage media.

REMOTE STORAGE

NVMe over Fabrics

The host communicates with a remote NVMe controller using a supported fabric transport. Commands and completions retain NVMe semantics.

Performance additionally depends on network latency, congestion, transport processing and target architecture.

LOCAL VS REMOTE · STORAGE ACCESS PATH ARCHITECTURAL COMPARISON
LOCAL NVMe HOST NVMe DRIVER LOCAL SSD CONTROLLER PCIe REMOTE NVMe-oF NVMe HOST INITIATOR NIC / HBA FABRIC TARGET BACKEND STORAGE
Remote storage introduces additional transport and target-processing stages. A remote target can use physical NVMe SSDs or other supported backend storage implementations.
Remote NVMe is not a remote filesystem.

NVMe-oF provides storage command access, typically exposing block namespaces. Filesystems, distributed locking, metadata services and concurrent file access require additional architecture above the block-storage layer.

03.2 · Storage Identity

Hosts, targets, subsystems and remote namespaces

Understanding NVMe-oF requires separating the physical storage infrastructure from the logical entities presented to connecting hosts.

INITIATOR

NVMe Host

The system requesting storage access. Its NVMe-oF initiator establishes controller connections and submits storage commands.

STORAGE SERVICE

NVMe Target

The implementation accepting fabric connections and exposing NVMe controllers and storage namespaces to authorised hosts.

LOGICAL STORAGE SYSTEM

NVMe Subsystem

A logical NVMe storage entity containing controllers and potentially shared namespaces. It is identified by a subsystem NQN.

NVMe-oF · LOGICAL ENTITY MODEL IDENTITY AND STORAGE
GPU COMPUTE HOST Initiator identity
nqn.2026-11.net.example:host.gpu01
↓
FABRIC TRANSPORT ENDPOINT Example NVMe/TCP service
trtype=tcp · traddr=192.0.2.20 · trsvcid=4420
↓
NVMe SUBSYSTEM Logical storage identity
nqn.2026-11.net.example:ai.storage01
ACCESS PATH A

Controller A

Host-facing controller association.

ACCESS PATH B

Controller B

Alternative controller association.

NSID 1 Training data
NSID 2 Model checkpoints
NSID 3 Model artifacts
Illustrative host and subsystem identities. The example NQNs and documentation IP address are not production endpoints. Namespace accessibility depends on controller attachment and target configuration.

An NVMe Qualified Name, or NQN, identifies a host or subsystem. It is independent of the network address used to reach the storage service. A subsystem can therefore be accessible through multiple transport endpoints.

Identity is not authentication.

A host NQN identifies the claimed host. Host NQN allowlists alone do not provide cryptographic proof of identity. Production environments must evaluate authentication, network isolation and transport security.

03.3 · Fabric Transport Architecture

NVMe/RDMA, NVMe/TCP and NVMe/FC

NVMe-oF separates the storage command model from the underlying transport. Different transport implementations provide different mechanisms for carrying commands, responses and payloads.

NVMe-oF · TRANSPORT STACK COMPARISON PROTOCOL ARCHITECTURE
NVMe/RDMA
NVMe Command Set
NVMe RDMA Transport
RDMA Operations
RoCE / IB / iWARP
Network Fabric

Uses RDMA-capable infrastructure to transfer data between registered memory regions.

NVMe/TCP
NVMe Command Set
NVMe TCP Transport
TCP
IP
Ethernet or IP Network

Carries NVMe protocol data units over reliable TCP connections.

NVMe/FC
NVMe Command Set
FC-NVMe Mapping
Fibre Channel Services
FC Frames
Fibre Channel Fabric

Integrates NVMe storage access with supported Fibre Channel SAN infrastructure.

Simplified protocol stacks. RoCE, InfiniBand and iWARP have different underlying transport architectures. The diagram groups them at the RDMA service level rather than implying identical packet formats.
Characteristic NVMe/RDMA NVMe/TCP NVMe/FC
Infrastructure RDMA-capable fabric IP network Fibre Channel SAN
Host interface RDMA-capable NIC or HCA Standard or accelerated NIC Supported FC HBA
Data movement RDMA operations and capsules TCP protocol data units FC-NVMe exchanges
CPU efficiency Potentially high with RDMA offload Implementation and offload dependent HBA and implementation dependent
Operational focus Memory registration and fabric tuning TCP behaviour and CPU processing SAN configuration and fabric services
Typical use Latency-sensitive AI and HPC storage General-purpose IP storage infrastructure Enterprise SAN environments
Transport choice is an engineering trade-off.

RDMA can reduce CPU processing and latency, but it introduces hardware and operational requirements. TCP can simplify infrastructure integration. Fibre Channel can leverage existing enterprise SAN expertise. Actual performance must be validated against the workload.

03.4 · Remote Direct Memory Access

How NVMe/RDMA moves storage payloads

Remote Direct Memory Access allows supported network adapters to transfer data between registered memory regions with reduced involvement from the remote CPU during payload movement.

NVMe/RDMA uses command and response capsules alongside RDMA operations. The transport maps NVMe queue communication onto RDMA connections and associated resources.

NVMe/RDMA · REMOTE READ DATA PATH PAYLOAD TRANSFER
NVMe HOST NVMe TARGET NVMe INITIATOR TARGET CONTROLLER RDMA ADAPTER QUEUE PAIR RDMA ADAPTER QUEUE PAIR REGISTERED DESTINATION BUFFER BACKEND DATA STORAGE BUFFER 1 · READ COMMAND 2 · RDMA WRITE TARGET → HOST PAYLOAD 3 · COMPLETION Logical message sequence · shared physical fabric
Simplified remote read using a registered destination buffer. The target transfers payload through an RDMA Write operation and returns an NVMe completion. The diagram separates message types visually; all use the appropriate transport resources rather than separate physical networks.
NVMe READ

Target writes to host memory

For a conventional out-of-capsule read, the target uses RDMA Write to transfer the requested data into the registered destination buffer.

NVMe WRITE

Target retrieves host data

For a conventional out-of-capsule write, the target can use RDMA Read to retrieve data from the registered host buffer. Supported in-capsule transfers can follow a different payload path.

RDMA does not mean that every CPU is bypassed.

Connection management, memory registration, command construction, completion processing, target storage scheduling and application logic still require processing resources. RDMA primarily changes how payload movement is performed.

03.5 · IP Storage Engineering

NVMe/TCP and protocol data units

NVMe/TCP carries NVMe commands and data across reliable TCP connections. It enables remote NVMe access without requiring an RDMA-capable network adapter.

The transport defines protocol data units, commonly called PDUs, for connection initialisation, commands, responses, data transfers and error handling.

NVMe/TCP · CONCEPTUAL ENCAPSULATION PROTOCOL DATA UNIT
NVMe/TCP PDU Transport header · Command or data · Optional digests TCP HEADER TCP STREAM SEGMENT ETHERNET IP TCP STREAM PAYLOAD
Conceptual encapsulation. NVMe/TCP PDUs are carried within a TCP byte stream. PDU boundaries do not necessarily correspond to TCP segment or Ethernet frame boundaries. Header sizes and optional fields are not drawn to scale.
PDU Purpose Direction
ICReq / ICResp Transport connection initialisation Host request / controller response
CapsuleCmd NVMe command capsule Host to controller
CapsuleResp NVMe completion response Controller to host
H2CData Host-to-controller payload transfer Host to controller
C2HData Controller-to-host payload transfer Controller to host
R2T Ready-to-transfer notification Controller to host
Termination Request Transport protocol error handling Host or controller

TCP provides reliable, ordered byte-stream delivery. Packet loss can therefore delay subsequent data delivery within the affected TCP connection until missing data is recovered.

Multiple NVMe/TCP queue connections can provide concurrency, but they may still compete for shared NIC, CPU, switch and target resources.

TCP reliability is not storage persistence.

Successful TCP delivery indicates transport progress, not necessarily completion or durable persistence of an NVMe write. Storage completion, flush and force-unit-access semantics remain important at the NVMe command layer.

03.6 · Enterprise SAN Integration

NVMe over Fibre Channel

NVMe/FC enables NVMe command access across supported Fibre Channel storage area networks. It allows organisations to use NVMe storage semantics while retaining established SAN connectivity and operational practices.

HOST CONNECTIVITY

FC Host Bus Adapter

A compatible HBA provides host connectivity and supports the required Fibre Channel and NVMe transport functions.

FABRIC SERVICES

Fibre Channel SAN

Provides fabric login, name services, zoning and frame forwarding across supported storage infrastructure.

STORAGE ENDPOINT

NVMe/FC Target

Exposes supported NVMe subsystems and namespaces through the FC-NVMe transport.

DUAL-FABRIC · ENTERPRISE FC-NVMe SAN REDUNDANT CONNECTIVITY
HOST FC HBA A FC HBA B FC FABRIC A FC FABRIC B INDEPENDENT SAN INDEPENDENT SAN NVMe ARRAY TARGET PORT A TARGET PORT B Independent fabrics reduce shared network failure domains
Conceptual dual-fabric SAN design. Actual redundancy depends on independent HBAs, switches, cabling, target ports, controllers and backend storage failure domains.

Fibre Channel zoning controls fabric-level communication relationships. Storage-side host access configuration determines which subsystems and namespaces are exposed. These controls operate at different architectural layers.

03.7 · Storage Discovery

Discovery controllers and subsystem records

Before establishing normal storage access, a host may need to discover available NVMe subsystems and their transport endpoints.

A discovery controller provides discovery information through the NVMe Discovery Log Page. It is distinct from a normal I/O controller used for namespace data access.

DISCOVERY SERVICE · CONNECTION WORKFLOW CONTROL PLANE
NVMe HOST INITIATOR DISCOVERY CONTROLLER DISCOVERY LOG PAGE I/O SUBSYSTEM CONTROLLERS · NAMESPACES 1 · DISCOVER 2 · ENDPOINT RECORDS 3 · CONNECT Discovery is separate from the normal storage data path
Discovery returns information used to establish subsequent I/O controller connections. Hosts can also connect directly when the required subsystem and transport information is known.
Field Meaning Example
TRTYPE Transport type TCP
ADRFAM Address family IPv4
TRADDR Transport address 192.0.2.20
TRSVCID Transport service identifier 4420
SUBNQN Subsystem qualified name nqn.2026-11.net.example:ai.storage01
PORTID Subsystem port identifier 1
SUBTYPE Subsystem type NVMe subsystem
03.8 · Controller Connection Lifecycle

Establishing remote administrative and I/O queues

Local NVMe and NVMe-oF share the logical concepts of administrative and I/O queues. However, fabric transports use their own connection and queue-establishment mechanisms.

The Fabrics Connect command establishes the relationship between a host queue and a remote controller using the applicable transport.

STAGE 01 · TRANSPORT CONNECTION Establish fabric communication

The host establishes the transport-specific communication resources, such as a TCP connection or RDMA connection.

STAGE 02 · TRANSPORT INITIALISATION Negotiate applicable transport parameters

Transport-specific initialisation takes place. NVMe/TCP, for example, exchanges ICReq and ICResp PDUs before normal command capsules.

STAGE 03 · FABRICS CONNECT Establish the administrative queue

A Fabrics Connect command for queue ID zero establishes the administrative queue association with the remote controller.

STAGE 04 · AUTHENTICATION Complete required authentication

Where configured and supported, the host completes the applicable authentication exchange before normal controller operations.

STAGE 05 · CONTROLLER CONFIGURATION Identify and configure controller resources

The host performs the required controller property operations, readiness checks, Identify commands and feature configuration.

STAGE 06 · I/O QUEUES Establish additional queue connections

The host establishes transport resources and issues Fabrics Connect commands for non-zero queue IDs associated with the controller.

STAGE 07 · NAMESPACE DISCOVERY Discover accessible storage namespaces

The host identifies the namespaces exposed through the controller and creates the corresponding operating-system storage objects.

STAGE 08 · OPERATIONAL STORAGE Submit and complete storage I/O

Normal read and write commands flow through established I/O queues. Keep-alive, asynchronous events and recovery mechanisms maintain controller operation where applicable.

REMOTE CONTROLLER · QUEUE ASSOCIATIONS PARALLEL FABRIC I/O
HOST QUEUES REMOTE CONTROLLER ADMIN · QID 0 ADMIN QUEUE I/O · QID 1 I/O · QID 2 I/O · QID 3 I/O QUEUE 1 I/O QUEUE 2 I/O QUEUE 3 ADMIN CONNECTION I/O CONNECTION 1 I/O CONNECTION 2 I/O CONNECTION 3
Simplified queue associations for a fabric transport such as TCP or RDMA. Actual queue counts, connection resources and setup order depend on transport and controller capabilities.
Do not confuse PCIe queue creation with fabric connection setup.

NVMe over PCIe uses local controller registers and administrative queue-creation commands. NVMe-oF establishes queue associations using Fabrics Connect and transport-specific resources. The logical queue model is shared, but the underlying mechanisms differ.

03.9 · Availability and Path Selection

NVMe multipathing and Asymmetric Namespace Access

Enterprise storage infrastructure frequently exposes the same logical namespace through multiple controllers or transport paths. Multipathing allows a host to select among available access paths and recover from supported path failures.

Asymmetric Namespace Access, or ANA, provides information about the accessibility and relative suitability of namespace access through particular controllers.

ANA · ASYMMETRIC STORAGE ACCESS MULTIPATH MODEL
GPU HOST NATIVE NVMe MULTIPATHING OPTIMISED NON-OPTIMISED CONTROLLER A CONTROLLER B PREFERRED ACCESS PATH ALTERNATIVE ACCESS PATH SHARED NAMESPACE SAME LOGICAL STORAGE RESOURCE
Example asymmetric namespace access. An optimised path is preferred where available. Non-optimised paths may remain usable. ANA states can differ between namespace groups and controller access paths.
ANA state Meaning Host implication
Optimised Namespace accessible through an optimised path Preferred for normal I/O
Non-optimised Namespace accessible through a less optimal path Usable alternative according to host policy
Inaccessible Namespace temporarily inaccessible through this path Avoid normal I/O on the affected path
Persistent loss Persistent loss of namespace access through the path Use remaining valid paths where available
Change ANA state transition in progress Re-evaluate access state

Host multipathing implementations use namespace identity, controller information, ANA state and configured path-selection policies to determine how storage requests are distributed.

PATH SELECTION

NUMA Locality

Prefer suitable paths based on proximity to the CPU or NUMA node handling the I/O, where supported by the host implementation.

PATH DISTRIBUTION

Round Robin

Distribute requests among eligible paths using a rotating selection policy.

LOAD AWARENESS

Queue Depth

Select eligible paths using outstanding I/O information where supported by the operating system and driver version.

Multipathing is not storage replication.

Multiple access paths can protect against certain connectivity failures. They do not automatically protect against loss of the underlying namespace, storage media or shared backend infrastructure. Data protection requires additional storage architecture.

03.10 · Fabric Performance Engineering

Network bandwidth is only one part of storage performance.

High-speed AI storage fabrics can provide substantial aggregate bandwidth. However, advertised network capacity does not directly translate into application-visible storage throughput.

NETWORK CAPACITY · NOMINAL RATE COMPARISON THEORETICAL VALUES
25 Gb/s 3.125 GB/s
100 Gb/s 12.5 GB/s
200 Gb/s 25 GB/s
400 Gb/s 50 GB/s
Nominal bit-rate to byte-rate conversions using decimal units. These values do not account for protocol overhead, congestion, implementation limits or storage-media performance.
NETWORK BANDWIDTH CONVERSION GB/s = Gb/s ÷ 8 A nominal 400 Gb/s interface corresponds to 50 GB/s before relevant overheads.
SIMPLIFIED END-TO-END THROUGHPUT CEILING Throughput ≤ min(Host, Fabric, Target, Storage) All components must be evaluated using compatible throughput units and workload conditions.
EXAMPLE · STORAGE LIMITED

400G Fabric, 24 GB/s Backend

A 400 Gb/s network interface has a nominal capacity of 50 GB/s. If the storage backend can supply only 24 GB/s for the workload, additional network capacity cannot remove that backend bottleneck.

EXAMPLE · FABRIC LIMITED

100G Fabric, 30 GB/s Backend

A single 100 Gb/s network path provides a nominal 12.5 GB/s ceiling before overhead. The backend may be capable of much more throughput than the network path can deliver.

Understanding the latency budget

Remote storage latency includes host submission, transport processing, network transit, target scheduling, backend storage access and completion delivery. Queueing can occur at several of these stages.

REMOTE I/O · LATENCY CONTRIBUTIONS ILLUSTRATIVE MODEL
EXAMPLE REMOTE READ · 100 μs 10 μs 15 μs 15 μs 50 μs 10 μs Host submission Outbound transport Target processing Backend storage Return and completion Hypothetical serial latency budget · not a benchmark
Example latency decomposition for teaching. Real operations can overlap processing stages, and actual latency depends on the transport, I/O size, queue depth, hardware and workload.
Measure tail latency, not only average latency.

Distributed AI workloads can be sensitive to slow storage requests and uneven data delivery. A small number of high-latency operations can delay data preparation, checkpoint completion or synchronisation across multiple GPU workers.

03.11 · AI Infrastructure Architecture

Disaggregating GPU compute and storage

Disaggregated storage allows GPU compute capacity and persistent storage capacity to be provisioned and expanded independently.

Instead of duplicating entire datasets across every compute server, a shared storage architecture can expose centralised or distributed storage services to multiple compute nodes.

TRAINING

Dataset Delivery

Supply training data to multiple GPU workers while managing aggregate read throughput, metadata operations and workload concurrency.

CHECKPOINTING

Persistent Model State

Absorb large checkpoint writes and provide the persistence and recovery semantics required by distributed training systems.

INFERENCE

Model Loading

Retrieve model weights and other artifacts when inference servers initialise or load additional models.

AI STORAGE · COMPLETE SOFTWARE AND HARDWARE PATH END-TO-END ARCHITECTURE
AI APPLICATION Training · Inference · Checkpointing
Data loaders · Model framework · I/O scheduling
↓
STORAGE SOFTWARE Application access layer
Filesystem or block-access stack · Caching · Metadata
↓
NVMe-oF INITIATOR Remote storage command layer
Controllers · Namespaces · I/O queues · Multipathing
↓
STORAGE FABRIC Transport and network layer
RDMA / TCP / FC · NICs · Switches · Congestion
↓
REMOTE STORAGE TARGET Storage service layer
Target controllers · Backend queues · Data protection
↓
PERSISTENT STORAGE MEDIA Physical storage layer
NVMe SSD Storage device
NVMe SSD Storage device
NVMe SSD Storage device
Logical storage request path. Real AI storage systems may use distributed filesystems, object storage, userspace storage frameworks or alternative architectures. Not every layer is required in every implementation.
Shared block access requires coordination.

Multiple hosts must not independently mount and modify an ordinary single-host filesystem on the same shared block namespace. Safe concurrent access requires a suitable clustered filesystem, storage coordination mechanism or application architecture.

NVMe-oF and GPUDirect Storage solve different problems.

REMOTE STORAGE ACCESS

NVMe over Fabrics

Extends NVMe command and storage access semantics across a network fabric.

GPU DATA MOVEMENT

GPUDirect Storage

Enables supported storage data paths to transfer payloads directly into or out of GPU memory, reducing unnecessary CPU-memory staging.

Combining these capabilities requires a supported storage stack, compatible hardware, appropriate memory mappings and suitable platform topology. An NVMe/RDMA connection alone does not establish a GPUDirect Storage data path.

03.12 · Storage Security Architecture

Protecting remote NVMe storage services

Moving storage access onto a network creates additional trust boundaries. Remote storage endpoints must be protected against unauthorised connections, inappropriate namespace access, traffic interception and resource exhaustion.

IDENTITY

Host NQN Access Control

Restrict which host identities can connect to particular subsystems. Treat identity allowlists as one layer of access control.

AUTHENTICATION

DH-HMAC-CHAP

Use supported NVMe in-band authentication mechanisms to authenticate connecting entities. Mutual authentication may be available.

CONFIDENTIALITY

Transport Protection

Evaluate supported NVMe/TCP TLS capabilities and appropriate transport-specific security controls. Authentication alone does not encrypt storage payloads.

NETWORK BOUNDARY

Fabric Segmentation

Separate storage traffic using suitable network architecture, routing policy, access controls and dedicated fabrics where appropriate.

RESOURCE PROTECTION

Connection and Queue Limits

Control resource allocation and monitor excessive connections, queue creation, command rates and target saturation.

DATA PROTECTION

Namespace Governance

Apply least-privilege storage exposure, encryption at rest, backup, recovery and appropriate tenant isolation.

Security capabilities are implementation dependent.

Authentication, encryption and access-control support vary between NVMe specification versions, transports, host drivers and target products. Validate the actual supported security configuration before deploying sensitive AI data.

03.13 · Production Troubleshooting

Investigating an underperforming NVMe-oF fabric

Troubleshooting remote storage requires correlating host-side storage metrics with transport behaviour, network telemetry, controller state and backend storage performance.

LINUX ENGINEERING TERMINAL DIAGNOSTIC WORKFLOW
# Inspect locally configured host identity
cat /etc/nvme/hostnqn

# Discover visible NVMe devices and namespaces
nvme list
nvme list-subsys

# Query a known discovery endpoint
# Replace the documentation address before use
sudo nvme discover -t tcp \
  -a 192.0.2.20 -s 4420

# Inspect an existing remote controller
sudo nvme id-ctrl /dev/nvme0

# Inspect accessible namespace information
sudo nvme id-ns /dev/nvme0n1

# Inspect ANA information where supported
sudo nvme ana-log /dev/nvme0

# Examine network interface counters
ip -s link
ethtool -S eth0

# Examine established TCP storage connections
ss -tin '( dport = :4420 or sport = :4420 )'

# Inspect RDMA devices and links
rdma link show
rdma statistic show

# Observe block-storage performance
iostat -x 1

# Inspect kernel storage and transport events
journalctl -k | grep -Ei 'nvme|rdma|timeout'

# Inspect GPU and PCIe topology
nvidia-smi topo -m
Example diagnostic commands for Linux. Device names, interfaces and endpoint addresses must be adapted to the environment. Discovery initiates a network interaction; use authorised storage endpoints only. Available commands depend on installed tools, permissions and driver support.
Observed condition Possible explanation Engineering investigation
Discovery fails Unreachable endpoint or transport mismatch Routing, service configuration and fabric reachability
Discovery succeeds but Connect fails Host access restrictions or authentication failure NQN configuration, target logs and authentication
Controller connects without namespaces Namespace attachment or access configuration Subsystem configuration and Identify information
High NVMe/TCP latency Retransmissions, CPU saturation or congestion TCP statistics, CPU profiling and network counters
Unstable NVMe/RDMA performance Fabric congestion or RDMA resource pressure Transport counters, queue resources and fabric telemetry
Uneven multipath utilisation ANA state or path-selection policy Controller paths, ANA logs and host multipath settings
Repeated controller reconnects Transport disruption or target availability issue Kernel events, target logs and network failure history
Low GPU utilisation despite fast storage Data preparation or memory-staging bottleneck Application profiling and GPU storage-path diagnostics
Correlate the entire storage request journey.

A healthy network does not prove that the storage backend is healthy. A healthy storage backend does not prove that the application receives data efficiently. Production diagnosis must follow requests across the complete compute, transport, storage and GPU pipeline.

Engineering Takeaways

NVMe-oF turns storage into a fabric-accessible resource.

Disaggregated storage is a foundational architecture for scalable AI infrastructure. NVMe-oF extends efficient storage command processing beyond the boundaries of an individual server while introducing new transport, availability, security and performance engineering requirements.

  • NVMe-oF extends NVMe storage semantics across supported network fabrics.
  • NVMe/RDMA, NVMe/TCP and NVMe/FC provide different transport architectures.
  • Host NQNs and subsystem NQNs identify logical storage entities.
  • Discovery controllers provide subsystem and transport endpoint information.
  • Fabrics Connect establishes remote controller queue associations.
  • RDMA can reduce CPU involvement in payload movement without eliminating all CPU processing.
  • NVMe/TCP carries protocol data units through reliable TCP byte streams.
  • Multipathing and ANA support path selection and storage access resilience.
  • Network bandwidth, target processing and backend storage jointly determine performance.
  • Remote NVMe access does not automatically provide direct GPU-memory transfers.
  • Shared block access requires appropriate filesystem or application-level coordination.
  • Authentication, transport protection and namespace governance must be designed explicitly.
Continue the Engineering Journey

From remote storage to direct memory movement

NVMe-oF provides the command architecture for accessing remote storage. The next engineering challenge is understanding how high-performance network adapters transfer payloads between memory regions while minimising unnecessary CPU processing and memory copies.

The next section examines RDMA architecture in greater depth, including queue pairs, memory registration, protection domains, completion queues, RDMA Read and Write operations, RoCEv2, InfiniBand and the relationship between network adapters and GPU memory.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 03

NVMe over Fabrics.
Beyond the Local Server.

Enter a distributed AI storage fabric. Discover remote NVMe namespaces, establish controller connections and investigate how storage commands and dataset payloads traverse high-performance data centre networks.

TITANIUM FABRIC COMMAND CENTRE EDITION
DISTRIBUTED AI STORAGE / LIVE FABRIC TOPOLOGY DISCONNECTED
AI COMPUTE NODE REDUNDANT STORAGE FABRIC REMOTE STORAGE TARGET DISCOVERY CONTROLLER DISCOVERY LOG ENTRIES NVMe INITIATOR HOST DRIVER / I/O QUEUES NO ACTIVE CONTROLLER RNIC TRANSPORT ENGINE PORT A PORT B GPU AI WORKLOAD HBM HBM FABRIC SWITCH A PRIMARY AVAILABLE FABRIC SWITCH B STANDBY AVAILABLE NVMe/RDMA 100 Gbit/s PER PATH NVMe SUBSYSTEM REMOTE I/O CONTROLLER NQN / AI STORAGE RNIC TARGET PORTS PORT A PORT B NSID 01 / TRAINING NSID 02 / CHECKPOINTS NSID 03 / INFERENCE LOGICAL NVMe-oF TOPOLOGY / SINGLE ACTIVE I/O PATH
Storage fabric NVMe command / payload Completion / available path Congestion Failed path
Interactive fabric inspector
NVMe Initiator

Remote throughput
0
GB/s payload capacity
Estimated IOPS
0
Operations per second
Remote I/O latency
—
Microseconds / modelled
GPU data supply
0%
Potential demand satisfied

Storage Fabric Engineering Controls

Fabric Command Centre

Fabric path A
AVAILABLE
Fabric path B
STANDBY
Storage share of usable link 0%
Target storage utilisation 0%
GPU data demand satisfied 0%
Fabric contention 0%
Effective network capacity
0 GB/s
Discover and connect a remote NVMe subsystem.

NVMe-oF Connection and Namespace Inspector

Connection state
DISCONNECTED
Transport
RDMA
Active I/O path
NONE
Subsystem NQN
NOT DISCOVERED
Transport address
—
Selected namespace
—

Remote Storage I/O Journey

STORAGE FABRIC EVENT CONSOLE / SIMULATED TELEMETRY
Engineering discovery lab

Can your AI storage fabric survive a path failure?

An AI workload requires 16 GB/s of sustained storage data. The remote NVMe subsystem can supply 24 GB/s, but its initial 100 Gbit/s fabric cannot satisfy the workload in this model.

Establish an NVMe/RDMA connection, upgrade to the lowest available link speed that meets demand, enable redundant paths and fail the primary path. Execute a successful remote READ using path B.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

Educational NVMe-oF capacity model. Transport efficiency, protocol latency and congestion penalties are illustrative assumptions rather than measured performance characteristics. NVMe/TCP, NVMe/RDMA and NVMe/FC performance depends on implementation, hardware offload and workload.

Fibre Channel speed options use approximate nominal payload ceilings rather than treating FC speed-class names as Ethernet bit rates. Redundancy is modelled as single-active-path failover, not bandwidth aggregation.

NVMe multipathing requires suitable host configuration, controller connectivity and namespace access. Real implementations may use Asymmetric Namespace Access (ANA), controller recovery and transport-specific timeout mechanisms.

The GPU data supply indicator represents potential storage throughput relative to workload demand, not measured GPU compute utilisation. NVMe/RDMA alone does not establish a GPUDirect Storage path.

NETWORK INSIGHT
Section 04 · High-Performance Memory Networking

RDMA Architecture Engineering the Direct Memory Fabric

The challenge in modern AI infrastructure is not simply transporting packets between servers. It is moving large volumes of data between storage devices, network adapters and memory regions without consuming unnecessary CPU cycles or introducing avoidable memory copies. Remote Direct Memory Access fundamentally changes how these transfers can be performed.

AI INFRASTRUCTURE · DIRECT MEMORY FABRIC
CPU HOST MEMORY REGISTERED BUFFER RDMA ENGINE SQ RQ CQ DMA STORAGE SERVER COMPUTE SERVER RDMA FABRIC HARDWARE-ASSISTED MEMORY TRANSFER Registered memory · RDMA adapters · Network fabric
Conceptual RDMA data path between two servers. The CPU establishes and manages communication resources, while supported network hardware performs payload transfers using registered memory. This diagram illustrates host-memory RDMA; direct GPU-memory access requires additional platform and software support.
Communication QP Queue pair architecture
Memory access MR Registered memory region
Access boundary PD Protection domain
Completion CQ Completion queue
04.1 · Architectural Foundations

Why RDMA changes the data movement model

Conventional network communication frequently involves application buffers, operating-system networking resources, protocol processing and memory copies. Modern networking implementations can optimise many of these operations, but significant processing overhead may remain.

RDMA allows supported network adapters to access registered memory directly through hardware-assisted communication operations. Applications can submit work to the adapter and retrieve completion information without requiring a conventional socket-processing path for every payload.

CONVENTIONAL NETWORKING VS RDMA DATA PATH COMPARISON
CONVENTIONAL PATH RDMA PATH APPLICATION BUFFER SOCKET / KERNEL BUFFER PROTOCOL PROCESSING NETWORK ADAPTER APPLICATION / RDMA VERBS REGISTERED MEMORY AUTHORISED DMA BUFFER RDMA NETWORK ADAPTER DMA Conceptual paths · implementation dependent
Conventional socket networking can also use zero-copy techniques, hardware offload and accelerated processing. RDMA provides a different communication and memory-access model rather than guaranteeing a fixed performance advantage over every alternative.
DATA MOVEMENT

Reduced Memory Copies

Registered buffers can be accessed by the adapter without staging every transfer through additional application or kernel payload buffers.

CPU EFFICIENCY

Hardware-Assisted Processing

Supported adapters perform transport processing, DMA operations and communication resource management in hardware.

CONCURRENCY

Asynchronous Operations

Applications can submit multiple outstanding work requests and process completions independently of submission.

Kernel bypass does not mean kernel independence.

Userspace RDMA can avoid conventional kernel networking processing on the steady-state data path. Operating-system drivers, resource allocation, memory management, access control and device configuration remain essential.

04.2 · RDMA Communication Resources

Queue pairs, work requests and completion queues

A queue pair is a fundamental communication resource in the RDMA verbs programming model. It contains a Send Queue and a Receive Queue, although their use depends on the transport service and operation being performed.

Applications post Work Requests to these queues. The underlying implementation represents submitted operations using Work Queue Elements, which the network adapter processes.

RDMA ADAPTER · QUEUE RESOURCE ARCHITECTURE ASYNCHRONOUS EXECUTION
SEND QUEUE · SQ ILLUSTRATIVE WQEs
WQE 01 RDMA WRITE
WQE 02 RDMA READ
WQE 03 SEND
FREE
FREE
FREE
RECEIVE QUEUE · RQ POSTED RECEIVE BUFFERS
WQE 01 BUFFER A
WQE 02 BUFFER B
WQE 03 BUFFER C
WQE 04 BUFFER D
FREE
FREE
↓
HARDWARE EXECUTION

RDMA Adapter Processing Engine

WQE processing · Address translation · Access validation · DMA · Transport execution

↓
COMPLETION QUEUE · CQ COMPLETION QUEUE ENTRIES
CQE 01 SUCCESS
CQE 02 SUCCESS
FREE
FREE
FREE
FREE
Logical queue architecture. Actual WQE and CQE formats are hardware and implementation dependent. A completion queue can be associated with multiple queue resources. Successful unsignalled send operations do not necessarily produce individual completion entries.
SUBMISSION

Work Request

Describes an operation to be executed, including the operation type, buffer references and relevant remote-memory information.

DEVICE REPRESENTATION

Work Queue Element

The queue representation consumed by the adapter or its execution mechanism. Its exact structure depends on the device.

COMPLETION

Completion Queue Entry

Reports completion status and associated operation information for work that generates a completion.

NOTIFICATION

Doorbell Mechanism

Allows software to notify the adapter of newly submitted work. Hardware may support memory-mapped doorbells, batching and other submission optimisations.

Queue pair state transitions

RELIABLE CONNECTED QP · STATE MACHINE CONNECTION LIFECYCLE
RESET INIT RTR RTS UNCONFIGURED INITIALISED READY TO RECEIVE READY TO SEND ERROR RECOVERY REQUIRED Simplified normal bring-up and error path
A simplified reliable-connected QP lifecycle. Additional states and transitions exist. Connection managers can automate much of the required resource configuration.
04.3 · Memory Access Architecture

Memory registration and DMA address translation

Before a conventional RDMA operation can access application memory, the relevant memory must generally be registered with the RDMA subsystem. Registration establishes the memory-access information required by the adapter.

Traditional registration can involve pinning memory pages and establishing DMA mappings. Supported on-demand paging implementations can manage memory residency and mappings differently.

MEMORY REGISTRATION · ADDRESS SPACE CUTAWAY REGISTERED REGION
APPLICATION VIRTUAL ADDRESS SPACE

Illustrative Memory Allocation

Base: 0x0000000100000000
Registered length: 16 KiB
P0
P1
P2
P3
P4
P5
P6
P7

Four illustrative 4 KiB pages form the registered memory region. Physical pages need not be contiguous.

↓
LOCAL MEMORY KEY

lkey

Example: 0x00001234

Used by local work requests to reference and validate registered memory access.

REMOTE MEMORY KEY

rkey

Example: 0x00005678

Used by supported remote-memory operations to identify authorised access to a region or memory window.

↓
ADAPTER MEMORY MANAGEMENT

Address Translation and Access Validation

Region bounds · Access permissions · Protection-domain association · Memory keys · DMA mappings

Illustrative memory region and example keys. Actual key values, address representations, page sizes and translation mechanisms depend on the platform and RDMA implementation.
MEMORY REGION

Registered Address Range

Describes memory accessible to the adapter under the configured registration and access permissions.

LOCAL VALIDATION

Local Key

Associates a local scatter/gather buffer reference with the appropriate registered memory resources.

REMOTE VALIDATION

Remote Key

Participates in validating remote access together with the address, region bounds, permissions and relevant communication resources.

Memory registration has a cost.

Registration and deregistration can consume processing time and device resources. High-performance storage applications commonly reuse registered buffer pools rather than registering every individual I/O buffer from scratch.

04.4 · Hardware Access Boundaries

Protection domains and memory permissions

Protection domains associate RDMA resources with a logical access boundary. Queue pairs, memory regions and other relevant resources are associated with protection domains to enforce compatible resource usage.

RDMA · PROTECTION DOMAIN ISOLATION RESOURCE VALIDATION
PROTECTION DOMAIN A PROTECTION DOMAIN B QUEUE PAIR A QUEUE PAIR B MEMORY REGION A PD A · LOCAL KEY A MEMORY REGION B PD B · LOCAL KEY B Incompatible local resource association rejected
Conceptual protection-domain enforcement. The diagram illustrates an invalid local resource association, not a universal rule preventing all communication between different protection domains or different hosts.
Permission Purpose Engineering consideration
Local Write Allows relevant local device writes Required for certain destination buffers
Remote Write Allows authorised remote RDMA Write Expose only required writable memory
Remote Read Allows authorised remote RDMA Read Restrict exposure of sensitive buffers
Remote Atomic Allows supported remote atomic operations Depends on transport and device capabilities
Remote keys are not cryptographic authentication.

RDMA memory keys participate in hardware access validation. They must not be treated as a replacement for authenticated endpoints, secure control-plane communication, network segmentation or appropriate tenant isolation.

04.5 · One-Sided Communication

RDMA Write — transferring data into remote memory

An RDMA Write operation allows an initiating adapter to transfer data from a local buffer into an authorised remote memory region. The remote application does not need to post a matching Receive Work Request for an ordinary RDMA Write.

RDMA WRITE · INITIATOR TO REMOTE MEMORY ONE-SIDED OPERATION
INITIATOR REMOTE HOST LOCAL SOURCE REGISTERED BUFFER REMOTE DESTINATION REGISTERED BUFFER LOCAL RNIC SEND QUEUE REMOTE RNIC DMA ENGINE RDMA WRITE PAYLOAD Remote address · rkey · data Remote adapter validates and places the payload
Logical RDMA Write operation. The remote adapter validates the applicable access information and places the payload into the authorised destination buffer.
STAGE 01 · BUFFER PREPARATION Prepare the local source buffer

The initiating application prepares data in memory accessible to its RDMA adapter.

STAGE 02 · WORK SUBMISSION Post an RDMA Write Work Request

The request references the local buffer, transfer length, remote address and rkey.

STAGE 03 · TRANSPORT Transmit the storage payload

The local adapter processes the operation and transports the payload using the configured communication service.

STAGE 04 · REMOTE PLACEMENT Validate and write remote memory

The remote adapter validates access and places the data into the destination region.

STAGE 05 · COMPLETION Report operation completion

The initiator processes completion information according to the transport and signalling configuration.

Remote placement is not application consumption.

A successful RDMA Write completion does not necessarily indicate that the remote application has processed the data, that a GPU kernel can safely consume it without required synchronisation, or that the data has reached persistent storage.

04.6 · Remote Memory Retrieval

RDMA Read — retrieving data from remote memory

RDMA Read allows an initiator to retrieve data from an authorised remote memory region and place the returned payload into a local destination buffer.

RDMA READ · REMOTE MEMORY RETRIEVAL ONE-SIDED OPERATION
LOCAL DESTINATION REGISTERED MEMORY REMOTE SOURCE REGISTERED MEMORY INITIATOR RNIC READ REQUEST REMOTE RNIC READ RESPONSE 1 · READ REQUEST 2 · READ RESPONSE PAYLOAD Remote source → local destination
The initiating adapter sends an RDMA Read request. The remote adapter retrieves the authorised source data and returns the payload. The initiating adapter places the response into its local destination buffer.
RDMA WRITE

Push Model

The initiator pushes data into an authorised remote destination buffer.

RDMA READ

Pull Model

The initiator retrieves data from an authorised remote source buffer.

04.7 · Two-Sided Communication

Send, Receive and remote atomic operations

RDMA communication is not limited to one-sided memory operations. Send and Receive provide message-oriented communication in which the receiving side prepares a buffer for incoming messages.

SEND / RECEIVE · POSTED BUFFER MODEL TWO-SIDED COMMUNICATION
SENDER RECEIVER SEND WQE RECEIVE WQE SOURCE BUFFER POSTED BUFFER SEND MESSAGE Receiver-selected buffer Matching receive resources are required
Send/Receive differs from ordinary one-sided RDMA Read and Write. The receiver supplies the destination buffer through a posted receive operation.
Operation Data direction Remote Receive WQE Typical role
RDMA Write Local to remote Not required for ordinary Write Direct payload placement
RDMA Read Remote to local Not required Remote payload retrieval
Send / Receive Sender to receiver Required Messages and protocol capsules
Write with Immediate Local to remote Required for notification Payload placement with receive completion
Compare and Swap Remote atomic access Not required Supported synchronisation operations
Fetch and Add Remote atomic access Not required Supported counter operations
Operation support depends on the transport service.

Not every queue pair type or RDMA transport supports every operation. Reliable Connected, Unreliable Datagram and other communication services have different capabilities and delivery semantics.

04.8 · RDMA Network Transports

InfiniBand, RoCEv2 and iWARP

RDMA describes a communication and memory-access model rather than one universal network protocol. Several network architectures implement RDMA capabilities using different transport mechanisms.

RDMA · TRANSPORT STACK COMPARISON NETWORK ARCHITECTURE
InfiniBand
Application / Verbs
InfiniBand Transport
IB Network / Link
InfiniBand Physical Fabric

Dedicated high-performance fabric with native RDMA capabilities, credit-based flow control and subnet management.

RoCEv2
Application / Verbs
IB Transport Semantics
UDP
IP
Ethernet

Routable RDMA over Ethernet using UDP/IP encapsulation of the applicable InfiniBand transport structures.

iWARP
Application / Verbs
RDMAP / DDP
MPA
TCP / IP
Ethernet or IP Network

RDMA architecture using reliable TCP transport together with direct data placement and RDMA protocol layers.

Simplified protocol stacks. The shared verbs-level programming model does not imply identical wire formats, congestion behaviour or transport capabilities.
Characteristic InfiniBand RoCEv2 iWARP
Infrastructure InfiniBand fabric Ethernet/IP fabric TCP/IP network
Transport model Native IB transport IB transport over UDP/IP RDMAP/DDP over TCP
Network management Subnet manager and fabric services Ethernet/IP control plane Ethernet/IP control plane
Congestion engineering Fabric flow and congestion control ECN, rate control and optional PFC TCP congestion and recovery mechanisms
Hardware Supported HCA Supported RoCE RNIC Supported iWARP RNIC
04.9 · Packet Architecture

Understanding RoCEv2 packet encapsulation

RoCEv2 carries applicable InfiniBand transport structures inside UDP/IP packets. This enables RDMA communication across supported routed Ethernet infrastructure.

ROCEv2 · RDMA WRITE FIRST PACKET PROTOCOL CUTAWAY
ETH Ethernet header
IP IPv4 / IPv6
UDP Destination 4791
BTH Base Transport Header
RETH RDMA Extended Header
PAYLOAD Storage or application data
ICRC Invariant CRC
FCS Ethernet integrity
BASE TRANSPORT HEADER

BTH

Opcode · Destination QP · Packet Sequence Number · Partition Key · Applicable transport control fields

RDMA EXTENDED TRANSPORT HEADER

RETH

Remote virtual address · Remote key · DMA length

Simplified RoCEv2 RDMA Write First packet. RETH presence depends on the opcode and packet position within the operation. Optional VLAN headers, padding and other opcode-specific fields are omitted. Field widths are not drawn to scale.

The destination Queue Pair Number identifies the relevant communication resource. Packet Sequence Numbers support transport sequencing and reliability mechanisms where applicable.

RoCEv2 uses UDP encapsulation, but reliable connected RDMA services implement their own transport reliability mechanisms. UDP does not imply that every RoCEv2 operation is unreliable.

RDMA operation boundaries differ from packet boundaries.

A large RDMA operation can be segmented into multiple network packets. The first, middle and last packets can carry different transport headers according to the operation and transport specification.

04.10 · Fabric Congestion Engineering

ECN, congestion notification and Priority Flow Control

High-performance storage traffic can generate substantial bursts, particularly when many GPU workers simultaneously request training data or write model checkpoints.

Ethernet-based RDMA fabrics must manage queue occupancy, packet loss, congestion feedback and sender transmission rates according to the selected network design.

ROCEv2 · MANY-TO-ONE STORAGE CONGESTION CONGESTION FEEDBACK
SENDER 01 SENDER 02 SENDER 03 RDMA TRAFFIC RDMA TRAFFIC RDMA TRAFFIC ETHERNET SWITCH EGRESS QUEUE PRESSURE ECN MARKING RECEIVER CONGESTION NOTIFICATION CE MARKED CONGESTION NOTIFICATION PACKET · CNP Sender reduces transmission rate according to its algorithm
Simplified RoCEv2 congestion feedback. A switch marks eligible packets with ECN congestion information. A receiving adapter can generate congestion notification packets toward the relevant sender. The dashed path is logical feedback, not necessarily a separate physical network.
CONGESTION SIGNAL

Explicit Congestion Notification

ECN allows network devices to signal congestion by marking eligible IP packets rather than relying exclusively on drops.

RECEIVER FEEDBACK

Congestion Notification Packet

A RoCE receiver can generate CNPs in response to congestion indications, enabling the relevant sender to react.

SENDER RESPONSE

Rate Control

Algorithms such as DCQCN use congestion feedback to adjust transmission rates. Actual algorithms depend on the adapter and fabric implementation.

Priority Flow Control operates at a different layer.

Priority Flow Control, or PFC, allows a device to request that an adjacent Ethernet peer temporarily pause transmission for selected traffic priorities.

PFC · HOP-BY-HOP PRIORITY PAUSE LINK-LEVEL FLOW CONTROL
UPSTREAM DEVICE DOWNSTREAM SWITCH RDMA PRIORITY OTHER PRIORITY QUEUE CONGESTED OTHER PRIORITY PFC PAUSE FRAME Selected priority paused · other priorities may continue
PFC is hop-by-hop Ethernet flow control. ECN and congestion notification provide congestion feedback across the communication path. Their purposes and operational scopes are different.
Lossless Ethernet is an engineering design objective.

PFC can reduce congestion-related packet drops for selected priorities, but poor configuration can cause congestion spreading, head-of-line blocking and deadlock conditions. Supported RoCE deployments may also use carefully engineered lossy or PFC-free designs.

04.11 · Native High-Performance Fabrics

InfiniBand architecture for AI storage

InfiniBand provides native RDMA communication through a dedicated high-performance fabric architecture. It is widely used in HPC and large-scale AI environments.

ENDPOINT

Host Channel Adapter

Provides communication resources, transport processing and memory-access capabilities for supported InfiniBand operations.

CONTROL PLANE

Subnet Manager

Discovers fabric topology, assigns relevant addressing information and configures forwarding behaviour within the subnet.

FLOW CONTROL

Credit-Based Transmission

Uses link-level credits to manage available receive buffering and regulate transmission across supported virtual lanes.

INFINIBAND · GPU STORAGE FABRIC NATIVE RDMA
SUBNET MANAGER FABRIC CONTROL IB SWITCH A IB SWITCH B GPU HOST 01 GPU HOST 02 STORAGE 01 STORAGE 02 HCA HCA HCA HCA Illustrative fabric · control and data paths
Conceptual InfiniBand fabric with compute and storage endpoints. The subnet manager is a logical management function and can run on supported fabric infrastructure rather than a dedicated external appliance.

Credit-based flow control helps prevent transmission into unavailable downstream buffers. It does not eliminate congestion, oversubscription, traffic imbalance or the need for careful fabric capacity planning.

04.12 · Storage Protocol Integration

How NVMe/RDMA uses the RDMA operation model

NVMe/RDMA combines NVMe command semantics with RDMA transport capabilities. Command capsules, response capsules and payload transfers use the relevant communication mechanisms defined by the transport.

NVMe/RDMA · REMOTE READ AND WRITE SEQUENCES STORAGE DATA MOVEMENT
NVMe HOST NVMe TARGET NVMe READ READ COMMAND CAPSULE TARGET RDMA WRITE · DATA TO HOST NVMe COMPLETION NVMe WRITE WRITE COMMAND CAPSULE TARGET RDMA READ REQUEST RDMA READ RESPONSE · DATA TO TARGET NVMe COMPLETION Simplified conventional out-of-capsule transfers
NVMe operation names and RDMA operation names describe different architectural layers. An NVMe Read commonly uses a target-initiated RDMA Write, while an out-of-capsule NVMe Write can use a target-initiated RDMA Read. Supported in-capsule data transfers follow a different path.
Storage direction and RDMA direction are not the same.

Always identify which endpoint initiates the RDMA operation and which memory region contains the source or destination. The NVMe command describes the storage operation from the host's perspective.

04.13 · GPU Memory Connectivity

From host-memory RDMA to GPUDirect RDMA

Conventional RDMA commonly transfers data between registered host-memory buffers. NVIDIA GPUDirect RDMA extends supported peer-device access to GPU memory, allowing compatible network adapters to transfer data directly to or from GPU buffers.

GPU SERVER · PCIe PEER-TO-PEER ARCHITECTURE DIRECT GPU MEMORY PATH
CPU / PCIe ROOT COMPLEX CONTROL AND RESOURCE MANAGEMENT HOST DRAM STAGING BUFFER PCIe SWITCH PEER CONNECTIVITY GPU PROCESSOR HBM HBM HBM HBM RNIC DMA ENGINE NETWORK 0 NETWORK 1 PEER DMA PATH Green: direct peer path · Gold: conceptual staging path
Example GPU and RNIC sharing suitable PCIe connectivity. Direct peer transfers depend on hardware, drivers, memory-export mechanisms, PCIe topology, ACS/IOMMU configuration and platform support. The illustrated topology does not guarantee GPUDirect RDMA compatibility.
NETWORK-TO-GPU

GPUDirect RDMA

Allows supported third-party devices, such as network adapters, to perform peer memory transfers involving GPU memory.

STORAGE-TO-GPU

GPUDirect Storage

Provides a supported storage I/O architecture for transferring data between storage and GPU memory while reducing unnecessary CPU-memory staging.

GPUDirect RDMA and GPUDirect Storage are related, but distinct.

GPUDirect RDMA provides a peer-memory access capability. GPUDirect Storage integrates supported storage software, APIs and data paths. Remote storage implementations may use GPUDirect RDMA as part of a larger GPUDirect Storage architecture.

04.14 · Performance Engineering

Bandwidth, outstanding operations and queue depth

Achieving high RDMA throughput requires sufficient outstanding work to keep the network and memory-transfer resources busy. Small operations, insufficient concurrency, completion-processing overhead and resource limits can prevent full utilisation.

BANDWIDTH-DELAY PRODUCT BDP = Bandwidth × Round-Trip Time Use bytes per second and seconds to calculate the corresponding in-flight byte volume.
Example link 400G Nominal bit rate
Byte rate 50 GB/s before overhead
Example RTT 10 μs Hypothetical round trip
In-flight volume 500 kB theoretical BDP
ILLUSTRATIVE OUTSTANDING WORK ESTIMATE Outstanding operations ≈ BDP ÷ Operation size At 500,000 bytes and 4 KiB per operation, approximately 123 outstanding operations represent the calculated BDP.
CONCURRENCY · PIPELINE UTILISATION CONCEPTUAL MODEL
INSUFFICIENT OUTSTANDING WORK WQE WQE WQE Idle intervals can limit achieved throughput. PIPELINED OUTSTANDING WORK WQE WQE WQE WQE WQE WQE WQE WQE
Conceptual pipeline occupancy, not measured utilisation. Actual concurrency requirements depend on operation completion latency, transport overhead, adapter limits, workload behaviour and storage processing time.
SUBMISSION EFFICIENCY

Doorbell Batching

Submit multiple work requests while reducing unnecessary device notification overhead where supported.

COMPLETION EFFICIENCY

Selective Signalling

Reduce successful send-completion overhead while correctly managing outstanding resources and error handling.

MEMORY EFFICIENCY

Registered Buffer Pools

Reuse appropriately registered memory resources to reduce repeated registration and mapping costs.

More queue depth is not always better.

Excessive outstanding work can increase queueing delay, resource consumption and congestion. The objective is sufficient concurrency for the required throughput while maintaining acceptable tail latency.

04.15 · Production Troubleshooting

Investigating RDMA performance and connectivity

RDMA troubleshooting requires visibility into communication resources, network adapters, memory registration, transport behaviour, switch congestion and application-level storage performance.

LINUX ENGINEERING TERMINAL RDMA DIAGNOSTICS
# Discover available RDMA devices
ibv_devices
ibv_devinfo

# Inspect RDMA links and device associations
rdma link show
rdma dev show

# Inspect available queue-pair resources
rdma resource show qp

# Inspect completion queue resources
rdma resource show cq

# Inspect memory region resources
rdma resource show mr

# Review available RDMA statistics
rdma statistic show

# Inspect Ethernet interface counters
ip -s link
ethtool -S eth0

# Inspect available PFC configuration
dcb pfc show dev eth0

# Inspect InfiniBand port status
ibstat

# Inspect GPU / NIC / CPU topology
nvidia-smi topo -m

# Review kernel messages
journalctl -k | grep -Ei 'rdma|mlx5|infiniband|nvme'

# Controlled RDMA Write bandwidth test
# Run only on authorised test endpoints

# Server:
ib_write_bw -d mlx5_0

# Client: replace documentation address
ib_write_bw -d mlx5_0 192.0.2.20
Example Linux RDMA diagnostics and perftest commands. Device names, port selection, GID configuration and connection parameters must match the actual fabric. Bandwidth tests generate traffic and should be performed in an authorised, controlled environment.
Observed condition Possible cause Engineering investigation
RDMA device unavailable Driver, firmware or device configuration Device enumeration, kernel logs and adapter capabilities
QP connection failure Addressing, GID, routing or resource mismatch Connection-manager events and QP state
Local protection error Invalid buffer, lkey or local access permissions Memory registration and work-request parameters
Remote access error Invalid rkey, address, bounds or permissions Remote region configuration and access rights
Receiver Not Ready Missing receive resources for applicable operations Receive queue occupancy and replenishment
Transport retry exhaustion Loss, unreachable peer or transport disruption Fabric counters, QP configuration and peer state
Excessive CNP activity Persistent congestion ECN marking, queue occupancy and sender rate control
High PFC pause duration Congestion spreading or downstream pressure Priority configuration, buffering and traffic patterns
Low bandwidth without network loss Insufficient concurrency or PCIe bottleneck Queue depth, operation size and PCIe topology
Host RDMA works but GPU access fails Unsupported GPU peer-memory path GPU/NIC compatibility, memory export and topology
Network benchmarks are not storage benchmarks.

A successful RDMA bandwidth test demonstrates performance for a particular communication workload. It does not prove that the NVMe target, filesystem, data loader or GPU storage pipeline can sustain the same rate.

Engineering Takeaways

RDMA transforms the network adapter into a memory-transfer execution engine.

High-performance AI storage depends on more than network bandwidth. RDMA introduces a communication architecture built around registered memory, asynchronous operations, hardware execution, access validation and carefully engineered network fabrics.

  • RDMA can reduce unnecessary CPU processing and memory copies during payload transfers.
  • Queue pairs provide communication resources for submitting send and receive work.
  • Work requests are represented through implementation-specific work queue elements.
  • Completion queues report applicable operation completion and error information.
  • Memory registration establishes adapter-accessible memory resources and associated access information.
  • Protection domains, memory keys and permissions participate in hardware access validation.
  • RDMA Write pushes data into remote memory, while RDMA Read retrieves remote data.
  • Send/Receive uses receiver-posted destination buffers for message-oriented communication.
  • InfiniBand, RoCEv2 and iWARP provide different underlying RDMA transport architectures.
  • ECN, congestion notification and PFC address different aspects of fabric congestion.
  • NVMe/RDMA maps storage commands and payload transfers onto RDMA communication mechanisms.
  • GPUDirect RDMA extends supported peer-memory transfers to GPU memory.
  • GPUDirect Storage integrates these capabilities into supported storage I/O data paths.
  • Performance depends on concurrency, memory registration, adapter resources, PCIe topology, congestion and storage backend behaviour.
Continue the Engineering Journey

Removing unnecessary CPU-memory staging

RDMA provides the memory-transfer foundations required by many high-performance remote storage architectures. The next engineering challenge is connecting these capabilities directly to GPU memory.

The next section examines NVIDIA GPUDirect Storage, the cuFile API, supported filesystem and storage integrations, PCIe peer-to-peer transfers, GPU buffer registration, compatibility paths, direct I/O requirements and end-to-end storage-to-GPU data movement.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 04

GPUDirect Storage.
From Storage to GPU Memory.

Explore how NVIDIA GPUDirect Storage changes the storage data path. Investigate cuFile orchestration, DMA transactions, PCIe peer-to-peer connectivity, GPU memory registration and the elimination of unnecessary host-memory payload staging.

TITANIUM DIRECT MEMORY EDITION
AI COMPUTE NODE / STORAGE DATA PATH CONVENTIONAL PATH READY
GPU ACCELERATED STORAGE PLATFORM AI APPLICATION / cuFile API FILE I/O REQUESTS / GPU BUFFER MANAGEMENT CPU I/O ORCHESTRATION CONTROL PLANE ACTIVE HOST DRAM PAYLOAD STAGING ACTIVE HBM HBM HBM HBM GPU COMPUTE ENGINE HOST-STAGED PAYLOAD PCIe FABRIC / ROOT COMPLEX HOST-MEDIATED DATA PATH DATA 01 DATA 02 DATA 03 DATA 04 NVMe STORAGE LOCAL DMA SOURCE CPU CONTROL / METADATA EFFECTIVE PAYLOAD PATH HOST STAGING DRAM TRAFFIC: 2× PAYLOAD SIMPLIFIED LOGICAL STORAGE AND DMA ARCHITECTURE
Host-staged payload Direct GPU DMA CPU control plane Compatibility fallback Unsupported direct path
Interactive hardware inspection
GPU and HBM

Payload throughput
0
GB/s modelled capacity
Transfer duration
0
Seconds / selected dataset
Host DRAM traffic
0
GB of staged payload traffic
GPU data supply
0%
Potential demand satisfied

Storage Data Path Engineering

GPUDirect Storage Compatibility Lab

Configure the requirements of this simplified direct-DMA architecture.

GPU data demand satisfied 0%
Host DRAM payload bandwidth used 0%
Illustrative CPU I/O overhead index 0%
Evaluating storage data path.

Direct Memory Access Path Inspector

Requested I/O mode
CONVENTIONAL
Effective I/O mode
HOST STAGING
Direct-path eligibility
ELIGIBLE
Payload memory destination
HOST DRAM → GPU
CPU orchestration
ACTIVE IN BOTH MODES
Host-memory payload amplification
2.00×

Conventional vs GPUDirect Storage

Compare both requested modes using the same storage capacity, dataset and workload configuration.

Engineering metric Conventional GDS requested
Effective data path Host staging Direct DMA
Payload throughput — —
Dataset transfer duration — —
Host DRAM payload traffic — —
GPU demand satisfied — —
Relative transfer speed 1.00× —

cuFile Application Programming Model

Inspect the conceptual application sequence used to prepare storage resources, register a GPU buffer and request a file read into device memory.

Illustrative pseudocode only. Production applications require valid CUDA context management, file descriptors, cuFile descriptors, error handling, alignment checks, resource cleanup and platform-specific configuration. Explicit buffer registration is not mandatory for every supported cuFile operation.

Storage-to-GPU Execution Journey

GPUDIRECT STORAGE EVENT CONSOLE / SIMULATED EXECUTION
Engineering discovery lab

Eliminate the host-memory storage bottleneck.

An AI workload requires 28 GB/s of storage data. The storage subsystem can deliver 32 GB/s, but available host DRAM bandwidth is limited to 48 GB/s. Conventional staging consumes two bytes of host DRAM traffic for every payload byte transferred.

Enable GPUDirect Storage, investigate the injected PCIe topology fault, restore direct-path compatibility and complete a successful direct READ into GPU memory. Do not increase the existing hardware bandwidth.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

Educational GPUDirect Storage model. Conventional staging assumes one host-memory payload write and one subsequent payload read. Direct DMA assumes zero host-DRAM payload staging, while CPU orchestration, metadata and other memory traffic remain present.

The PCIe capacity control represents an effective end-to-end payload ceiling rather than the sum of physical PCIe lane bandwidths. Actual topology, contention, transaction overhead and transfer direction affect performance.

Compatibility checks are simplified educational abstractions, not an authoritative NVIDIA support matrix. Actual GDS operation depends on the CUDA release, drivers, filesystem, storage integration, GPU platform, topology and configuration.

The CPU overhead indicator is an illustrative relative index, not measured CPU utilisation. GPU data supply represents potential storage throughput relative to workload demand, not measured GPU compute utilisation. Animation timing is independent of modelled transfer time.

NETWORK INSIGHT
Section 05 · Accelerated GPU Storage Infrastructure

NVIDIA GPUDirect Storage Engineering the Direct-to-Silicon Data Path

Modern GPUs can execute enormous volumes of mathematical operations in parallel. However, computational capability alone does not determine application performance. Data must reach GPU memory quickly enough to keep the processing resources productive.

NVIDIA GPUDirect Storage introduces a storage architecture designed to reduce unnecessary CPU-memory staging and enable supported direct DMA transfers between storage infrastructure and GPU memory.

GPUDIRECT STORAGE · HARDWARE ARCHITECTURE
ACCELERATED AI COMPUTE NODE CPU I/O CONTROL SYSTEM DRAM RNIC DMA ENGINE REMOTE STORAGE PATH PCIe SWITCH FABRIC PEER-TO-PEER CONNECTIVITY NVMe 01 NVMe 02 NVMe 03 GPU COMPUTE DIE HBM HBM HBM HBM DIRECT PEER DMA STORAGE · PCIe FABRIC · GPU MEMORY Green: local payload path Cyan: remote payload path Gold: control / host resources
Conceptual GPUDirect Storage hardware architecture. Supported local NVMe devices or remote storage adapters can participate in DMA transfers involving GPU memory. The CPU remains responsible for application execution, I/O submission, resource management and other control-plane activities. Actual data paths depend on the platform and storage implementation.
Application interface cuFile GPU-aware storage I/O
Data movement DMA Hardware-assisted transfer
Connectivity PCIe Supported peer access
Destination HBM GPU memory on supported devices
05.1 · Traditional Storage Architecture

The CPU-memory staging problem

In a conventional GPU application, data read from storage is frequently placed into system memory before being transferred into GPU memory. This creates an intermediate staging operation between persistent storage and the GPU.

Although both storage and GPU transfers may use DMA engines, the intermediate host-memory buffer consumes memory bandwidth, requires additional coordination and can introduce latency into the application pipeline.

TRADITIONAL I/O · HOST MEMORY STAGING CONCEPTUAL DATA PATH
NVMe STORAGE SYSTEM DRAM GPU MEMORY STAGING BUFFER INTERMEDIATE DATA GPU BUFFER DMA 1 DMA 2 CPU / I/O SOFTWARE SUBMISSION AND COORDINATION TWO PAYLOAD MOVEMENT STAGES Storage → Host memory → GPU memory
A simplified staged GPU I/O architecture. Intermediate buffering can be useful for caching, transformation and compatibility, but it can also introduce unnecessary data movement when the application requires the original payload directly in GPU memory.
MEMORY BANDWIDTH

Intermediate Buffer Traffic

System memory receives the storage payload and subsequently supplies data for transfer into GPU memory.

PIPELINE COORDINATION

Additional Transfer Stage

The application must coordinate storage completion with subsequent GPU transfer and execution dependencies.

RESOURCE PRESSURE

GPU Starvation

If the data-loading pipeline cannot keep pace with GPU computation, expensive accelerator resources can remain idle.

CPU staging does not necessarily mean CPU copying.

Conventional storage and CUDA transfers can already use DMA. The architectural distinction is whether payload data must pass through an intermediate system-memory buffer, not whether the CPU physically copies every byte.

05.2 · Direct Storage Architecture

Moving storage payloads directly into GPU memory

GPUDirect Storage provides a GPU-aware storage I/O model in which supported storage devices or network adapters can access GPU memory through an appropriate DMA path.

The objective is to avoid unnecessary payload staging in system memory while retaining the operating-system, filesystem and application mechanisms required to manage storage I/O.

GDS · CONTROL PLANE AND DATA PLANE DIRECT MEMORY PATH
CPU APPLICATION cuFile · I/O SUBMISSION NVMe SSD PCIe FABRIC GPU MEMORY STORAGE DMA PEER ROUTING DESTINATION BUFFER DIRECT STORAGE PAYLOAD PATH CPU control remains · intermediate host staging reduced
Gold represents logical control and resource management. Green represents a supported direct payload path. GPUDirect Storage does not eliminate the CPU, filesystem, kernel drivers or application synchronisation.
PAYLOAD PATH

Direct DMA

Supported devices can transfer storage payloads to or from GPU memory without an intermediate host-memory payload buffer.

CONTROL PATH

CPU-Orchestrated I/O

The CPU continues to manage application logic, file operations, I/O requests, resource allocation and completion handling.

05.3 · Software Architecture

The GPUDirect Storage software stack

GDS integrates application-level GPU-aware file I/O with supported storage software, operating-system facilities, GPU drivers and storage-device capabilities.

GPUDIRECT STORAGE · SOFTWARE STACK LAYERED ARCHITECTURE
AI / HPC Application Training framework · Data loader · Checkpoint engine · Scientific application
↓
cuFile API / libcufile File registration · GPU buffer handling · Read and write submission
↓
Supported Filesystem / Storage Integration File mapping · Storage requests · Supported direct I/O mechanisms
↓
GPU / GDS Kernel Components Memory mapping and supported peer-access coordination
Storage / Network Drivers NVMe · RDMA · Supported storage transport implementations
↓
Hardware Data Path Storage device or RNIC · PCIe connectivity · GPU memory
Logical software architecture rather than a universal kernel call graph. Depending on the CUDA/GDS release and storage path, implementations may use nvidia-fs, DMA-BUF-based mechanisms or other supported integration components.
APPLICATION INTERFACE

cuFile

Provides GPU-aware file I/O functions for applications and compatible storage integration libraries.

KERNEL INTEGRATION

GPU Memory Coordination

Supported kernel and driver mechanisms establish the memory-access resources required for storage-related DMA.

STORAGE INTEGRATION

Filesystem and Device Support

The storage implementation must support the required direct I/O and GPU-memory access mechanisms.

05.4 · Application Programming Interface

Understanding the cuFile API

The cuFile API enables applications to describe file I/O operations involving GPU buffers. Applications can register file handles, optionally register GPU memory buffers and submit reads or writes using the supported interfaces.

API function Purpose Architectural role
cuFileDriverOpen Initialise cuFile driver resources Library and driver lifecycle
cuFileHandleRegister Register a supported file descriptor Associate file I/O resources
cuFileBufRegister Register a GPU buffer Prepare reusable memory-access resources
cuFileRead Read file data into a GPU buffer Storage-to-GPU I/O
cuFileWrite Write GPU buffer data to a file GPU-to-storage I/O
cuFileReadAsync Submit supported asynchronous reads CUDA stream-integrated I/O
cuFileWriteAsync Submit supported asynchronous writes Asynchronous output and checkpointing
cuFileBufDeregister Release registered buffer resources Memory lifecycle management
cuFileHandleDeregister Release registered file resources File lifecycle management
cuFileDriverClose Release cuFile driver resources Library shutdown
CUFILE · APPLICATION I/O LIFECYCLE RESOURCE MANAGEMENT
Initialise Driver cuFileDriverOpen()
↓
Open and Register File open() · cuFileHandleRegister()
Allocate GPU Buffer cudaMalloc() · optional registration
↓
Submit Storage I/O cuFileRead() / cuFileWrite()
↓
Validate Completion Check status, transferred bytes and execution dependencies
↓
Release Resources Deregister resources · Free GPU memory · Close file and driver
Simplified synchronous I/O lifecycle. Production applications may reuse file and buffer registrations across many requests. Asynchronous and batch interfaces introduce additional submission and completion mechanisms.
Using cuFile does not prove that direct DMA occurred.

The library can select different I/O paths depending on compatibility, configuration, alignment and storage support. Validate the actual path using supported GDS diagnostics and application statistics.

05.5 · GPU Storage Programming

A storage-to-GPU read operation

Consider an application that needs to load a portion of a dataset into GPU memory. Rather than explicitly reading into a host buffer and then invoking a separate CUDA copy, the application can submit a cuFile read targeting a GPU allocation.

C++ / CUDA · CUFILE READ EXAMPLE EDUCATIONAL CODE
// Simplified teaching example.
// Error handling and cleanup paths must be
// implemented fully in production code.

#include <cuda_runtime.h>
#include <cufile.h>
#include <fcntl.h>
#include <unistd.h>

int main() {

    const size_t bytes = 4 * 1024 * 1024;

    void* gpuBuffer = nullptr;

    CUfileHandle_t fileHandle;
    CUfileDescr_t descriptor = {};

    // Initialise cuFile resources
    cuFileDriverOpen();

    // Allocate destination GPU memory
    cudaMalloc(&gpuBuffer, bytes);

    // Open a suitable dataset file
    int fd = open(
        "training-data.bin",
        O_RDONLY | O_DIRECT
    );

    // Register the file descriptor
    descriptor.handle.fd = fd;
    descriptor.type = CU_FILE_HANDLE_TYPE_OPAQUE_FD;

    cuFileHandleRegister(
        &fileHandle,
        &descriptor
    );

    // Optional explicit buffer registration
    cuFileBufRegister(
        gpuBuffer,
        bytes,
        0
    );

    // Read directly into the GPU allocation
    // when the direct path is supported
    ssize_t result = cuFileRead(
        fileHandle,
        gpuBuffer,
        bytes,
        0,  // File offset
        0   // GPU buffer offset
    );

    // Production code must check result,
    // short reads and every API return value.
    // GPU computation can consume valid data
    // after required completion dependencies.

    cuFileBufDeregister(gpuBuffer);
    cuFileHandleDeregister(fileHandle);

    close(fd);
    cudaFree(gpuBuffer);

    cuFileDriverClose();

    return result == (ssize_t)bytes ? 0 : 1;
}
Illustrative cuFile programming example, not production-ready software. It assumes a supported CUDA/GDS environment, suitable file and storage configuration, successful resource allocation and compatible alignment. All intermediate API results require validation.
FILE OFFSET

Storage Position

Identifies the starting byte position within the registered file.

BUFFER OFFSET

GPU Memory Position

Identifies the starting position within the supplied GPU allocation.

TRANSFER LENGTH

I/O Size

Determines the requested byte count. Alignment and size can influence direct-path eligibility and performance.

05.6 · GPU Memory Architecture

GPU buffer registration and memory mapping

A GPU virtual address is not automatically a universally accessible DMA address for every storage or network device.

Supported memory registration and mapping mechanisms establish the resources required for peer-device access. Explicit buffer registration can be useful when the same GPU allocation is reused across many storage operations.

GPU MEMORY · REGISTERED BUFFER CUTAWAY DMA RESOURCE MAPPING
ILLUSTRATIVE GPU VIRTUAL ALLOCATION

GPU Memory Buffer

Allocation size: 8 MiB
Registered subregion: 4 MiB
Registration offset: 2 MiB
0
1
2
3
4
5
6
7

Each block represents an illustrative 1 MiB segment, not a physical GPU page. The highlighted segments represent the registered subregion.

↓
GPU MEMORY RESOURCES

Buffer Registration

Establishes reusable memory-access resources for the supported GDS path.

DEVICE ACCESS

DMA Mapping

Associates accessible GPU memory with device-appropriate DMA addressing and mapping mechanisms.

↓
Supported Storage DMA Operation Transfer into or out of the selected GPU buffer range
Conceptual registration architecture. Actual GPU memory page sizes, mapping mechanisms and registration constraints depend on the GPU, driver and storage path.
Registration is a resource-management decision.

Explicitly registering every short-lived allocation can introduce overhead and consume mapping resources. Reusable registered buffers may be more appropriate for sustained high-throughput I/O pipelines.

05.7 · Hardware Connectivity

PCIe peer-to-peer DMA and topology locality

PCIe topology is a major consideration when designing GPU storage infrastructure. Two devices installed in the same server do not necessarily have an efficient or supported peer-to-peer communication path.

DUAL-SOCKET SERVER · GPU STORAGE LOCALITY PCIe TOPOLOGY
NUMA NODE 0 NUMA NODE 1 CPU 0 ROOT COMPLEX CPU 1 ROOT COMPLEX CPU INTERCONNECT PCIe SWITCH 0 PCIe SWITCH 1 NVMe 0 GPU 0 NVMe 1 GPU 1 Local peer paths may avoid cross-socket traffic
Conceptual NUMA-aware storage placement. Devices sharing appropriate PCIe connectivity can offer more favourable peer paths. Cross-root or cross-socket peer transfers may be inefficient or unsupported, depending on the platform.
PCIe SWITCH

Peer Connectivity

Suitable switch topology can allow device traffic to remain within a local PCIe hierarchy rather than traversing additional system interconnects.

NUMA LOCALITY

Resource Placement

GPU, NIC, storage and CPU placement influence memory-access paths and overall application performance.

PLATFORM POLICY

ACS and IOMMU

Access Control Services and IOMMU configuration can affect peer routing, address translation and device isolation.

Performance must not override device isolation.

Do not indiscriminately disable ACS or IOMMU protections to obtain peer-to-peer connectivity. Follow the validated platform configuration, vendor guidance and security requirements for the deployment.

05.8 · Local Storage Integration

Local NVMe-to-GPU data movement

Local NVMe storage can provide a relatively short storage-to-GPU data path when the filesystem, storage driver, GPU and PCIe topology support the required direct I/O mechanisms.

STAGE 01 · APPLICATION REQUEST Submit a cuFile read

The application identifies the file, file offset, transfer size and GPU buffer.

STAGE 02 · STORAGE MAPPING Resolve the file I/O operation

Supported filesystem and storage components resolve the required storage access and prepare the request.

STAGE 03 · DEVICE SUBMISSION Submit the NVMe command

The storage stack submits the appropriate command and device-accessible buffer information.

STAGE 04 · HARDWARE TRANSFER Move the payload through PCIe

The NVMe controller retrieves the requested data and transfers it through the supported DMA path.

STAGE 05 · GPU MEMORY Place data into the destination buffer

The storage payload reaches the appropriate GPU memory range when direct access is supported.

STAGE 06 · COMPLETION Report completed I/O

The application validates the result and observes the required GPU execution dependencies before consuming the data.

Local storage does not automatically imply a direct path.

A local NVMe device can still require compatibility processing or intermediate buffering if the filesystem, driver, alignment or peer-access configuration does not support the requested direct operation.

05.9 · Distributed Storage Integration

Remote RDMA storage-to-GPU architecture

Large AI clusters frequently use shared or distributed storage systems rather than relying exclusively on local SSD capacity. Supported remote GDS integrations can use RDMA-capable network adapters to deliver storage data into GPU memory.

REMOTE GDS · DISTRIBUTED STORAGE FABRIC NETWORK-TO-GPU DMA
STORAGE SERVER GPU COMPUTE NODE NVMe STORAGE 01 NVMe STORAGE 02 NVMe STORAGE 03 STORAGE SOFTWARE TARGET DATA PATH STORAGE RNIC COMPUTE RNIC GPU HBM HBM HBM HBM PCIe FABRIC RDMA FABRIC REMOTE STORAGE → RDMA FABRIC → GPU MEMORY
Conceptual remote GDS integration using an RDMA-capable storage network and supported GPU peer-memory access at the compute node. The storage server may still use host-memory buffering or other internal processing. Direct placement at the GPU does not imply a completely buffer-free end-to-end system.
STORAGE SERVER

Distributed Data Services

Resolve file requests, retrieve data and manage the storage system's internal data and metadata architecture.

NETWORK FABRIC

RDMA Transport

Provides hardware-assisted memory transfers across a supported high-performance network.

GPU COMPUTE NODE

Peer Memory Placement

A compatible RNIC and GPU memory path enable supported direct placement into the application's GPU buffer.

05.10 · I/O Path Selection

Direct mode, compatibility mode and intermediate buffering

GDS must operate across different filesystems, storage devices, drivers and GPU platforms. Not every I/O request can use the same hardware data path.

Depending on configuration and implementation, unsupported direct operations may use compatibility processing or fail when the required path is unavailable.

GDS · CONCEPTUAL I/O PATH DECISION PATH ELIGIBILITY
cuFile I/O REQUEST DIRECT PATH SUPPORTED AND ELIGIBLE? YES NO DIRECT DMA PATH Supported GPU placement ALTERNATIVE PATH Compatibility or error I/O RESULT
Simplified decision model, not the exact internal cuFile algorithm. Actual GDS implementations can use internal GPU buffers, dynamic routing, host staging and other mechanisms according to the request and configuration.
Path Payload behaviour Engineering consideration
Direct GPU DMA Supported direct access to GPU memory Requires eligible storage and hardware path
Internal GPU buffering Intermediate GPU-memory handling May address registration or alignment requirements
Compatibility processing May use conventional host-memory staging Maintains functionality where permitted
Dynamic routing May use an alternative supported GPU or device path Topology and implementation dependent
Unsupported operation I/O request fails Investigate configuration and support constraints
05.11 · Direct I/O Engineering

Alignment, transfer size and filesystem requirements

Storage systems and DMA engines operate according to alignment and addressing constraints. File offsets, GPU buffer offsets and transfer lengths can influence whether an operation qualifies for an efficient direct data path.

DIRECT I/O · ALIGNMENT COMPARISON BUFFER GEOMETRY
ALIGNED REQUEST FOUR COMPLETE BLOCKS Request begins and ends on illustrated boundaries. UNALIGNED REQUEST PARTIAL BLOCK BOUNDARIES Additional handling may be required.
Conceptual alignment illustration. Actual direct I/O constraints depend on the filesystem, storage device, operating system and GDS version. A 4 KiB alignment is common in many environments but is not a universal requirement for every path.
STORAGE POSITION

File Offset Alignment

Align file offsets according to the requirements of the supported storage and filesystem implementation.

MEMORY POSITION

GPU Buffer Alignment

Consider allocation alignment and offsets into GPU buffers when preparing storage operations.

TRANSFER GEOMETRY

I/O Size

Larger aligned requests can amortise submission overhead, but the optimal size depends on the application workload.

05.12 · GPU Execution Dependencies

Storage completion and GPU memory synchronisation

Direct storage access does not remove the need to coordinate data movement with GPU computation.

A GPU kernel must not consume a destination buffer before the required storage transfer and memory-visibility dependencies have been satisfied. Similarly, a storage write must not consume GPU output before the relevant GPU computation has completed.

GPU PIPELINE · I/O AND COMPUTE DEPENDENCIES EXECUTION ORDERING
STORAGE I/O GPU COMPUTE READ A READ B READ C COMPUTE A COMPUTE B COMPUTE C TIME → OVERLAPPED STORAGE I/O AND GPU COMPUTATION
Illustrative double-buffered pipeline. Storage reads for the next dataset segment overlap computation on the current segment. Buffer reuse requires completion of the previous consumer, and actual overlap depends on the supported I/O and execution mechanisms.
INPUT PIPELINE

Read Before Compute

Ensure storage I/O has completed and the GPU can safely observe the data before launching dependent computation.

OUTPUT PIPELINE

Compute Before Write

Ensure GPU-produced data is ready before submitting dependent storage writes or checkpoint operations.

GPU completion, I/O completion and durability are different.

A completed GPU kernel does not imply a completed storage write. A completed storage write does not necessarily imply persistence across a power failure. Checkpoint durability requires the appropriate filesystem and storage persistence guarantees.

05.13 · Performance Engineering

Quantifying the cost of intermediate data movement

Removing an intermediate host-memory buffer can reduce memory traffic and eliminate a separate payload-transfer stage. However, actual application improvement depends on which component limits the complete pipeline.

IDEALISED SERIAL TRANSFER MODEL Tstaged = D / Bstorage + D / BGPU copy D represents data size. The model assumes serial transfers without overlap.
Dataset 100 GB Illustrative workload
Storage rate 20 GB/s Assumed sustained rate
GPU copy rate 25 GB/s Assumed sustained rate
Serial staged time 9 s 5 seconds + 4 seconds
IDEALISED DIRECT TRANSFER MODEL Tdirect = D / Bdirect At an assumed direct-path rate of 20 GB/s, the same 100 GB transfer requires 5 seconds.
ILLUSTRATIVE TRANSFER TIME COMPARISON ANALYTICAL MODEL
Serial staged transfer 9.0 seconds
Idealised direct transfer 5.0 seconds
Ideal fully overlapped staged lower bound 5.0 seconds
Hypothetical calculations, not measured NVIDIA benchmark results. A sufficiently pipelined conventional implementation may overlap storage and GPU-copy stages. GDS performance benefits depend on actual throughput, concurrency, memory traffic and resource limits.

Host-memory traffic reduction

In the simplified staged model, a 100 GB payload is written into host memory and subsequently read for transfer to the GPU. This represents approximately 200 GB of logical intermediate host-memory payload traffic.

A fully direct storage-to-GPU path can avoid those intermediate payload accesses. Control structures, metadata and other application operations still generate system-memory traffic.

Faster storage does not guarantee faster training.

If the application is limited by GPU computation, CPU preprocessing, decompression, network collectives or metadata operations, improving the storage payload path may produce only a modest end-to-end benefit.

05.14 · Enterprise Storage Integration

Filesystems and storage architecture compatibility

GPUDirect Storage is not a replacement for a filesystem or distributed storage platform. It provides a GPU-aware I/O architecture that must integrate with supported storage implementations.

LOCAL BLOCK STORAGE

Local NVMe

Suitable local storage configurations can provide direct GPU I/O through supported filesystem and device paths.

REMOTE BLOCK STORAGE

NVMe over Fabrics

Supported NVMe-oF integrations can expose remote storage resources through high-performance storage transports.

DISTRIBUTED FILE STORAGE

Parallel Filesystems

Supported parallel filesystem integrations can distribute file access across multiple storage servers and network paths.

SHARED FILE SERVICES

Network Filesystems

Direct-path availability depends on the specific client, server, transport and GDS integration.

DATASET ACCESS

Application Libraries

GPU-aware data loaders and I/O libraries can integrate cuFile capabilities into larger application workflows.

SUPPORT VALIDATION

Version Compatibility

GPU driver, CUDA, kernel, filesystem, storage software and device versions must be evaluated together.

Protocol support is not the same as GDS support.

A filesystem or storage protocol may function correctly with ordinary I/O while lacking support for a particular direct GPU-memory path. Consult the applicable NVIDIA and storage-vendor compatibility documentation.

05.15 · Production Troubleshooting

Validating and troubleshooting GPUDirect Storage

Production troubleshooting should establish whether the expected GPU storage path is available, whether the application is actually using it and whether the complete storage pipeline meets its performance requirements.

LINUX ENGINEERING TERMINAL · GDS DIAGNOSTICS PLATFORM VALIDATION
# Inspect GPU devices and driver information
nvidia-smi

# Examine GPU, NIC and CPU topology
nvidia-smi topo -m

# Inspect PCIe device hierarchy
lspci -tv

# Inspect NUMA hardware resources
numactl --hardware

# Identify storage devices
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
nvme list

# Inspect filesystem backing a dataset
findmnt -T /data/training-data.bin

# Locate available GDS utilities
find /usr/local/cuda* -name gdscheck 2>/dev/null

# Example GDS platform validation command
# Installation paths vary by CUDA version
/usr/local/cuda/gds/tools/gdscheck -p

# Inspect nvidia-fs when applicable
lsmod | grep nvidia_fs

# Review available legacy nvidia-fs statistics
cat /proc/driver/nvidia-fs/stats

# Inspect available GDS benchmark options
/usr/local/cuda/gds/tools/gdsio -h

# Review storage utilisation and latency
iostat -x 1

# Observe GPU activity
nvidia-smi dmon

# Inspect kernel diagnostic messages
journalctl -k | grep -Ei 'nvidia|nvme|rdma|pcie'
Example diagnostic commands for Linux environments. Utility availability, installation paths, permissions and statistics interfaces vary by GDS release and platform. The absence of nvidia-fs alone does not prove that every modern GDS path is unavailable.
Observed condition Possible cause Engineering investigation
cuFile initialisation failure Driver or library compatibility issue Validate CUDA, GDS and GPU driver versions
File registration failure Unsupported file or storage configuration Inspect filesystem, descriptor and mount options
GPU buffer registration failure Invalid allocation or mapping resource limitation Inspect GPU allocation and registration constraints
Unexpected host-memory traffic Compatibility path or intermediate staging Review GDS statistics and path eligibility
Low direct I/O throughput Storage, PCIe or concurrency limitation Inspect device throughput and outstanding I/O
Remote storage slower than local storage Network or remote storage bottleneck Inspect RDMA, congestion and storage-server metrics
Uneven performance across GPUs PCIe topology or NUMA locality differences Compare GPU-to-NIC and GPU-to-storage paths
Small I/O performance degradation Submission and completion overhead Evaluate batching, request size and concurrency
Incorrect data consumed by GPU Incomplete I/O or synchronisation error Validate completion, byte counts and dependencies
GPU remains underutilised Application pipeline bottleneck Correlate storage, preprocessing and GPU execution
Checkpoint recovery failure Incomplete or insufficiently durable writes Validate persistence and checkpoint commit protocol
Benchmark the complete application pipeline.

A storage benchmark can demonstrate throughput for a selected I/O pattern, but it does not establish training performance. Correlate storage bandwidth, I/O latency, GPU utilisation, data-loader wait time and application step duration.

Engineering Takeaways

GPUDirect Storage is a data movement architecture, not simply a faster SSD.

GDS connects storage software, GPU memory management, DMA-capable devices and supported PCIe or network connectivity into a GPU-aware storage I/O architecture.

  • Traditional GPU storage pipelines frequently stage data through system memory.
  • GDS can eliminate unnecessary intermediate host-memory payload staging.
  • The CPU remains responsible for application execution and storage I/O coordination.
  • cuFile provides GPU-aware file I/O interfaces.
  • GPU buffer registration can establish reusable memory-access resources.
  • PCIe topology influences peer-to-peer connectivity and transfer performance.
  • NUMA locality can influence the complete GPU storage pipeline.
  • Local NVMe storage can provide supported direct storage-to-GPU data paths.
  • Remote storage integrations can use RDMA and supported GPU peer-memory access.
  • Compatibility processing may introduce intermediate host-memory staging.
  • Alignment and request geometry influence direct-path eligibility and efficiency.
  • GPU computation and storage operations require correct execution dependencies.
  • Storage completion does not automatically establish persistent checkpoint durability.
  • Direct-path availability must be validated using platform and application diagnostics.
  • The ultimate objective is improved application throughput and productive GPU utilisation.
Continue the Engineering Journey

Scaling storage beyond a single GPU server

GPUDirect Storage can optimise the final stages of data movement into GPU memory. However, large-scale AI training requires storage infrastructure capable of serving hundreds or thousands of accelerators concurrently.

The next section examines parallel filesystems, distributed storage servers, metadata services, file striping, storage namespaces, aggregate bandwidth, scale-out storage architecture and the integration of enterprise AI storage platforms with GPU clusters.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 05

RDMA Storage Networks.
Engineering the Data Movement.

Enter a high-performance AI storage network. Establish reliable connected queue pairs, register memory regions and investigate how RDMA-capable adapters move data across InfiniBand and RoCEv2 fabrics.

TITANIUM RDMA FABRIC EDITION
AI STORAGE / RDMA FABRIC DIGITAL TWIN QUEUE PAIR RESET
AI COMPUTE HOST RDMA STORAGE FABRIC REMOTE STORAGE HOST STORAGE APPLICATION VERBS / WORK REQUESTS STORAGE SERVICE RESOURCE ORCHESTRATION RELIABLE CONNECTED QP SEND QUEUE RECV QUEUE QP STATE: RESET REMOTE CONNECTED QP REMOTE ACCESS ENGINE ADDRESS / RKEY VALIDATION QP STATE: RESET RNIC RDMA OFFLOAD PORT RNIC DMA ENGINE PORT LOCAL MEMORY / UNREGISTERED REMOTE MEMORY / UNREGISTERED RoCEv2 SWITCH 200 Gbit/s EGRESS QUEUE BUFFER QUEUE PRESSURE: 0% NO CONGESTION SIGNAL LOCAL COMPLETION QUEUE CQE COUNT: 0 WORK COMPLETION STATUS FABRIC TELEMETRY 0.00 GB/s I/O LATENCY: — SESSION REQUIRED LOGICAL RDMA ARCHITECTURE / RELIABLE CONNECTED TRANSPORT
RDMA work requests / transport Payload data Registered memory / completion Congestion feedback Transport or protection error
Interactive RDMA hardware inspector
Queue Pair

Payload throughput
0
GB/s modelled capacity
End-to-end I/O latency
—
Microseconds / modelled
Estimated IOPS
0
Operations per second
GPU data supply
0%
Potential demand satisfied

RDMA Fabric Engineering Controls

Congestion and Flow Control Centre

Modelled egress queue pressure 0%
Available fabric capacity consumed 0%
GPU data demand satisfied 0%
Congestion feedback
INACTIVE
Flow control
INACTIVE
Retry pressure
LOW
Establish RDMA resources to begin.

RDMA Queue Pair State Machine

RESET
INIT
RTR
RTS
ERR
Local QP number
—
Remote QP number
—
Transport type
RELIABLE CONNECTED
Local memory key
UNREGISTERED
Remote memory key
UNREGISTERED
Remote access permissions
NOT CONFIGURED

Work Queue and Completion Queue Inspector

Send Queue / WQE visualisation
EMPTY
Completion Queue / CQE visualisation
NO COMPLETIONS
Work request identifier
—
RDMA opcode
—
Completion status
—

Eight visual queue slots represent a simplified work request and completion inspection model. The outstanding-I/O control is a separate aggregate concurrency parameter used for performance calculations.

RDMA Transport Encapsulation Inspector

RDMA Work Request Execution Journey

RDMA FABRIC EVENT CONSOLE / SIMULATED TELEMETRY
Engineering discovery lab

Recover a congested AI storage fabric.

A RoCEv2 storage network uses a 200 Gbit/s link, a 32 GB/s storage subsystem and a GPU workload requiring 20 GB/s of sustained data delivery.

Competing traffic has consumed 70% of the effective fabric capacity. ECN congestion feedback has been disabled, and an invalid remote memory key has been introduced.

Restore the remote memory key, configure ECN feedback, reduce competing traffic to 10% or less, establish the queue pair and complete a successful RDMA READ without increasing the physical link speed.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

Educational RDMA performance model. Link efficiency, queue pressure, latency penalties and retry effects are illustrative assumptions rather than measurements from production hardware.

RoCEv2 carries RDMA transport over UDP/IP. ECN marking and congestion notification can support sender rate adaptation. PFC provides per-priority link-level flow control but does not create bandwidth or independently resolve congestion.

InfiniBand uses native link-level credit-based flow control and can employ fabric congestion-control mechanisms. Ethernet PFC is not an InfiniBand feature.

RDMA READ and WRITE are one-sided operations. A successful ordinary RDMA WRITE does not inherently generate a remote application completion notification. Local work completions are modelled as signalled operations.

Registered memory in this diagram is generic memory. Direct GPU memory access requires additional platform support and compatible GPUDirect RDMA or storage integration. RDMA WRITE completion alone does not guarantee persistent storage durability.

NETWORK INSIGHT
Section 06 · Distributed AI Storage Infrastructure

Parallel Filesystems Engineering the Distributed Storage Federation

A single NVMe SSD can deliver substantial storage performance. However, a large AI training cluster may contain thousands of GPUs, hundreds of compute servers and datasets measured in petabytes.

Parallel filesystems and distributed storage platforms address this challenge by distributing data, metadata services and storage operations across multiple infrastructure components, enabling concurrent access and aggregate performance beyond the capabilities of an individual storage device.

AI DATA CENTRE · DISTRIBUTED STORAGE FEDERATION
GPU GPU GPU GPU STORAGE CLIENT / RNIC GPU COMPUTE CLUSTER COMPUTE 01 COMPUTE 02 COMPUTE 03 COMPUTE 04 STORAGE FABRIC A STORAGE FABRIC B METADATA SERVICES MDS 1 MDS 2 MDS 3 STORAGE NODE 01 STORAGE NODE 02 STORAGE NODE 03 STORAGE NODE 04
Conceptual scale-out AI storage architecture. Cyan represents storage payload traffic, violet represents metadata communication, and dashed blue links represent illustrative redundant connectivity. The exact placement of metadata services, storage clients and data services varies between storage platforms. Physical fabric redundancy also requires supported multipath or failover behaviour.
Capacity architecture PB+ Potential petabyte-scale datasets
Access architecture Parallel Concurrent storage operations
Expansion model Scale-out Additional storage resources
Client experience Shared Logical storage namespace
06.1 · Storage Scaling Fundamentals

Why AI infrastructure requires parallel storage

Traditional storage systems may rely on a relatively small number of controllers, network interfaces or centralised data paths. These resources can become bottlenecks as additional compute servers request data simultaneously.

Parallel storage architectures distribute work across multiple storage resources. Depending on the implementation, clients can access multiple data servers concurrently, increasing aggregate throughput and reducing reliance on individual storage components.

CENTRALISED VS PARALLEL STORAGE ARCHITECTURE COMPARISON
CENTRALISED STORAGE PARALLEL STORAGE CLIENT 1 CLIENT 2 CLIENT 3 CLIENT 1 CLIENT 2 CLIENT 3 SHARED CONTROLLER POTENTIAL BOTTLENECK STORAGE ARRAY HIGH-BANDWIDTH STORAGE FABRIC NODE 1 NODE 2 NODE 3
Simplified architectural comparison. Centralised storage systems can also employ multiple controllers and parallel internal operations. The distinction illustrated here is the ability to distribute client-facing storage work across independent resources.
AGGREGATE PERFORMANCE

Distributed Bandwidth

Multiple storage nodes can contribute bandwidth to a shared workload rather than requiring every request to traverse one data server.

CLIENT CONCURRENCY

Parallel Data Access

Independent GPU compute nodes can access different dataset regions or files simultaneously.

CAPACITY EXPANSION

Scale-Out Architecture

Additional storage resources can increase capacity and potentially improve aggregate performance.

06.2 · Distributed Filesystem Control Plane

Metadata services and storage namespaces

A filesystem must maintain information about files and directories independently of the actual file contents.

Metadata can include filenames, permissions, ownership, timestamps, file sizes, directory relationships and information describing where file data is stored.

FILESYSTEM · LOGICAL NAMESPACE AI DATASET ORGANISATION
/ai-storage
├── datasets
│   ├── language-model
│   │   ├── shard-00001.parquet
│   │   ├── shard-00002.parquet
│   │   └── shard-00003.parquet
│   └── vision-model
│       ├── images-00001.tar
│       └── images-00002.tar
├── models
│   ├── model-config.json
│   └── weights.safetensors
└── checkpoints
    ├── step-10000
    ├── step-20000
    └── step-30000
Illustrative shared AI filesystem namespace. Files appear within one logical directory hierarchy even when their physical data is distributed across multiple storage nodes.
METADATA PLANE AND DATA PLANE LOGICAL SERVICE SEPARATION
FILESYSTEM CLIENT GPU COMPUTE SERVER METADATA SERVICE Namespace and permissions File layout and mappings Coordination and locking METADATA REQUEST DISTRIBUTED DATA SERVICES DATA 01 DATA 02 DATA 03 PARALLEL DATA I/O NVMe 01 NVMe 02 NVMe 03 Logical separation does not require separate physical networks
A common parallel filesystem design separates metadata operations from bulk data access. Some implementations distribute or integrate these responsibilities differently. Metadata caching can also eliminate repeated requests for information already available to the client.
NAMESPACE MANAGEMENT

Directory Operations

Create, remove, rename and locate files within a shared filesystem hierarchy.

DATA LOCATION

File Layout

Maintain the information required to identify the storage resources containing file data.

COORDINATION

Consistency and Permissions

Coordinate concurrent operations, access permissions and filesystem consistency according to the platform's semantics.

Metadata performance is not measured only in GB/s.

A workload opening millions of small files may be constrained by metadata operations per second even when the storage network and NVMe devices have substantial unused bandwidth.

06.3 · Parallel Data Placement

File striping across storage targets

File striping distributes consecutive regions of a file across multiple storage targets. This can enable a sufficiently parallel client to read or write different file regions concurrently.

Stripe size determines the amount of data placed on a target before moving to another target. Stripe count describes the number of targets participating in a particular striped layout.

PARALLEL FILE LAYOUT · FOUR STORAGE TARGETS ROUND-ROBIN STRIPING
Logical file · 8 MiB · 1 MiB stripe size
S0
S1
S2
S3
S4
S5
S6
S7
TARGET 0
S0
S4
TARGET 1
S1
S5
TARGET 2
S2
S6
TARGET 3
S3
S7
Illustrative round-robin striping of an 8 MiB file across four targets using a 1 MiB stripe size. Actual placement algorithms and layout capabilities vary between filesystems.
SIMPLIFIED ROUND-ROBIN STRIPE MAPPING Target = floor(File Offset / Stripe Size) mod Stripe Count Applies to the illustrated fixed-width round-robin layout.
STRIPE SIZE

Data Distribution Granularity

Smaller stripes distribute data more frequently. Larger stripes can reduce the number of targets involved in smaller sequential requests.

STRIPE COUNT

Parallel Storage Resources

Increasing the number of participating targets can increase potential bandwidth for suitable large-file workloads.

WORKLOAD ALIGNMENT

Layout Selection

Select layouts according to file size, access patterns, concurrency and storage resource availability.

Striping is not replication.

Striping distributes different portions of data. Replication stores additional copies of data. A striped file without sufficient underlying protection can become unavailable when one participating storage target fails.

06.4 · Storage Infrastructure

Scale-out NVMe storage clusters

Distributed storage platforms combine multiple storage servers, NVMe devices, network interfaces and software services into a larger storage infrastructure.

Adding storage nodes can increase usable capacity, processing resources and aggregate bandwidth. However, scaling efficiency depends on the network fabric, data placement, metadata architecture and workload distribution.

TITANIUM STORAGE ARRAY · SCALE-OUT FEDERATION CONCEPTUAL NVMe STORAGE NODES
NODE 01
DATA SERVICE
NODE 02
DATA SERVICE
NODE 03
DATA SERVICE
NODE 04
DATA SERVICE
Stylised storage server federation. Each node contributes storage resources and potentially network and processing capacity. Animated indicators are decorative and do not represent measured device health.
IDEALISED STORAGE THROUGHPUT MODEL Baggregate = N × Bnode × η N is the number of storage nodes. B is the sustained bandwidth per node. η represents assumed scaling efficiency.
Storage nodes 16 Illustrative deployment
Per-node bandwidth 12 GB/s Assumed sustained throughput
Scaling efficiency 80% Hypothetical assumption
Aggregate bandwidth 153.6 GB/s before other system limits
STORAGE SCALE-OUT · ILLUSTRATIVE BANDWIDTH ANALYTICAL MODEL
4 storage nodes 38.4 GB/s
8 storage nodes 76.8 GB/s
16 storage nodes 153.6 GB/s
32 storage nodes 307.2 GB/s
Hypothetical throughput calculations assuming 12 GB/s per node and a constant 80% scaling efficiency. These are not measured storage vendor benchmarks. Real scaling efficiency can change as infrastructure expands.
06.5 · Parallel Filesystem Architecture

Lustre storage architecture

Lustre is a distributed parallel filesystem widely associated with high-performance computing and large-scale scientific infrastructure.

Its architecture separates filesystem management, metadata services and object storage services. Clients can access data across multiple Object Storage Targets according to the file layout.

LUSTRE · LOGICAL SERVICE ARCHITECTURE PARALLEL FILESYSTEM
Lustre Clients GPU compute nodes · HPC applications · Shared filesystem mount
↕
LNet Communication Layer Supported network transports · Client and server communication
↕
Metadata Server — MDS Namespace operations and metadata coordination
Object Storage Server — OSS Bulk file data access and object storage services
Metadata Target — MDT Persistent filesystem metadata
Object Storage Targets — OSTs Persistent file data objects
↕
Persistent Storage Infrastructure Supported backing storage · Device protection · Storage capacity
Simplified Lustre data and metadata architecture. A Management Server and Management Target also provide filesystem configuration services. They are omitted from the bulk I/O diagram because they do not normally carry application file payloads.
CONFIGURATION SERVICE

MGS / MGT

The Management Server and Management Target provide filesystem configuration information to participating components.

METADATA SERVICE

MDS / MDT

Metadata Servers provide access to Metadata Targets and coordinate supported namespace operations.

DATA SERVICE

OSS / OST

Object Storage Servers provide access to Object Storage Targets containing file data objects.

CLIENT ARCHITECTURE

Lustre Client

Presents the filesystem namespace and coordinates metadata and data operations with remote services.

NETWORK TRANSPORT

LNet

Provides Lustre networking facilities across supported transport implementations.

LAYOUT ENGINEERING

File Striping

Controls how supported file layouts distribute data across Object Storage Targets.

LUSTRE · ENGINEERING TERMINAL FILESYSTEM INSPECTION
# Inspect mounted Lustre filesystems
findmnt -t lustre

# Display filesystem capacity and target usage
lfs df -h /mnt/lustre

# Inspect the layout of an existing file
lfs getstripe /mnt/lustre/dataset.bin

# Inspect directory layout defaults
lfs getstripe /mnt/lustre/datasets

# Example: create a new empty file using
# four OSTs and a 4 MiB stripe size.
# Run only in an authorised test directory.
lfs setstripe -c 4 -S 4M /mnt/lustre/test/new-file.bin

# Inspect local Lustre device information
lctl dl

# Inspect available client statistics
lctl get_param 'llite.*.stats'

# Inspect LNet interfaces where supported
lnetctl net show

# Inspect available peer information
lnetctl peer show
Example Lustre commands for supported Linux deployments. Command availability, permissions, parameters and statistics vary by release and client or server role. The setstripe example creates a new file and should be used only in an authorised test location.
06.6 · Enterprise Storage Platforms

Distributed storage architecture comparisons

Enterprise AI storage platforms address similar infrastructure requirements using different software architectures, data placement strategies, metadata models and deployment approaches.

PLATFORM 01 · PARALLEL FILESYSTEM

Lustre

A parallel filesystem architecture featuring dedicated metadata and object storage services, configurable file layouts and distributed client access.

Metadata MDS and MDT architecture
Data placement Object Storage Targets
Networking LNet-supported transports
PLATFORM 02 · ENTERPRISE PARALLEL STORAGE

IBM Storage Scale

Formerly known as GPFS and IBM Spectrum Scale, IBM Storage Scale provides a clustered filesystem architecture with distributed filesystem coordination, shared data access and enterprise storage management capabilities.

Filesystem Clustered shared filesystem
Storage access Network Shared Disk architecture
Data management Storage pools and policy-driven placement
PLATFORM 03 · DISTRIBUTED PARALLEL FILESYSTEM

BeeGFS

BeeGFS distributes filesystem metadata and file data across configurable services, allowing clients to access storage targets in parallel.

Metadata Distributed metadata services
Data placement Striping across storage targets
Networking Supported TCP and RDMA paths
PLATFORM 04 · SOFTWARE-DEFINED AI STORAGE

WEKA

WEKA provides a distributed software-defined storage architecture designed for high-performance data-intensive workloads, combining flash storage, distributed processing and high-speed networking.

Architecture Distributed software-defined data platform
Storage media NVMe flash with supported tiering options
AI integration GPU-aware I/O in supported configurations
PLATFORM 05 · DISAGGREGATED DATA PLATFORM

VAST Data

VAST Data employs a disaggregated shared-everything architecture in which data-processing resources and persistent storage resources can be organised as distinct infrastructure layers.

Architecture Disaggregated shared-everything model
Storage fabric High-speed access to shared flash resources
AI integration Shared data access for AI infrastructure
Platform Architectural model Primary engineering focus
Lustre Parallel metadata and object storage services Large-scale HPC and parallel file I/O
IBM Storage Scale Clustered filesystem with distributed coordination Shared data access and enterprise data management
BeeGFS Distributed metadata and storage services Flexible parallel filesystem deployments
WEKA Distributed software-defined storage platform High-performance AI and data-intensive workloads
VAST Data Disaggregated shared-everything data platform Shared flash infrastructure and AI data services
These platforms are not interchangeable implementations.

Evaluate filesystem semantics, metadata performance, supported network transports, data protection, GPU storage integration, operational complexity and validated application compatibility. Product features and supported configurations vary by release.

06.7 · Distributed I/O Lifecycle

Following a parallel filesystem read request

Consider a GPU training server opening a large dataset file whose contents are distributed across several storage targets.

STAGE 01 · APPLICATION Request dataset access

The training application opens a file through the mounted distributed filesystem namespace.

STAGE 02 · NAMESPACE Resolve file metadata

The client obtains required metadata from its cache or the appropriate metadata service.

STAGE 03 · FILE LAYOUT Determine data placement

The filesystem identifies the storage resources associated with the requested file regions.

STAGE 04 · PARALLEL SUBMISSION Dispatch storage requests

The client submits supported concurrent I/O operations to the relevant data services.

STAGE 05 · STORAGE SERVERS Retrieve distributed file data

Storage services obtain the required data from memory, flash or other configured storage resources.

STAGE 06 · NETWORK FABRIC Return file payloads

Data traverses supported network transports toward the compute server.

STAGE 07 · MEMORY PLACEMENT Populate the destination buffers

The client delivers the data into host memory or supported GPU-memory paths according to the application and storage integration.

STAGE 08 · COMPLETION Release data to the application

The application observes successful completion and the required execution dependencies before consuming the data.

Not every read requires a new metadata lookup.

Filesystem clients can cache metadata, file layouts and other state. Actual request sequences depend on cache state, filesystem semantics and the selected storage implementation.

06.8 · High-Performance Storage Networking

RDMA and GPU-aware distributed storage

Distributed storage introduces a network between the compute infrastructure and persistent data resources.

RDMA-capable storage integrations can reduce certain CPU and memory-copy overheads by enabling hardware-assisted transfers between registered memory regions.

Supported GPUDirect Storage integrations can extend this architecture to GPU memory, reducing unnecessary host-memory staging at the compute node.

DISTRIBUTED STORAGE · RDMA-TO-GPU PATH SUPPORTED DIRECT I/O MODEL
STORAGE 01 STORAGE 02 STORAGE 03 RDMA ADAPTER RDMA ADAPTER RDMA ADAPTER RDMA FABRIC INFINIBAND / RoCE GPU COMPUTE NODE COMPUTE RNIC PCIe PEER PATH GPU MEMORY Distributed data access with supported GPU-memory placement
Conceptual distributed storage path using RDMA networking and supported GPU-memory placement. RDMA support alone does not establish GPUDirect Storage compatibility. The filesystem, client software, drivers, hardware and application I/O path must support the required integration.
NETWORK TRANSPORT

InfiniBand

Provides high-performance networking and RDMA capabilities for supported distributed storage deployments.

ETHERNET RDMA

RoCEv2

Provides routable RDMA transport over Ethernet, requiring appropriate congestion and network design.

GPU MEMORY ACCESS

GPUDirect Storage

Enables supported GPU-aware file I/O paths that reduce unnecessary host-memory payload staging.

06.9 · Distributed Storage Resilience

Replication, erasure coding and failure domains

Distributing data across multiple storage resources increases the importance of failure-domain awareness.

A distributed storage platform must account for failures involving individual SSDs, storage servers, network paths, controllers and potentially complete racks or availability zones.

DATA PROTECTION · REPLICATION AND ERASURE CODING CONCEPTUAL PLACEMENT
Three-way replication
FAILURE DOMAIN A
DATA X
FAILURE DOMAIN B
DATA X
FAILURE DOMAIN C
DATA X
Illustrative 4+2 erasure coding
DOMAIN 1
D0
DOMAIN 2
D1
DOMAIN 3
D2
DOMAIN 4
D3
DOMAIN 5
P0
DOMAIN 6
P1
Conceptual comparison of three-way replication and 4+2 erasure coding. A suitable 4+2 maximum-distance-separable code can reconstruct data after the loss of any two fragments. Actual resilience depends on implementation, fragment placement and correlated failures.
REPLICATION

Multiple Complete Copies

Three-way replication requires approximately three units of raw capacity for each unit of logical data, excluding other overheads.

ERASURE CODING

Data and Redundancy Fragments

A 4+2 layout requires approximately 1.5 units of raw capacity for each unit of logical data, excluding other overheads.

Protection model Raw capacity for 100 TB Ideal storage efficiency
Two-way replication 200 TB 50%
Three-way replication 300 TB 33.3%
4+2 erasure coding 150 TB 66.7%
8+2 erasure coding 125 TB 80%
Capacity efficiency is only one design dimension.

Erasure coding can introduce encoding, reconstruction and small-write overheads. Replication can simplify some recovery operations but consumes additional capacity. Evaluate degraded-mode performance and rebuild traffic alongside normal operation. Neither mechanism replaces independent backups.

06.10 · AI Dataset Engineering

The small-file problem

AI datasets may contain millions of images, documents, audio samples or other small files. Each file can require metadata operations in addition to the actual data transfer.

When thousands of training processes open small files concurrently, metadata services, client software and request-processing resources can become limiting factors.

UNPACKED DATASET

1,000,000 Individual Files

Assuming each sample occupies one 100 kB file, a complete dataset traversal involves one million individual file accesses.

SHARDED DATASET

1,000 Larger Shards

Packing 1,000 samples into each shard produces 1,000 larger files while preserving approximately the same underlying sample payload volume.

DATASET PACKAGING · FILE ACCESS COMPARISON ILLUSTRATIVE FULL SCAN
INDIVIDUAL SMALL FILES PACKAGED DATASET SHARDS SHARD 0001 SHARD 0002 SHARD 0003 1,000,000 1,000 Individual files Larger shard files Same approximate sample payload volume
Hypothetical dataset packaging example. One million 100 kB samples represent approximately 100 GB of payload data. Packing 1,000 samples per shard creates 1,000 approximately 100 MB shards, excluding format and compression overheads. Actual metadata operation counts depend on caching and access behaviour.
SEQUENTIAL ACCESS

Larger I/O Operations

Suitable dataset packaging can improve opportunities for sequential reads and larger storage requests.

METADATA PRESSURE

Fewer File Opens

Larger dataset containers can reduce the number of individual filesystem objects accessed during a training scan.

TRAINING PARALLELISM

Shard Distribution

Data loaders can distribute shards across workers while maintaining appropriate sampling and shuffle behaviour.

Dataset packaging introduces trade-offs.

Larger shards can reduce metadata overhead, but may affect random sample access, shuffle quality, recovery granularity and workload balancing. Select a format that matches the training framework and access pattern.

06.11 · AI Data Centre Network Architecture

Designing the storage fabric

A distributed filesystem cannot deliver its full potential if the network between storage servers and compute clients becomes saturated.

Large GPU environments may separate accelerator collective communication, storage traffic and infrastructure management into different physical or logical network domains.

AI DATA CENTRE · THREE NETWORK DOMAINS TRAFFIC ENGINEERING
GPU Compute Cluster Distributed training · Inference · Data loading · Checkpoint creation
↕
Compute Fabric GPU collectives · Gradient exchange · Distributed model communication
Storage Fabric Dataset reads · Model loading · Checkpoint writes
Management Fabric Administration · Monitoring · Infrastructure orchestration
↕
GPU Peers Distributed compute nodes
Storage Cluster Metadata and data services
Operations Services Control and monitoring systems
Logical traffic-domain architecture. Deployments may use dedicated physical networks or shared fabrics with suitable isolation, congestion management and capacity planning.
NETWORK CAPACITY

Bisection Bandwidth

Evaluate available bandwidth across the network topology, not merely the sum of server interface speeds.

TRAFFIC DISTRIBUTION

Multipath Behaviour

Verify that supported routing and transport mechanisms distribute storage flows across available paths.

RESOURCE CONTENTION

Traffic Isolation

Prevent storage bursts from unnecessarily degrading latency-sensitive accelerator communication.

AVAILABILITY

Redundant Connectivity

Design for supported failover across NICs, switches, links and independent failure domains.

CONGESTION

RDMA Fabric Engineering

Evaluate congestion signalling, queue behaviour and transport-specific flow-control requirements.

OBSERVABILITY

End-to-End Telemetry

Correlate network utilisation, storage throughput, latency and application data-loading behaviour.

06.12 · Storage Performance Engineering

Sizing storage infrastructure for a GPU cluster

Storage sizing begins with application requirements rather than the maximum advertised throughput of individual storage devices.

Engineers must estimate the data consumption rate of GPU workloads, checkpoint bursts, concurrent jobs, metadata demand and performance during infrastructure failures.

SIMPLIFIED DATASET BANDWIDTH REQUIREMENT Brequired = NGPU × Bper GPU Assumes concurrent sustained demand from all participating GPUs without cache reuse or shared reads.
GPU count 1,024 Illustrative AI cluster
Per-GPU demand 250 MB/s Assumed storage consumption
Aggregate demand 256 GB/s Concurrent dataset reads
Design capacity 320 GB/s At 80% target utilisation
STORAGE NODE SIZING N = ceil(320 / (12 × 0.8)) = 34 Assuming 12 GB/s per node and 80% aggregate scaling efficiency, 34 nodes provide approximately 326.4 GB/s in this hypothetical model.
CLUSTER CAPACITY · BANDWIDTH LIMITS ILLUSTRATIVE SIZING MODEL
GPU dataset demand 256 GB/s
Required design capacity 320 GB/s
34-node estimated storage capacity 326.4 GB/s
Assumed available network payload capacity 400 GB/s
Hypothetical engineering sizing example using decimal bandwidth units. These figures are not measured platform benchmarks. The model excludes concurrent checkpoint traffic, metadata limitations, storage rebuilds and correlated failures.
Size for degraded operation as well as normal operation.

Under the same simplified assumptions, losing one of the 34 storage nodes reduces estimated bandwidth to 316.8 GB/s, below the 320 GB/s design target. At least 35 nodes would be needed to retain that target after one node failure, before accounting for rebuild traffic and other constraints.

06.13 · Distributed Training Storage

Checkpoint bursts and mixed workloads

AI training workloads do not necessarily generate a constant storage traffic pattern. Dataset reads may be relatively continuous, while checkpoint creation introduces large periodic write bursts.

AI TRAINING · STORAGE WORKLOAD TIMELINE READ AND WRITE DEMAND
400 300 200 100 0 GB/s STORAGE CAPACITY · 300 GB/s CHECKPOINT CHECKPOINT CHECKPOINT DATASET READ DEMAND · 200 GB/s TRAINING TIME → CHECKPOINT BURSTS CAN EXCEED SHARED STORAGE CAPACITY
Hypothetical workload with 200 GB/s of dataset read demand and periodic 150 GB/s checkpoint write demand. Combined demand reaches 350 GB/s against an assumed shared storage capacity of 300 GB/s. Actual read/write resource contention depends on the storage architecture.
WORKLOAD COORDINATION

Checkpoint Scheduling

Avoid unnecessary synchronisation of large checkpoint bursts across independent training jobs.

PIPELINE OPTIMISATION

Asynchronous Checkpointing

Supported asynchronous mechanisms can overlap some checkpoint processing with computation while preserving consistency requirements.

RESOURCE MANAGEMENT

Storage Quality of Service

Supported QoS mechanisms can help manage contention between training, inference and checkpoint workloads.

06.14 · Production Observability

Monitoring distributed AI storage infrastructure

Storage observability must extend across the application, filesystem client, network fabric, metadata services, storage servers and persistent devices.

Infrastructure layer Important metrics Engineering purpose
AI application Step duration, data-loader wait time Identify storage-related training delays
GPU Utilisation, memory activity, idle periods Identify potential accelerator starvation
Filesystem client I/O throughput, latency, request concurrency Identify client-side bottlenecks
Metadata services Operations per second, queue depth, latency Detect namespace and metadata pressure
Storage network Throughput, congestion, errors, retransmissions Detect fabric limitations and instability
Storage servers CPU load, memory pressure, service queues Identify overloaded data services
NVMe devices IOPS, bandwidth, latency, health Identify device-level constraints
Protection services Rebuild activity, degraded objects Assess resilience and recovery overhead
Capacity management Free capacity, target imbalance, growth rate Prevent exhaustion and placement hotspots
LINUX ENGINEERING TERMINAL · STORAGE DIAGNOSTICS CROSS-LAYER INVESTIGATION
# Identify mounted filesystems
findmnt

# Identify the filesystem backing a dataset
findmnt -T /data/training/dataset.bin

# Inspect filesystem capacity
df -hT

# Inspect inode availability where applicable
df -i

# Inspect local block-device activity
iostat -x 1

# Observe process-level I/O activity
pidstat -d 1

# Inspect network interface counters
ip -s link

# Inspect RDMA devices and links
rdma link show

# Inspect available RDMA statistics
rdma statistic show

# Observe GPU activity
nvidia-smi dmon

# Inspect GPU and network topology
nvidia-smi topo -m

# Review relevant kernel diagnostics
journalctl -k | grep -Ei 'nvme|rdma|lustre|beegfs|nvidia'
General Linux diagnostic examples. Distributed filesystem-specific monitoring tools are also required. Local iostat measurements do not directly expose every remote filesystem operation, and available RDMA counters depend on hardware and drivers.
06.15 · Production Troubleshooting

Investigating distributed storage performance incidents

A slow AI training job does not automatically indicate insufficient NVMe performance. The limiting resource may exist anywhere within the distributed data-access pipeline.

Observed condition Possible cause Engineering investigation
Slow file-open operations Metadata saturation Inspect metadata operation latency and service queues
Low large-file throughput Insufficient striping or I/O concurrency Inspect file layouts and outstanding requests
Uneven storage server utilisation Data placement imbalance Compare target capacity and workload distribution
High network latency Fabric congestion or path imbalance Inspect switch queues, link utilisation and transport counters
GPU starvation despite fast storage CPU preprocessing or data-loader limitation Correlate application wait time and GPU activity
Periodic training stalls Checkpoint write contention Correlate checkpoint timing with storage demand
Slow performance after node failure Reduced capacity or reconstruction traffic Inspect degraded-mode and rebuild activity
Unexpected host-memory staging Unsupported GPU-aware I/O path Validate GDS compatibility and actual transfer mode
Filesystem capacity available but writes fail Quota, inode or individual target exhaustion Inspect quotas, metadata capacity and target usage
Adding storage nodes gives little improvement Network, metadata or client bottleneck Measure each layer independently and under concurrency
High tail latency Queueing, hotspots or background operations Inspect latency percentiles and correlated service events
Storage inaccessible after fabric failure Unsupported or misconfigured failover Validate redundant paths and client recovery behaviour
Investigate the complete data path before expanding capacity.

Adding storage servers cannot resolve every performance problem. If the limiting resource is metadata processing, client concurrency, network capacity or application preprocessing, additional storage media may remain underutilised.

Engineering Takeaways

Distributed AI storage is an infrastructure architecture, not simply a collection of SSDs.

High-performance AI storage requires coordinated filesystem services, data placement, parallel access, network capacity, data protection and GPU-aware application integration.

  • Parallel filesystems distribute storage operations across multiple infrastructure resources.
  • Shared namespaces provide logical access to physically distributed data.
  • Metadata services can become independent performance bottlenecks.
  • File striping enables suitable workloads to access multiple storage targets.
  • Stripe size and stripe count must match application access patterns.
  • Scale-out storage performance depends on more than the number of NVMe devices.
  • Lustre separates metadata and object storage responsibilities.
  • IBM Storage Scale, BeeGFS, WEKA and VAST Data employ different distributed storage architecture models.
  • RDMA can reduce certain CPU and memory movement overheads in supported deployments.
  • GPUDirect Storage requires compatible software and hardware data paths.
  • Replication and erasure coding provide different capacity and resilience trade-offs.
  • Dataset sharding can reduce small-file metadata pressure.
  • Storage fabrics must be engineered for aggregate throughput and congestion.
  • Checkpoint bursts can introduce significant contention with dataset reads.
  • Capacity planning must account for degraded operation and recovery traffic.
  • Production observability must connect storage performance with application and GPU behaviour.
Continue the Engineering Journey

Connecting distributed storage to the AI training pipeline

A high-performance distributed storage platform provides the infrastructure foundation for AI workloads. The next challenge is converting that storage capability into productive GPU computation.

The next section examines distributed training data loaders, dataset sharding, prefetching, double buffering, CPU preprocessing, GPU memory placement, checkpoint creation, recovery architecture and the engineering of continuous storage-to-compute pipelines.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 06

Parallel Storage.
Engineering at Cluster Scale.

Explore the distributed storage infrastructure behind large-scale AI training. Follow metadata requests, distribute files across storage targets, investigate parallel data movement and recover from storage infrastructure failures.

TITANIUM DISTRIBUTED STORAGE EDITION
LUSTRE / LOGICAL STORAGE ARCHITECTURE CLUSTER READY
AI COMPUTE / PARALLEL FILE SYSTEM CLIENTS STORAGE FABRIC / METADATA SERVICES MDS / MDT FILE NAMESPACE / LAYOUT METADATA AVAILABLE HIGH-SPEED STORAGE FABRIC 48 GB/s AGGREGATE BUDGET DATA PROTECTION TWO-WAY REPLICATION PROTECTED DISTRIBUTED STORAGE / NVMe MEDIA LOGICAL ARCHITECTURE / SIMULATED DATA MOVEMENT
Parallel data streams Metadata operations Storage fabric GPU compute / healthy storage Failed storage target
Interactive architecture inspector
Parallel Storage Client

Storage throughput
0
GB/s modelled capacity
Dataset transfer
—
Estimated seconds
GPU data supply
0%
Potential demand satisfied
Active storage targets
4/4
Selected stripe targets

Parallel Storage Engineering Controls

Distributed Storage Resource Monitor

Storage media bandwidth consumed 0%
Fabric bandwidth consumed 0%
Metadata capacity consumed 0%
GPU data demand satisfied 0%
Logical storage capacity efficiency 50%

Protection and rebuild controls represent generic storage-pool behaviour, not vendor-specific protection implementations.

File Striping and Dataset Distribution

/datasets/training/shard-001.bin

Select an active storage target to inject or recover a simulated target failure. The file map displays representative primary stripe placement. Replica and parity placement are abstracted into a separate protection pool.

Parallel file system architecture

Lustre Architecture

Distributed Storage I/O Journey

Visual workload execution progress 0%

The animated sequence is time-compressed. Estimated transfer time is calculated independently using the selected dataset size and modelled throughput.

DISTRIBUTED STORAGE EVENT CONSOLE / SIMULATED TELEMETRY
Engineering discovery lab

Recover a degraded AI training storage cluster.

An AI training cluster requires 24 GB/s of sustained dataset delivery. Its parallel file system uses four primary stripe targets, each capable of delivering 8 GB/s.

One storage target has failed. The replicated storage pool is operating in degraded mode, while background rebuild traffic consumes additional storage and fabric resources.

Recover the failed target, clear rebuild traffic and restore at least 24 GB/s of read capacity. Preserve the existing stripe layout, protection policy and hardware bandwidth limits.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

This laboratory uses a simplified, vendor-neutral parallel storage performance model. Architecture profiles illustrate conceptual differences rather than emulating proprietary file system internals.

Stripe placement, metadata capacity, protection overhead and degraded-mode penalties are illustrative. Actual behaviour depends on file system configuration, client concurrency, storage media, network topology, caching, failure domains and workload characteristics.

The generic two-way replication and 4+2 erasure coding policies assume an abstract protection pool with independent failure domains. The visible primary stripe targets do not represent every physical replica or parity device.

GPU data supply measures modelled storage throughput relative to configured data demand. It is not a measurement of GPU compute utilisation.

NETWORK INSIGHT
Section 07 · AI Training Infrastructure

AI Training and Checkpointing Engineering the Continuous Storage-to-GPU Pipeline

The performance of an AI training cluster depends on more than GPU processing capability. Accelerators must receive training data, execute computational workloads, exchange distributed model information and periodically preserve their training state.

Storage infrastructure, data-loading software, CPU preprocessing, memory placement and checkpoint architecture must operate as a coordinated system. A bottleneck in any of these components can reduce the productive utilisation of the entire GPU cluster.

AI TRAINING · END-TO-END DATA PIPELINE
DISTRIBUTED STORAGE CPU DATA-LOADING WORKERS WORKER 0 WORKER 1 WORKER 2 WORKER 3 DECODE · TRANSFORM · COLLATE PINNED HOST MEMORY BATCH N+1 BATCH N+2 GPU ACCELERATOR HBM A BATCH N HBM B NEXT CHECKPOINT REPOSITORY MODEL STATE OPTIMIZER STATE TRAINING METADATA H2D SUPPORTED GPU-DIRECT STORAGE ALTERNATIVE PERIODIC CHECKPOINT Conceptual training pipeline with alternative I/O paths
Cyan represents a conventional host-staged training input path. Green represents an alternative supported GPU-direct storage path. Violet represents logical checkpoint writes. Checkpoint serialization and writes may involve CPU memory and additional software stages not shown. GPU-direct I/O does not automatically replace CPU preprocessing or data decoding.
Input architecture Parallel Concurrent data-loading workers
Memory architecture Buffered Overlapping data preparation
Execution model Pipeline Storage, transfer and computation
Recovery model Stateful Persistent training checkpoints
07.1 · Training Architecture Fundamentals

The AI training data lifecycle

A training application repeatedly retrieves data samples, prepares batches and executes forward and backward computations. The optimizer then updates model parameters according to the training algorithm.

In distributed training, additional communication may be required to exchange gradients, parameters or other intermediate model state between participating accelerators.

TRAINING INPUT · FIVE-STAGE PIPELINE LOGICAL ARCHITECTURE
Persistent Storage Dataset files and shards
Data Loading Read, decode and transform
Batch Queue Prepared training samples
Memory Transfer Supported DMA and copy paths
GPU Execution Forward, backward and update
Conventional training input pipeline. Implementations may combine stages, perform transformations on GPUs or employ GPU-aware storage integrations.
INPUT

Dataset Retrieval

Retrieve training samples from local storage, shared filesystems or other supported data services.

PREPARATION

Batch Construction

Decode, tokenize, transform and combine samples into tensors suitable for model execution.

COMPUTATION

Training Execution

Execute model operations, calculate gradients and update training state according to the selected algorithm.

07.2 · Data-Loading Software

Distributed data loaders and worker processes

Data-loading frameworks coordinate dataset access, sample selection, preprocessing, batching and delivery to the training process.

Multiple worker processes can prepare samples concurrently, reducing the likelihood that accelerator computation must wait for sequential CPU-side input preparation.

PARALLEL DATA LOADER · WORKER ARCHITECTURE CONCURRENT PREPARATION
SHARED TRAINING DATASET WORKER 0 WORKER 1 WORKER 2 WORKER 3 DECODE / TRANSFORM DECODE / TRANSFORM DECODE / TRANSFORM DECODE / TRANSFORM BATCH 1 BATCH 2 BATCH 3 BATCH 4 TRAINING PROCESS
Simplified multi-worker data-loading model. Actual queue ordering, collation, worker scheduling and memory handling depend on the framework and dataset implementation.
CONCURRENCY

Worker Count

Additional workers may improve throughput until CPU, memory, storage or scheduling limits become dominant.

MEMORY PRESSURE

Worker Replication

Multiple processes can increase host-memory consumption through dataset state, intermediate buffers and process-local allocations.

RESOURCE CONTENTION

CPU Oversubscription

Excessive worker and library thread counts can introduce scheduling overhead and compete with training communication processes.

More data-loading workers do not guarantee higher performance.

Tune worker counts using measured batch delivery latency, CPU utilisation, memory pressure and end-to-end training throughput. The optimal setting depends on the dataset, transformations and available hardware.

07.3 · Distributed Dataset Architecture

Dataset sharding across training ranks

Distributed data-parallel training typically assigns different portions of the training dataset to participating processes.

Correct dataset partitioning helps avoid unintended duplicate work and ensures that training ranks receive the appropriate samples for each training epoch.

DATASET SHARDING · FOUR TRAINING RANKS ILLUSTRATIVE PARTITION
Logical dataset · Eight sample partitions
S0
S1
S2
S3
S4
S5
S6
S7
RANK 0
S0
S4
RANK 1
S1
S5
RANK 2
S2
S6
RANK 3
S3
S7
Illustrative logical partition assignment. Physical dataset files do not necessarily correspond to training ranks. Distributed samplers can partition sample indices independently of the underlying storage layout.
GLOBAL BATCH SIZE · DATA-PARALLEL TRAINING Bglobal = Blocal × D × A D is the data-parallel group size. A is the number of gradient accumulation microsteps per optimizer update.
Local microbatch 32 Samples per data-parallel rank
Data-parallel ranks 64 Illustrative parallel group
Accumulation steps 4 Microsteps per optimizer update
Global batch 8,192 Samples per optimizer update
Data parallelism is not the same as total GPU count.

Tensor parallelism and pipeline parallelism may distribute one model execution across several GPUs. Use the actual data-parallel group size when calculating global batch size. Distributed samplers may also pad or drop samples to maintain balanced iteration counts.

07.4 · Input Pipeline Buffering

Prefetch queues and continuous batch delivery

Prefetching prepares future training data before the accelerator requires it. This allows input preparation to overlap with computation on an earlier batch.

A sufficiently provisioned prefetch queue can absorb temporary variations in storage latency, CPU processing time and worker scheduling.

TRAINING INPUT · PREFETCH MEMORY BANK ILLUSTRATIVE QUEUE STATE
PREPARED HOST BATCHES
N+1
N+2
N+3
N+4
FREE
FREE
FREE
FREE
GPU EXECUTION BUFFER
N
N
N
N
NEXT
NEXT
NEXT
NEXT
Conceptual memory representation. Host workers prepare future batches while the GPU processes the current batch. Animated cells are illustrative and do not represent live queue occupancy.
SIMPLIFIED PREFETCH MEMORY ESTIMATE Mprefetch ≈ W × P × Sbatch W is the worker count, P is the number of prefetched batches per worker and S is the prepared batch size in memory.
Workers 8 Per training process
Prefetch factor 2 Batches per worker
Batch footprint 128 MiB Assumed prepared tensor size
Queue memory 2 GiB Approximate payload footprint
Prefetching absorbs latency variation, not sustained bandwidth shortages.

If the input pipeline consistently produces batches more slowly than the GPU consumes them, the queue will eventually become empty. Larger queues delay starvation but cannot eliminate a persistent throughput deficit.

07.5 · Host Processing Architecture

CPU preprocessing and training data transformations

Training data frequently requires substantial preparation before it can be consumed by accelerator kernels.

Compressed images may require decoding, language datasets may require tokenization, and audio workloads may require resampling or feature extraction.

COMPUTER VISION

Image Processing

JPEG decoding, resizing, cropping, normalization and augmentation.

LANGUAGE MODELS

Text Processing

Tokenization, sequence packing, padding, masking and batch collation.

AUDIO AND MULTIMODAL

Signal Processing

Audio decoding, resampling, feature extraction and multimodal sample assembly.

PREPROCESSING · PIPELINE CAPACITY MODEL ILLUSTRATIVE SAMPLE RATES
Storage retrieval capacity 12,000 samples/s
CPU preprocessing capacity 4,000 samples/s
GPU consumption capacity 10,000 samples/s
Hypothetical steady-state pipeline. CPU preprocessing limits end-to-end throughput to at most 4,000 samples/s under the illustrated assumptions, despite faster storage and GPU resources.
Fast storage cannot compensate for slow data transformations.

Evaluate offline preprocessing, efficient dataset formats, optimized decoding libraries, CPU resource allocation and supported GPU-accelerated data preparation. Each optimization must preserve the required training semantics.

07.6 · Host-to-Device Memory Architecture

Pinned host memory and DMA transfers

Ordinary pageable host memory can be relocated or paged by the operating system. GPU transfer implementations may therefore require additional staging when copying data from pageable host buffers.

Page-locked, or pinned, host memory provides memory regions that remain resident while registered or allocated for that purpose. This can improve supported DMA transfers and facilitate asynchronous host-to-device copying.

MEMORY TRANSFER · PAGEABLE VS PINNED CONCEPTUAL DMA PATHS
PAGEABLE HOST MEMORY PINNED HOST MEMORY PAGEABLE APPLICATION BUFFER PINNED STAGING BUFFER GPU DEVICE MEMORY STAGING COPY DMA PINNED APPLICATION BUFFER PAGE-LOCKED HOST MEMORY GPU DEVICE MEMORY DMA TRANSFER
Simplified comparison of potential pageable memory staging and pinned-memory transfers. Exact staging behaviour depends on the CUDA runtime, copy operation and hardware. Pinned host memory remains CPU-side memory and is not equivalent to GPU HBM.
MEMORY REGISTRATION

Page Locking

Keeps registered memory resident for supported device-access operations.

TRANSFER ENGINE

Asynchronous Copy

Can enable supported copy operations to overlap with independent GPU work.

RESOURCE LIMIT

Excessive Pinning

Too much pinned memory can reduce available pageable memory and degrade overall system behaviour.

07.7 · Accelerator Pipeline Optimization

GPU double buffering and overlapping execution

Double buffering uses two memory regions so that one region can supply the current computation while the other receives data for a future computation.

With appropriate CUDA streams, synchronization dependencies and hardware support, data transfers can overlap with independent accelerator execution.

GPU EXECUTION · DOUBLE-BUFFERING TIMELINE COPY AND COMPUTE OVERLAP
SEQUENTIAL EXECUTION COPY COMPUTE COPY 1 COPY 2 COPY 3 COMPUTE 1 COMPUTE 2 COMPUTE 3 → OVERLAPPED DOUBLE BUFFERING COPY COMPUTE COPY 1 A COPY 2 B COPY 3 A COPY 4 B COMPUTE 1 A COMPUTE 2 B COMPUTE 3 A TIME →
Conceptual execution timeline. Buffer A and buffer B alternate between transfer and computation. Correct event synchronization is required to prevent a buffer from being overwritten before its previous computation has completed.
SEQUENTIAL BATCH PROCESSING Tbatch = Tinput + Tcompute Input preparation and computation do not overlap in this simplified model.
IDEAL STEADY-STATE OVERLAP Tbatch ≈ max(Tinput, Tcompute) Assumes independent stages, sufficient buffering and negligible synchronization overhead after pipeline warm-up.
Input time 40 ms Assumed per-batch input stage
Compute time 80 ms Assumed GPU execution stage
Sequential 120 ms Per batch without overlap
Ideal overlapped 80 ms Steady-state batch interval
Illustrative throughput improvement: 1.5×.

Reducing the steady-state batch interval from 120 ms to 80 ms increases ideal throughput from approximately 8.33 to 12.5 batches per second. Actual gains depend on resource contention, copy-engine capabilities, memory bandwidth and synchronization overhead.

07.8 · GPU-Aware Storage Integration

Integrating GPUDirect Storage into AI training

NVIDIA GPUDirect Storage enables supported applications and storage configurations to transfer file data into or out of GPU memory while reducing unnecessary host memory staging.

The cuFile API provides application-level mechanisms for supported GPU-aware file I/O. The surrounding training framework must integrate the resulting GPU buffers into its data preparation and execution pipeline.

GPU-DIRECT INPUT · ALTERNATIVE DATA PATH SUPPORTED CONFIGURATIONS
Storage Local or remote supported filesystem
cuFile I/O GPU-aware file access integration
DMA Path Supported PCIe or network placement
GPU Buffer File payload in device memory
GPU Processing Supported decoding or model preparation
Logical GPU-aware I/O sequence. cuFile coordinates file access and is not itself a physical data-forwarding device. Actual payload movement depends on filesystem, storage, driver and topology support.
CONVENTIONAL TRAINING INPUT

Host-Staged Pipeline

Storage reads populate host memory. CPU-side preparation creates training tensors, which are subsequently transferred to GPU memory.

GPU-AWARE TRAINING INPUT

Supported Direct Storage Path

Compatible file data can be delivered into GPU memory, where supported processing stages prepare it for accelerator execution.

GPUDirect Storage does not automatically accelerate every DataLoader.

A standard host-oriented training data loader does not necessarily use cuFile simply because GDS is installed. The application, framework or storage integration must explicitly support the GPU-aware I/O path. Compatibility modes may also introduce host staging.

07.9 · Training Framework Integration

PyTorch distributed data-loading architecture

PyTorch provides configurable data-loading mechanisms for dataset sampling, parallel worker processes, batching and pinned-memory preparation.

DistributedSampler can partition sample indices across data-parallel processes for suitable map-style datasets.

PYTORCH · DISTRIBUTED DATALOADER ENGINEERING CODE EXAMPLE
import torch
import torch.distributed as dist

from torch.utils.data import DataLoader
from torch.utils.data.distributed import DistributedSampler

# Assumes distributed initialization, device
# assignment, dataset, model and optimizer
# have already been configured.
#
# Place worker-spawning code behind an appropriate
# main entry point in a standalone training script.

sampler = DistributedSampler(
    dataset,
    num_replicas=dist.get_world_size(),
    rank=dist.get_rank(),
    shuffle=True
)

loader = DataLoader(
    dataset,
    batch_size=32,
    sampler=sampler,
    num_workers=8,
    pin_memory=True,
    prefetch_factor=2,
    persistent_workers=True
)

for epoch in range(num_epochs):

    sampler.set_epoch(epoch)

    for inputs, targets in loader:

        inputs = inputs.to(
            device,
            non_blocking=True
        )

        targets = targets.to(
            device,
            non_blocking=True
        )

        optimizer.zero_grad(set_to_none=True)

        outputs = model(inputs)
        loss = criterion(outputs, targets)

        loss.backward()
        optimizer.step()
Illustrative conventional PyTorch data-parallel training fragment. It assumes a suitable map-style dataset and that the distributed world corresponds to the data-parallel group. Hybrid parallelism requires appropriate subgroup handling. This is not a complete runnable training application or a GDS implementation.
Parameter Purpose Engineering consideration
batch_size Samples per local batch GPU memory and training semantics
num_workers Data-loading worker processes CPU capacity and host-memory pressure
pin_memory Prepare supported pinned host tensors Transfer performance and memory limits
prefetch_factor Prefetched batches per worker Queue depth and host-memory footprint
persistent_workers Retain workers across iterations of the loader Startup overhead and persistent resources
DistributedSampler Partition dataset indices across ranks Sample balance and epoch-level shuffling
non_blocking Request nonblocking transfer behaviour Memory type, stream dependencies and synchronization
Nonblocking copies are not sufficient to guarantee compute overlap.

Actual overlap generally requires suitable memory, independent CUDA streams, correct event dependencies and hardware capable of concurrent copy and execution. Operations issued into the same stream remain ordered.

07.10 · Accelerator Utilisation

GPU starvation and input pipeline bottlenecks

GPU starvation occurs when an accelerator has insufficient ready work because the surrounding system cannot deliver required data or execution dependencies quickly enough.

Storage throughput, metadata latency, CPU preprocessing, host-to-device transfer and distributed synchronization can all contribute to periods of GPU inactivity.

GPU ACTIVITY · BALANCED VS STARVED PIPELINE ILLUSTRATIVE EXECUTION TRACE
BALANCED PIPELINE BATCH 1 BATCH 2 BATCH 3 BATCH 4 BATCH 5 BATCH 6 INPUT-STARVED PIPELINE WAITING WAITING WAITING TRAINING TIME →
Conceptual GPU execution comparison. Red regions indicate input-related idle intervals in the illustrative workload. Real GPU inactivity can also result from communication, synchronization or kernel execution characteristics.
SIMPLIFIED PIPELINE COMPUTE DUTY CYCLE Ucompute ≈ Tcompute / max(Tinput, Tcompute) Assumes ideal steady-state overlap. This is a pipeline duty-cycle estimate, not a direct prediction of GPU hardware utilization counters.
BALANCED PIPELINE

Input: 60 ms · Compute: 80 ms

Ideal compute duty cycle is 100% because the input stage can prepare data faster than the compute stage consumes it.

INPUT-LIMITED PIPELINE

Input: 160 ms · Compute: 80 ms

Ideal compute duty cycle falls to 50% because the input stage requires twice as long as GPU computation.

07.11 · Persistent Training State

Understanding AI training checkpoints

A training checkpoint preserves sufficient application state to support an intended recovery or continuation operation.

Saving only model weights may be sufficient for some inference or fine-tuning workflows. Resuming training generally requires additional state associated with the optimizer, learning rate schedule, progress and randomness.

CHECKPOINT · LOGICAL STATE COMPOSITION TRAINING RECOVERY STATE
CHECKPOINT · GLOBAL STEP 120000
Model parameters STATE
Optimizer moments STATE
Master weights, if required OPTIONAL
Learning rate scheduler STATE
Random number generator state STATE
Sampler and dataset progress STATE
Mixed precision scaler IF USED
Distributed layout metadata STATE
Checkpoint completion metadata VALIDATION
Illustrative logical checkpoint composition. Actual file structures, state requirements and recovery guarantees depend on the framework, optimizer, precision strategy and distributed training architecture.
MODEL STATE

Parameters and Buffers

Preserve model weights and relevant persistent buffers needed to reconstruct the trained model state.

OPTIMIZER STATE

Training Continuity

Preserve optimizer-specific state, such as momentum or first and second moments, where required.

EXECUTION STATE

Progress and Randomness

Preserve training position, scheduling, random state and relevant dataset iteration information.

Exact training reproducibility requires more than saving model weights.

Even a comprehensive checkpoint may not guarantee bitwise-identical continuation when hardware, world size, software, nondeterministic kernels or data-loading behaviour changes.

07.12 · Large Language Model Storage

Estimating checkpoint size for large AI models

Checkpoint size depends on the number of model parameters, stored precision and additional training state.

Adam-style optimizers commonly maintain first and second moment estimates. These can significantly increase the storage required for a resumable checkpoint.

ILLUSTRATIVE MIXED-PRECISION CHECKPOINT Scheckpoint ≈ N × (2 + 4 + 4 + 4) bytes Assumes BF16 model weights, FP32 master weights and two FP32 optimizer moment tensors per parameter. Not all frameworks store this exact combination.
Model parameters 70B Hypothetical dense model
BF16 model weights 140 GB 2 bytes per parameter
Additional FP32 state 840 GB Master weights and two moments
Total checkpoint 980 GB Illustrative tensor payload
70B MODEL · CHECKPOINT STORAGE BREAKDOWN HYPOTHETICAL SIZE MODEL
BF16 model parameters 140 GB
FP32 master parameters 280 GB
FP32 first optimizer moment 280 GB
FP32 second optimizer moment 280 GB
Each bar represents its proportion of the hypothetical 980 GB checkpoint. Decimal units are used. Metadata, alignment, replicated state, compression and format overheads are excluded.
Parameter count BF16 weights only Illustrative 14-byte training state
7 billion 14 GB 98 GB
13 billion 26 GB 182 GB
70 billion 140 GB 980 GB
175 billion 350 GB 2.45 TB
1 trillion 2 TB 14 TB
These are analytical estimates, not measured model checkpoint sizes.

Optimizer implementations, parameter sharding, quantized state, master-weight handling and checkpoint formats can substantially change actual storage requirements. Gradients are not included in this example.

07.13 · Distributed Training State

Sharded checkpoints and parallel storage writes

Large models may distribute parameters, gradients and optimizer state across multiple training processes.

Gathering all distributed state onto a single process before writing a checkpoint can introduce substantial memory pressure, communication overhead and a centralized storage bottleneck.

Distributed checkpointing allows participating processes to write appropriate portions of the training state in parallel.

DISTRIBUTED CHECKPOINT · PARALLEL WRITE ARCHITECTURE SHARDED TRAINING STATE
RANK 0 RANK 1 RANK 2 RANK 3 STATE PARTITION STATE PARTITION STATE PARTITION STATE PARTITION CHECKPOINT SHARD 0 CHECKPOINT SHARD 1 CHECKPOINT SHARD 2 CHECKPOINT SHARD 3 DISTRIBUTED CHECKPOINT STORAGE NAMESPACE VALIDATED COMPLETION METADATA
Conceptual sharded checkpoint architecture. Real frameworks may assign multiple files per rank, deduplicate replicated state, coordinate writes or redistribute tensor partitions during restoration. Completion metadata should identify a valid checkpoint generation.
PARALLEL WRITES

Aggregate Storage Throughput

Multiple training processes can contribute concurrent writes to a suitable distributed storage platform.

STATE DISTRIBUTION

Reduced Central Gathering

Sharded formats can avoid assembling every distributed tensor on one training process.

CONSISTENCY

Checkpoint Coordination

Participating processes must preserve a compatible training state and correctly identify completed writes.

07.14 · Checkpoint Performance Engineering

Synchronous and asynchronous checkpointing

Synchronous checkpointing can require training to wait while checkpoint state is prepared and written to storage.

Asynchronous checkpointing attempts to overlap some of this work with subsequent training computation, often using staged copies or other mechanisms to preserve a consistent snapshot.

CHECKPOINT EXECUTION · SYNCHRONOUS VS ASYNCHRONOUS CONCEPTUAL TIMELINE
SYNCHRONOUS CHECKPOINT TRAINING TRAINING RESUMES CHECKPOINT PAUSE ASYNCHRONOUS CHECKPOINT TRAINING TRAINING CONTINUES STAGE BACKGROUND CHECKPOINT WRITE TRAINING TIME →
Illustrative comparison. Asynchronous checkpointing may still require an initial staging pause, synchronization and eventual completion checks. Background writes can compete with training for CPU, memory, network and storage resources.
IDEAL CHECKPOINT WRITE TIME Twrite = Scheckpoint / Beffective Excludes snapshot preparation, serialization, coordination and additional durability costs.
Checkpoint size 980 GB Illustrative training state
Effective write rate 40 GB/s Assumed aggregate throughput
Ideal write duration 24.5 s Payload transfer time
Checkpoint interval 600 s Assumed training time between saves
ILLUSTRATIVE SYNCHRONOUS WRITE OVERHEAD 24.5 / (600 + 24.5) ≈ 3.92% Fraction of elapsed time spent on checkpoint payload writes when training pauses for each write.
Asynchronous does not mean cost-free.

A checkpoint writer that cannot complete before the next checkpoint may accumulate pending work, increase memory pressure or force the training process to wait. Monitor background queue depth, completion time and resource contention.

07.15 · Training Resilience

Checkpoint recovery and distributed training restart

Training jobs can be interrupted by accelerator failures, node failures, network problems, software errors or scheduled infrastructure maintenance.

A recovery architecture must identify a valid checkpoint, restore the required training state and reconstruct a compatible distributed execution environment.

STAGE 01 · NORMAL OPERATION Distributed training progresses

Participating training processes execute successive optimizer updates.

STAGE 02 · CHECKPOINT Persist a consistent training generation

Required state is staged, serialized and written using the configured checkpoint mechanism.

STAGE 03 · VALIDATION Publish checkpoint completion

The framework confirms successful completion and the required storage durability guarantees before marking the generation available for recovery.

STAGE 04 · INFRASTRUCTURE FAILURE Training execution is interrupted

A failure prevents the current distributed training job from continuing normally.

STAGE 05 · ORCHESTRATION Reconstruct the training environment

Allocate available resources and initialize the required distributed process groups.

STAGE 06 · CHECKPOINT RESTORE Load the latest valid training state

Restore compatible model, optimizer and application state, including supported resharding where required.

STAGE 07 · INPUT RECOVERY Reconstruct dataset progress

Restore the required sampler, iteration position and randomness according to the recovery strategy.

STAGE 08 · TRAINING RESUMPTION Resume optimizer updates

Continue training from the restored checkpoint after validating the distributed execution environment.

TRAINING RECOVERY · LOST WORK WINDOW CHECKPOINT INTERVAL MODEL
START CHECKPOINT 1 CHECKPOINT 2 FAILURE RESTORE CHECKPOINT 2 LOST TRAINING PROGRESS Recovery point depends on the latest valid durable checkpoint
Training progress after the latest valid checkpoint may need to be repeated. Asynchronous checkpoint completion lag can increase the effective recovery point beyond the nominal save interval.
SIMPLIFIED CHECKPOINT INTERVAL MODEL Toptimal ≈ √(2 × C × M) Young's first-order approximation: C is blocking checkpoint cost and M is mean time between job-interrupting failures, using consistent time units.

For an assumed checkpoint cost of 30 seconds and mean time between job-interrupting failures of 24 hours, this approximation produces an interval of approximately 38 minutes.

Checkpoint scheduling must reflect actual recovery requirements.

The simplified model assumes relatively infrequent independent failures and a blocking checkpoint cost. Correlated failures, asynchronous writes, storage contention, restart duration and operational recovery objectives require more detailed analysis.

07.16 · Training Storage Capacity Planning

Checkpoint retention and storage bandwidth requirements

Production training infrastructure must accommodate both dataset consumption and periodic checkpoint writes.

Retaining multiple checkpoint generations protects against some recovery scenarios, but can consume substantial persistent storage capacity.

Concurrent jobs 8 Illustrative training environment
Checkpoint per job 980 GB Assumed checkpoint payload
Retained generations 5 Per training job
Logical capacity 39.2 TB Checkpoint retention only
CHECKPOINT RETENTION CAPACITY Sretained = J × R × Scheckpoint J is concurrent training jobs. R is retained generations per job. S is the logical checkpoint size.
AVERAGE CHECKPOINT WRITE DEMAND Baverage = (8 × 980 GB) / 600 s ≈ 13.07 GB/s Assumes eight jobs each generate a checkpoint every 600 seconds of elapsed time. Instantaneous write demand can be substantially higher.
CAPACITY

Retention Policies

Account for retained generations, incomplete writes, protection overhead and temporary checkpoint staging.

PERFORMANCE

Checkpoint Burst Demand

Size storage for concurrent checkpoint writes rather than relying exclusively on long-term average throughput.

RESILIENCE

Independent Recovery Copies

Protect important training generations against storage-system failures, corruption and accidental deletion.

07.17 · Production Training Observability

Monitoring the complete AI training pipeline

Effective training observability correlates application-level timing with accelerator, CPU, memory, storage and network behaviour.

Pipeline layer Important metrics Engineering purpose
Training application Step duration, samples/s, tokens/s Measure productive training throughput
Data loader Batch wait time, worker activity Identify input starvation
Prefetch queues Queue occupancy, empty-queue events Identify inadequate input production
CPU preprocessing CPU utilisation, processing latency Detect transformation bottlenecks
Host memory Memory pressure, pinned-memory usage Identify staging resource limitations
PCIe and DMA Transfer throughput, copy duration Identify host-to-device transfer limits
GPU execution Kernel activity, memory bandwidth, idle intervals Understand accelerator efficiency
Distributed communication Collective duration, rank imbalance Identify synchronization bottlenecks
Storage Read/write throughput, latency, IOPS Identify storage capacity constraints
Checkpoint subsystem Staging time, write time, completion lag Measure checkpoint overhead
Recovery Checkpoint age, restore time, restart success Validate training resilience
LINUX AND NVIDIA · ENGINEERING TERMINAL CROSS-LAYER DIAGNOSTICS
# Inspect GPU activity
nvidia-smi dmon

# Inspect GPU and network topology
nvidia-smi topo -m

# Inspect CPU topology and NUMA placement
lscpu
numactl --hardware

# Observe CPU, memory and process scheduling
vmstat 1
mpstat -P ALL 1

# Inspect local block storage activity
iostat -x 1

# Observe process-level CPU and I/O activity
pidstat -u -d 1

# Inspect memory availability
free -h

# Inspect network interface counters
ip -s link

# Inspect RDMA links where applicable
rdma link show

# Profile a training script in a test environment
# using an installed compatible Nsight Systems version
nsys profile --trace=cuda,nvtx,osrt \
  -o training-profile python train.py
Illustrative diagnostic commands. Tool availability, permissions and supported metrics vary by platform. Profiling can introduce overhead and should be planned appropriately for production environments.
GPU utilization alone is not a complete performance metric.

A GPU may report activity while executing inefficient kernels or waiting on memory dependencies. Correlate training throughput with detailed accelerator traces, communication timing and application-level progress.

07.18 · Production Incident Investigation

Troubleshooting AI training storage incidents

Observed condition Possible cause Engineering investigation
GPU idle between batches Input pipeline starvation Measure data-loader wait time and queue occupancy
High CPU usage with low GPU throughput Preprocessing bottleneck Profile decoding, tokenization and transformations
Slow first batch of each epoch Worker initialization or cold cache Inspect startup costs and persistent worker behaviour
Increasing worker count reduces throughput CPU or memory oversubscription Measure scheduling, thread counts and memory pressure
Host-to-device copies dominate execution Transfer bandwidth or synchronization limits Inspect PCIe topology, memory type and CUDA streams
Unexpected host-memory staging Unsupported GDS path or compatibility mode Validate actual GPU-aware I/O integration
One training rank is consistently slower Uneven data or infrastructure performance Compare per-rank loading and execution timelines
Periodic training pauses Synchronous checkpointing Measure checkpoint preparation and write duration
Training slows during asynchronous writes Shared resource contention Correlate checkpoint activity with CPU, memory and storage
Checkpoint queue continually grows Insufficient background write capacity Compare generation rate with completion rate
Checkpoint cannot be restored Incomplete, incompatible or corrupted state Validate generation metadata and framework compatibility
Training behaviour changes after restart Missing execution or dataset state Inspect optimizer, sampler, scheduler and random state
Storage capacity rapidly declines Checkpoint retention or incomplete generation accumulation Inspect lifecycle policies and pending writes
Adding GPUs reduces scaling efficiency Shared storage or communication bottleneck Measure aggregate demand and distributed synchronization
Follow the data, not just the hardware utilization.

Start with the training step timeline. Identify where execution waits, trace the relevant dependency and then examine the infrastructure component responsible for delivering that dependency.

Engineering Takeaways

Productive GPU computation requires a continuously supplied and recoverable training pipeline.

High-performance AI training depends on coordinated storage access, parallel data preparation, efficient memory transfers, distributed execution and reliable checkpoint management.

  • Data-loading workers prepare training samples concurrently.
  • Dataset sharding distributes input work across data-parallel processes.
  • Prefetch queues absorb temporary input latency variation.
  • CPU preprocessing can become a bottleneck independently of storage.
  • Pinned host memory can improve supported DMA transfer behaviour.
  • Double buffering enables supported overlap between transfers and computation.
  • GPUDirect Storage requires compatible application and infrastructure integration.
  • GPU starvation must be investigated across the entire execution pipeline.
  • Resumable checkpoints generally require more than model parameters.
  • Optimizer state can dominate the storage footprint of large training checkpoints.
  • Distributed checkpointing can reduce centralized gathering and write bottlenecks.
  • Asynchronous checkpointing can overlap storage writes with training computation.
  • Checkpoint intervals balance overhead, lost work and recovery requirements.
  • Storage capacity planning must include checkpoint retention and concurrent jobs.
  • Recovery procedures must be tested before relying on them in production.
  • End-to-end training throughput is more informative than isolated infrastructure utilization measurements.
Continue the Engineering Journey

From training pipelines to storage performance engineering

Understanding the AI training pipeline establishes the application requirements that storage infrastructure must satisfy.

The next section examines IOPS, throughput, latency distributions, queue depth, block sizes, PCIe saturation, NUMA locality, storage amplification, benchmarking methodologies and the engineering of predictable GPU storage performance.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 07

Inside the AI Training Factory.

Follow training data from distributed NVMe storage into GPU memory. Investigate dataset sharding, parallel data loaders, CPU preprocessing, prefetch queues, training iterations and checkpoint contention.

TITANIUM GPU TRAINING FACTORY EDITION
AI TRAINING INFRASTRUCTURE / LIVE DIGITAL TWIN PIPELINE READY
DISTRIBUTED NVMe DATASET STORAGE HIGH-SPEED STORAGE FABRIC 40 GB/s DATA INGESTION / HOST PROCESSING / MEMORY PLACEMENT DATA LOADERS 8 WORKERS CPU PREPROCESSING DECODE / TRANSFORM HOST MEMORY PINNED BUFFER GPUDIRECT STORAGE cuFile / DIRECT DMA COMPATIBLE GPU-READY DATA STANDBY GPU TRAINING CLUSTER / COMPUTE AND HBM CHECKPOINT STORE STANDBY LOGICAL TRAINING PIPELINE / SIMULATED TELEMETRY
Dataset payload GPU-ready data / active compute Storage fabric Checkpoint traffic Resource starvation
Architecture inspector
Distributed Dataset Storage

Input pipeline capacity
0
GB/s modelled payload
Training compute duty
0%
Simulated compute-active time
Training iterations
0
Completed aggregate steps
Input wait time
0
Simulated seconds

Training Pipeline Engineering Controls

AI Training Resource Monitor

Effective data path
Conventional host-staged pipeline

Checkpoint activity
Idle

Checkpoints share the aggregate storage and fabric budgets. Synchronous checkpoints also introduce a training barrier.

Live Prefetch Queue and Training Batches

GPU-ready batch buffer 0 / 8 batches

Each aggregate training batch contains 2 GB of input data in this laboratory. Prefetching absorbs temporary throughput fluctuations, but cannot eliminate a sustained input-rate deficit.

Prefetched data
0 GB
Processed data
0 GB
Checkpoint writes
0

Distributed Dataset Sharding Explorer

Eight representative dataset shards are distributed across storage infrastructure. Data loaders schedule work against the dataset, while the training pipeline consumes prepared batches.

The highlighted shard represents the current illustrative input stream. Actual distributed training uses framework-specific samplers, worker assignment and shuffling strategies.

Training Performance Timeline

Input capacity Training consumption Checkpoint write rate

Rolling throughput samples use simulated time. The graph shows pipeline capacity, actual modelled training consumption and checkpoint bandwidth allocation.

AI TRAINING EVENT CONSOLE / SIMULATED TELEMETRY
Engineering discovery lab

Investigate GPU starvation in an AI training cluster.

An AI training cluster requires 24 GB/s of prepared input data. The storage system delivers up to 32 GB/s, the fabric supports 40 GB/s and the GPU transfer path supports 32 GB/s.

However, the application uses four data loader workers, each with a modelled capacity of 2 GB/s. CPU contention further reduces preprocessing capacity.

Restore CPU processing capacity and increase loader parallelism until the conventional pipeline can sustain the full 24 GB/s demand. Preserve the original hardware bandwidth limits and raw dataset format.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

This laboratory implements a simplified fluid-flow training pipeline. Aggregate batch size, worker capacity, host memory bandwidth, preprocessing costs and checkpoint scheduling are illustrative.

GPUDirect Storage reduces host-memory staging for supported I/O paths. It does not automatically remove decoding, augmentation, preprocessing or CPU-side orchestration requirements.

Direct placement in this model assumes compatible storage, filesystem, software, topology and GPU-ready input data. Raw input requiring CPU transforms uses the conventional path instead.

Training compute duty represents the fraction of simulated training time spent consuming prepared input at the configured compute rate. It is not measured NVIDIA GPU utilisation, SM occupancy or model FLOPS utilisation.

NETWORK INSIGHT
Section 08 · Storage Performance Engineering

GPU Storage Performance Engineering Predictable Data Movement at Scale

High-performance AI infrastructure cannot be engineered using storage bandwidth specifications alone. Engineers must understand the relationships between I/O operations, transfer sizes, latency, concurrency, network capacity, PCIe topology and accelerator consumption rates.

A storage subsystem that performs well in an isolated benchmark may still become a bottleneck when hundreds of GPUs access shared datasets, generate checkpoints or compete for infrastructure resources.

GPU STORAGE · PERFORMANCE COMMAND CENTRE
Illustrative telemetry snapshot · Not live measurements
STORAGE THROUGHPUT 84 GB/s of 100 GB/s
GPU ACTIVITY Illustrative busy-time metric
STORAGE FABRIC Illustrative link utilisation
I/O QUEUE Illustrative outstanding requests
NVMe STORAGE STORAGE FABRIC PCIe TOPOLOGY GPU ACCELERATOR GPU COMPUTE HBM HBM CROSS-LAYER TELEMETRY · LATENCY · THROUGHPUT · QUEUES
Conceptual GPU storage performance architecture. Every layer contributes to end-to-end data delivery. The dashboard values are illustrative and do not represent measured hardware performance.
08.1 · Performance Fundamentals

The fundamental dimensions of storage performance

Storage performance is multidimensional. An infrastructure platform may deliver high sequential bandwidth while providing comparatively poor small-request latency or inconsistent performance under concurrency.

OPERATIONS

IOPS

Input/output operations completed per second. Particularly important for small-block and highly concurrent storage workloads.

DATA VOLUME

Throughput

The volume of data transferred per unit of time, typically expressed in MB/s, GB/s or their binary equivalents.

RESPONSE TIME

Latency

Time between an I/O request and its completion at the selected measurement boundary.

CONCURRENCY

Queue Depth

Number of outstanding requests at a specified queue, device or application boundary.

CONSISTENCY

Tail Latency

High-percentile request completion times that expose occasional delays hidden by average measurements.

APPLICATION OUTCOME

Training Goodput

Productive application progress, measured through useful samples, tokens or completed training steps.

Storage throughput is a means to an application outcome.

Increasing storage bandwidth has limited value if the training workload is constrained by CPU preprocessing, distributed collectives or accelerator computation.

08.2 · Storage Mathematics

Understanding the relationship between IOPS and throughput

IOPS describes the rate of completed operations, while throughput describes the amount of data represented by those operations.

FIXED-SIZE I/O WORKLOAD Throughput = IOPS × I/O Size For mixed request sizes, use the actual transferred bytes or the operation-weighted mean request size.
I/O size Operation rate Calculated throughput
4 KiB 100,000 IOPS 409.6 MB/s
4 KiB 1,000,000 IOPS 4.096 GB/s
64 KiB 100,000 IOPS 6.5536 GB/s
128 KiB 100,000 IOPS 13.1072 GB/s
1 MiB 10,000 IOPS 10.48576 GB/s

These calculations use binary request sizes and decimal throughput units. They are mathematical relationships, not guarantees that a storage device can sustain the specified operation rate.

TRANSFER SIZE · FIXED 100,000 IOPS MODEL ANALYTICAL COMPARISON
4 KiB requests 0.4096 GB/s
16 KiB requests 1.6384 GB/s
64 KiB requests 6.5536 GB/s
128 KiB requests 13.1072 GB/s
Increasing request size increases calculated throughput at a fixed IOPS rate. Real devices generally cannot maintain the same IOPS indefinitely as request sizes increase.
08.3 · Workload Characterisation

Block size, access patterns and storage workload behaviour

AI storage workloads are not uniformly sequential or random. Their behaviour depends on dataset format, access order, preprocessing, caching and checkpoint implementation.

STORAGE ACCESS · SEQUENTIAL VS RANDOM LOGICAL BLOCK MODEL
SEQUENTIAL ACCESS LBA 0 LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA 6 LBA 7 RANDOM ACCESS LBA 0 LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA 6 LBA 7 1st 2nd 3rd 4th
Logical access patterns do not necessarily correspond to physical NAND placement. SSD flash translation layers and distributed storage systems can remap logical addresses.
AI workload Possible access pattern Important metric
Large dataset shard reads Large sequential or semi-sequential reads Sustained bandwidth
Individual image files Small-file reads and metadata operations Metadata latency and operation rate
Randomized sample retrieval Nonsequential reads Random-read latency and IOPS
Distributed checkpoints Concurrent large writes Aggregate write bandwidth and completion time
Model initialization Concurrent model weight reads Load time and burst throughput
Checkpoint recovery Parallel state restoration End-to-end recovery duration
08.4 · Latency Architecture

Decomposing end-to-end storage latency

Storage request latency can include application processing, filesystem operations, queueing, network transport, device processing and completion handling.

REMOTE I/O · LATENCY BUDGET ILLUSTRATIVE 200 µs REQUEST
Application and filesystem submission 20 µs
Queue waiting 50 µs
Network transport and processing 30 µs
Storage service time 80 µs
Completion handling 20 µs
Hypothetical nonoverlapping latency budget. Actual request processing can overlap stages and may involve additional software and hardware components.
SIMPLIFIED SERIAL LATENCY MODEL L = Lsubmit + Lqueue + Lnetwork + Lservice + Lcompletion Use measured critical-path timing when processing stages overlap.
08.5 · Performance Consistency

Latency percentiles and the importance of tail latency

Average latency can conceal a small proportion of exceptionally slow requests. These requests may have disproportionate effects on distributed AI workloads.

When multiple training ranks synchronize, delayed data delivery to one rank can postpone progress for other participating ranks.

Median · P50 100 µs 50% of requests at or below this value
P95 250 µs 95% of requests at or below this value
P99 800 µs 99% of requests at or below this value
P99.9 4 ms 99.9% of requests at or below this value
LATENCY · PERCENTILE DISTRIBUTION SYNTHETIC DATA
4,000 3,000 2,000 1,000 0 100 µs 250 µs 800 µs 4,000 µs P50 P95 P99 P99.9 LATENCY PERCENTILE
Illustrative latency distribution. P99.9 latency is 40 times the median in this hypothetical example. The vertical axis uses microseconds.
ILLUSTRATIVE INDEPENDENT REQUEST MODEL P(at least one slow request) = 1 − (1 − p)N If each of 128 independent requests has a 1% probability of exceeding a latency threshold, the probability that at least one exceeds it is approximately 72.4%.
Distributed synchronization can amplify tail-latency effects.

The independent-request model is only illustrative. Real storage delays can be correlated through shared switches, storage servers, congestion and synchronized workload behaviour.

08.6 · I/O Concurrency

Queue depth and outstanding storage operations

NVMe and modern asynchronous I/O interfaces allow multiple requests to remain outstanding simultaneously.

Increasing concurrency can expose device parallelism and hide request latency. Beyond the effective service capacity, additional concurrency primarily increases queueing delay.

NVMe I/O · OUTSTANDING REQUEST MODEL ILLUSTRATIVE QUEUE STATES
Low concurrency · Two outstanding operations
Higher concurrency · Eight outstanding operations
Full illustrative request window
Each cell represents an illustrative outstanding-request slot, rather than a literal NVMe submission queue entry. Full occupancy alone does not establish that a device is overloaded.
LOW CONCURRENCY

Potential Underutilisation

Too few outstanding requests may leave device processing resources idle between operations.

BALANCED CONCURRENCY

Efficient Parallelism

Sufficient requests keep the storage subsystem productive while meeting latency objectives.

EXCESSIVE CONCURRENCY

Queueing Pressure

Additional requests beyond service capacity may increase latency without materially increasing throughput.

08.7 · Queueing Theory

Little's Law and storage concurrency engineering

Little's Law relates the average number of requests within a stable system to the request arrival or completion rate and average time spent in that system.

LITTLE'S LAW N = λ × W N is the mean number of requests in the measured system, λ is its steady-state throughput in requests per second, and W is the mean time spent in seconds.
Mean outstanding I/O 64 Measured system boundary
Mean response time 100 µs 0.0001 seconds
Calculated rate 640K Operations per second
4 KiB throughput 2.62 GB/s Calculated payload throughput
ILLUSTRATIVE BANDWIDTH-DELAY PRODUCT 12 GB/s × 200 µs = 2.4 MB At a sustained payload rate of 12 GB/s and mean request latency of 200 µs, approximately 2.4 MB of payload would be outstanding under the simplified model.

With fixed 128 KiB requests, this corresponds to approximately 18.3 outstanding operations on average.

Configured queue depth is not necessarily average queue occupancy.

Little's Law requires consistent measurement boundaries and stable long-term averages. Configured concurrency, actual outstanding requests and observed queueing time are related but distinct quantities.

08.8 · Storage Saturation

Finding the performance knee

As storage concurrency increases, throughput typically rises until a limiting resource approaches saturation.

Beyond this point, additional requests can produce rapidly increasing latency with comparatively small throughput gains.

QUEUE DEPTH · SATURATION CURVES SYNTHETIC PERFORMANCE MODEL
0 3 6 9 12 0 0.5 1.0 1.5 2.0 THROUGHPUT · GB/s MEAN LATENCY · ms SATURATION REGION 1 2 4 8 16 32 64 CONFIGURED QUEUE DEPTH · LOG2 SPACING THROUGHPUT LATENCY
Qualitative synthetic curves illustrating a common saturation pattern. The two vertical axes use different units. These curves are not measured device results or a fitted queueing model.
Maximum throughput is not always the optimal operating point.

Select an operating region that meets application throughput and latency objectives while preserving capacity for bursts, recovery operations and infrastructure failures.

08.9 · PCIe Infrastructure

PCIe bandwidth and shared topology bottlenecks

PCIe provides connectivity between CPUs, GPUs, NVMe devices, network adapters and PCIe switches.

The achievable data-transfer rate depends on negotiated link generation, lane width, protocol overhead and the complete path between participating devices.

PCIe generation Signalling rate x4 bandwidth x8 bandwidth x16 bandwidth
PCIe 3.0 8 GT/s 3.94 GB/s 7.88 GB/s 15.75 GB/s
PCIe 4.0 16 GT/s 7.88 GB/s 15.75 GB/s 31.51 GB/s
PCIe 5.0 32 GT/s 15.75 GB/s 31.51 GB/s 63.02 GB/s

Values represent approximate theoretical one-direction bandwidth after 128b/130b encoding overhead, but before transaction and other protocol overheads.

PCIe SWITCH · SHARED UPLINK SATURATION ILLUSTRATIVE TOPOLOGY
HOST ROOT COMPLEX HOST-DIRECTED TRAFFIC PCIe 4.0 x16 31.51 GB/s THEORETICAL PCIe SWITCH HYPOTHETICAL MIXED-GENERATION CONFIGURATION NVMe SSD 0 NVMe SSD 1 NVMe SSD 2 NVMe SSD 3 PCIe 5.0 x4 PCIe 5.0 x4 PCIe 5.0 x4 PCIe 5.0 x4 15.75 GB/s 15.75 GB/s 15.75 GB/s 15.75 GB/s AGGREGATE DOWNSTREAM LINK CAPACITY ≈ 63 GB/s
Hypothetical topology with four PCIe 5.0 x4 downstream links and a PCIe 4.0 x16 negotiated uplink. Simultaneous traffic traversing that uplink is constrained by its approximately 31.51 GB/s theoretical one-direction capacity.
Endpoint bandwidth does not establish end-to-end bandwidth.

Peer-to-peer traffic between supported devices beneath the same switch may follow a different path. Inspect the actual PCIe routing, switch configuration, ACS behaviour and platform support before determining the limiting link.

08.10 · Host Architecture

NUMA locality and GPU storage placement

Multi-socket servers can expose multiple NUMA domains, each with associated CPU cores, memory controllers and PCIe devices.

Poor placement of data-loading processes, host buffers and storage adapters may introduce unnecessary inter-socket traffic.

DUAL-SOCKET SERVER · NUMA LOCALITY CONCEPTUAL HARDWARE MAP
NUMA DOMAIN 0 NUMA DOMAIN 1 CPU SOCKET 0 CPU SOCKET 1 INTER-SOCKET FABRIC LOCAL DRAM PCIe ROOT LOCAL DRAM PCIe ROOT STORAGE NIC 0 GPU 0 STORAGE NIC 1 GPU 1 LOCAL DEVICE PLACEMENT LOCAL DEVICE PLACEMENT
Conceptual NUMA topology. Local placement can reduce some inter-socket transfers, but actual GPU-direct paths depend on platform, PCIe topology, memory placement and supported peer-to-peer configurations.
LINUX · TOPOLOGY INVESTIGATION ENGINEERING TERMINAL
# Inspect CPU and NUMA topology
lscpu
numactl --hardware

# Inspect GPU connectivity
nvidia-smi topo -m

# Inspect the PCIe device hierarchy
lspci -tv

# Inspect a selected PCIe device
# Replace the example address with the actual BDF
lspci -s 0000:81:00.0 -vv

# Inspect negotiated PCIe link attributes
cat /sys/bus/pci/devices/0000:81:00.0/current_link_speed
cat /sys/bus/pci/devices/0000:81:00.0/current_link_width

# Inspect NUMA association
cat /sys/bus/pci/devices/0000:81:00.0/numa_node

# Inspect process NUMA memory statistics
numastat -p PID
Replace example device addresses and PID values with those of the target system. Available attributes and topology information depend on platform support.
08.11 · Storage Fabric Engineering

Network bandwidth and effective storage throughput

Remote GPU storage introduces network capacity into the end-to-end data path. Ethernet and InfiniBand link rates must be translated into achievable application payload throughput.

Nominal link rate Decimal byte-rate equivalent Engineering consideration
25 Gb/s 3.125 GB/s Protocol and application overhead
100 Gb/s 12.5 GB/s NIC, transport and PCIe limits
200 Gb/s 25 GB/s Host and fabric capacity
400 Gb/s 50 GB/s PCIe placement and congestion
800 Gb/s 100 GB/s Adapter and platform architecture
REMOTE STORAGE · END-TO-END CAPACITY HYPOTHETICAL BOTTLENECK
Storage server aggregate capacity 60 GB/s
Effective network payload capacity 45 GB/s
Effective host PCIe path capacity 28 GB/s
GPU-side input capacity 40 GB/s
Under the assumed single-path capacity model, the effective PCIe path limits throughput to at most 28 GB/s. Actual throughput may be lower.
SIMPLIFIED END-TO-END BANDWIDTH BOUND Bend-to-end ≤ min(Bstorage, Bfabric, BPCIe, Bconsumer) Assumes a common data stream traverses each limiting resource. Parallel paths, caching and data transformations require more detailed modelling.
08.12 · Storage Efficiency

Read amplification, write amplification and protection overhead

Application-visible storage operations do not necessarily correspond directly to physical storage-media operations.

Filesystem metadata, replication, erasure coding, alignment requirements, garbage collection and storage-controller behaviour can increase the amount of underlying work.

READ PATH

Read Amplification

Additional underlying data reads relative to the useful bytes requested by the application.

MEDIA WRITE PATH

SSD Write Amplification

Additional NAND programming relative to host writes, potentially influenced by garbage collection and data placement.

DISTRIBUTED PROTECTION

Replication and Coding

Additional storage and write activity required to maintain the selected data protection architecture.

SSD WRITE AMPLIFICATION FACTOR WAF = NAND Bytes Written / Host Bytes Written Measurement requires consistent device-level counters and observation intervals.
CHECKPOINT · LAYERED WRITE AMPLIFICATION ILLUSTRATIVE CAPACITY MODEL
Logical checkpoint payload 1 TB
Three replicated copies 3 TB
Aggregate NAND writes at WAF 1.5 4.5 TB
Simplified model assuming three full replicas, no compression or deduplication and an SSD write amplification factor of 1.5 across all replicas. NAND writes are cumulative media activity, not retained storage capacity.
Separate logical capacity, physical capacity and media endurance.

Replication increases retained storage requirements. SSD write amplification increases media programming activity and can affect endurance. These quantities must not be treated as interchangeable.

08.13 · Benchmark Integrity

Understanding cache effects in AI storage benchmarks

Storage benchmarks may measure memory caches rather than the intended persistent storage subsystem.

Linux page cache, filesystem client caches, storage-server memory and device-level caches can all influence observed performance.

WARM CACHE

Previously Accessed Data

Repeated reads may be served from memory, reducing device or network traffic and improving observed application response times.

COLD CACHE

Persistent Storage Retrieval

Data not present in the relevant cache hierarchy must be retrieved from another storage tier.

SIMPLIFIED CACHE TRAFFIC MODEL Bbackend ≈ Bapplication × (1 − H) H represents the byte-weighted cache hit ratio. Assumes no additional prefetching, metadata or amplification.
Application read rate 100 GB/s Illustrative logical demand
Byte cache hit ratio 80% Assumed memory-served data
Cache-served traffic 80 GB/s Calculated logical rate
Backend traffic 20 GB/s Simplified persistent demand
Direct I/O does not eliminate every cache in the storage system.

Direct I/O can bypass the host page cache on supported paths, but storage server caches, controller caches and other infrastructure optimizations may still affect benchmark results.

08.14 · Linux Storage Benchmarking

Engineering controlled storage benchmarks with fio

Flexible I/O Tester, commonly known as fio, provides configurable storage workloads for measuring throughput, IOPS, latency and concurrency behaviour.

A useful benchmark must reproduce the relevant request sizes, read/write mix, access patterns and concurrency of the intended application.

FIO · SEQUENTIAL READ BENCHMARK TEST ENVIRONMENT ONLY
# Use an existing dedicated benchmark file.
# The file must contain at least 20 GiB of test data.
# Confirm the target path before running.

fio \
  --name=ai-sequential-read \
  --filename=/mnt/benchmark/ni-test.bin \
  --rw=read \
  --bs=1M \
  --ioengine=io_uring \
  --iodepth=32 \
  --numjobs=1 \
  --direct=1 \
  --size=20G \
  --time_based=1 \
  --runtime=60 \
  --ramp_time=10 \
  --allow_file_create=0 \
  --readonly \
  --group_reporting
Read-only example using an existing dedicated test file. io_uring and direct I/O must be supported by the kernel, filesystem and execution environment.
FIO · RANDOM READ BENCHMARK SMALL-REQUEST WORKLOAD
fio \
  --name=ai-random-read \
  --filename=/mnt/benchmark/ni-test.bin \
  --rw=randread \
  --bs=4k \
  --ioengine=io_uring \
  --iodepth=64 \
  --numjobs=1 \
  --direct=1 \
  --size=20G \
  --time_based=1 \
  --runtime=60 \
  --ramp_time=10 \
  --allow_file_create=0 \
  --readonly \
  --percentile_list=50:95:99:99.9:99.99 \
  --group_reporting
Small-request random-read example. Compare achieved I/O depth and latency percentiles rather than relying solely on configured concurrency.
Parameter Purpose Engineering consideration
rw Access pattern Sequential, random or mixed workloads
bs I/O request size Match application transfer characteristics
iodepth Requested I/O depth per job Validate achieved concurrency
numjobs Number of job instances Account for aggregate demand
direct Request non-buffered I/O Filesystem and alignment requirements
runtime Test duration limit Observe sustained rather than burst behaviour
ramp_time Initial measurement exclusion period Reduce startup effects
percentile_list Requested latency percentiles Expose performance variability
group_reporting Grouped job reporting Evaluate aggregate workload performance
Never benchmark production storage without understanding the impact.

Even read-only benchmarks can saturate shared storage, increase latency and disrupt active training jobs. Write benchmarks require dedicated disposable test files or explicitly authorized test devices.

08.15 · Performance Characterisation

Queue-depth sweeps and workload test matrices

A single benchmark result does not establish the performance characteristics of a storage system.

Engineers should vary one workload dimension at a time, repeat measurements and identify the relationship between throughput and latency.

FIO · CONTROLLED QUEUE-DEPTH SWEEP READ-ONLY TEST MATRIX
# Dedicated test environment.
# Existing 20 GiB or larger benchmark file.

for qd in 1 2 4 8 16 32 64; do

  fio \
    --name=qd-${qd} \
    --filename=/mnt/benchmark/ni-test.bin \
    --rw=randread \
    --bs=4k \
    --ioengine=io_uring \
    --iodepth="${qd}" \
    --numjobs=1 \
    --direct=1 \
    --size=20G \
    --time_based=1 \
    --runtime=60 \
    --ramp_time=10 \
    --allow_file_create=0 \
    --readonly \
    --output-format=json \
    --output="ni-qd-${qd}.json"

done
Example sequential test sweep. Repeat runs and control cache state, temperature, background workloads and other relevant conditions.
Test dimension Example values Purpose
Block size 4 KiB, 16 KiB, 128 KiB, 1 MiB Operation-rate versus bandwidth behaviour
Queue depth 1, 2, 4, 8, 16, 32, 64 Concurrency and saturation
Job count 1, 4, 8, 16 Parallel workload scaling
Read/write mix 100/0, 70/30, 0/100 Mixed-workload contention
Cache condition Defined cold and warm states Cache sensitivity
Client count 1, 8, 32, 64 Distributed storage scaling
Infrastructure state Healthy and controlled degraded states Resilience and available capacity
08.16 · GPU-Aware I/O Benchmarking

Measuring NVIDIA GPUDirect Storage performance

Conventional fio testing is valuable for understanding host-oriented storage performance, but it does not by itself demonstrate that file payloads are being delivered directly into GPU memory.

GPU-aware benchmarking requires tools and application paths that exercise the supported GPUDirect Storage integration.

HOST-ORIENTED BENCHMARK

Conventional Storage Testing

Measure storage I/O through host-oriented application buffers using the selected filesystem and I/O interface.

GPU-AWARE BENCHMARK

GDS Data-Path Testing

Exercise compatible cuFile-based I/O and evaluate GPU memory placement, transfer performance and actual path selection.

NVIDIA GDS · ENVIRONMENT VALIDATION VERSION-DEPENDENT TOOLING
# Inspect the installed GPU environment
nvidia-smi

# Inspect PCIe and GPU topology
nvidia-smi topo -m

# Locate installed GDS tools
find /usr/local/cuda* -type f \
  \( -name gdscheck -o -name gdsio \) \
  2>/dev/null

# Common installation paths.
# Adjust for the installed CUDA/GDS version.
/usr/local/cuda/gds/tools/gdscheck -p

# Review supported benchmark options
# before constructing a test workload.
/usr/local/cuda/gds/tools/gdsio -h

# Inspect nvidia-fs statistics if exposed
# by the installed GDS implementation.
cat /proc/driver/nvidia-fs/stats
Tool locations, available options, kernel modules and statistics vary by CUDA/GDS release and platform. Validate the installed implementation before selecting benchmark parameters.
Measurement Conventional path GPU-aware path
Destination Host application buffer GPU device buffer
Storage throughput Measure completed file I/O Measure completed GPU-aware file I/O
End-to-end GPU delivery Include subsequent host-to-device transfer Include required GPU buffer readiness
CPU overhead Measure host processing cost Measure host processing cost
Host memory traffic Measure staging and memory movement Validate reduced staging where supported
Path validation Inspect host I/O configuration Inspect GDS diagnostics and fallback behaviour
Compare equivalent application outcomes.

A host-memory read benchmark and a GPU-memory delivery benchmark terminate at different measurement boundaries. A meaningful comparison includes the complete data movement required to make the same payload available to the GPU.

08.17 · AI Infrastructure Capacity Planning

Calculating aggregate GPU cluster storage demand

Cluster storage architecture must be sized according to the aggregate application demand, rather than the performance of an individual GPU server.

SIMPLIFIED CLUSTER READ DEMAND Bcluster = G × Bper-GPU Assumes independent per-GPU input consumption without shared cache benefits or duplicated reads.
GPU servers 32 Illustrative AI cluster
GPUs per server 8 256 GPUs in total
Input demand per GPU 0.5 GB/s Assumed storage input rate
Aggregate read demand 128 GB/s Calculated application demand
AI CLUSTER · STORAGE CAPACITY ARCHITECTURE 256-GPU EXAMPLE
GPU GROUP A GPU GROUP B GPU GROUP C GPU GROUP D 64 GPUs 64 GPUs 64 GPUs 64 GPUs 32 GB/s 32 GB/s 32 GB/s 32 GB/s HIGH-PERFORMANCE STORAGE FABRIC AGGREGATE APPLICATION READ DEMAND · 128 GB/s STORAGE GROUP A STORAGE GROUP B STORAGE GROUP C STORAGE GROUP D 50 GB/s 50 GB/s 50 GB/s 50 GB/s ASSUMED HEALTHY STORAGE CAPACITY · 200 GB/s
Hypothetical balanced cluster with four storage groups, each providing 50 GB/s of effective read capacity. Assumes the fabric and client paths can sustain the aggregate workload.
CAPACITY WITH 30% UNUSED HEADROOM Brequired = 128 / 0.70 ≈ 182.86 GB/s Maintaining 30% unused capacity requires dividing demand by 0.70 rather than multiplying demand by 1.30.
08.18 · Resilient Performance Engineering

Capacity planning under infrastructure failure

Storage infrastructure must be evaluated not only in its healthy operating state but also during maintenance, path failure, storage-node loss and data reconstruction.

CLUSTER CAPACITY · HEALTHY VS DEGRADED ILLUSTRATIVE FAILURE MODEL
Healthy storage capacity 200 GB/s
One storage group unavailable 150 GB/s
Two storage groups unavailable 100 GB/s
Application demand 128 GB/s
Simplified capacity-only model. Assumes equal storage-group capacity and that the required data remains available. Rebuild activity, uneven placement and failed dependencies may further reduce effective throughput.
Healthy utilisation 64% 128 / 200 GB/s
Single-group failure 85.3% 128 / 150 GB/s
Two-group failure 28 GB/s Calculated capacity deficit
Availability and performance availability are different objectives.

A storage system may remain accessible following a failure while no longer delivering the throughput or latency required by its GPU workloads. Validate degraded-mode service objectives explicitly.

08.19 · Shared Resource Contention

Training reads and checkpoint write bursts

Production AI storage frequently supports simultaneous training dataset reads, checkpoint writes, model initialization and recovery activity.

Checkpoint bursts can introduce contention at shared storage servers, network links, device queues and memory resources.

SHARED STORAGE · MIXED WORKLOAD DEMAND ILLUSTRATIVE TIME SERIES
240 180 120 60 0 200 GB/s SHARED CAPACITY 128 GB/s TRAINING READ DEMAND 80 GB/s WRITE BURST 80 GB/s WRITE BURST 80 GB/s WRITE TRAINING TIME →
Hypothetical combined demand of 128 GB/s reads plus 80 GB/s checkpoint writes during bursts. This exceeds the assumed 200 GB/s shared service budget by 8 GB/s. Real read/write capacity interactions are workload-dependent.
SCHEDULING

Stagger Checkpoints

Where training semantics permit, avoid unnecessary synchronization of checkpoint bursts across independent jobs.

RESOURCE CONTROL

Storage QoS

Apply supported workload isolation, prioritization or bandwidth controls to protect latency-sensitive operations.

ARCHITECTURE

Dedicated Storage Tiers

Consider separate checkpoint and dataset resources when contention cannot be adequately controlled within a shared infrastructure.

08.20 · Cross-Layer Observability

Monitoring GPU storage infrastructure in production

Performance investigation requires correlated measurements across the application, GPU, host, network and storage infrastructure.

Infrastructure layer Important measurements Engineering objective
Training application Samples/s, tokens/s, step duration Measure useful application progress
Data-loading pipeline Batch wait time, prefetch occupancy Detect input starvation
GPU Kernel activity, memory and copy-engine behaviour Identify accelerator dependencies
CPU Utilisation, scheduling, processing overhead Identify host-side limitations
NUMA Memory placement, remote access statistics Detect locality problems
PCIe Negotiated width, generation, transfer counters Identify link and topology constraints
RDMA fabric Congestion, errors, retries and link utilisation Detect transport limitations
Filesystem Metadata latency, client RPCs, cache behaviour Identify distributed filesystem bottlenecks
NVMe devices IOPS, bandwidth, latency, temperature Detect device-level constraints
Storage protection Replication, reconstruction, backend traffic Identify protection overhead
GDS integration Supported path usage, fallback and I/O statistics Validate actual GPU-aware data movement
LINUX · PERFORMANCE INVESTIGATION TERMINAL CROSS-LAYER DIAGNOSTICS
# Observe local block-device activity
iostat -x 1

# Observe CPU activity
mpstat -P ALL 1

# Observe process CPU and I/O statistics
pidstat -u -d 1

# Observe GPU activity
nvidia-smi dmon

# Inspect GPU and PCIe topology
nvidia-smi topo -m
lspci -tv

# Inspect NVMe devices
nvme list

# Inspect NVMe health statistics
# Replace the example device as appropriate
nvme smart-log /dev/nvme0

# Inspect network interface counters
ip -s link

# Inspect RDMA devices and statistics
rdma link show
rdma statistic show

# Inspect driver-specific network counters
# Replace the example interface name
ethtool -S eth0

# Inspect filesystem capacity
df -h
df -i
Diagnostic command availability and permissions depend on installed packages, hardware and platform configuration. Local block-device statistics may not capture all remote filesystem activity.
08.21 · Engineering Investigation

Investigating a GPU storage performance incident

Consider a hypothetical AI training environment where application throughput declines despite no reported GPU hardware failures.

Training throughput −35% Relative to established baseline
GPU activity 61% Previously 92%
Storage P99 latency 4.8 ms Previously 0.8 ms
Storage throughput 95% Of assumed effective capacity
STEP 01 · DETECTION Identify the application regression

Compare training throughput and step duration with an established baseline for the same workload.

STEP 02 · GPU TIMELINE Identify accelerator waiting intervals

Determine whether GPU execution waits for input, communication, synchronization or another dependency.

STEP 03 · INPUT PIPELINE Inspect data-loader behaviour

Correlate batch wait time and prefetch queue depletion with accelerator inactivity.

STEP 04 · STORAGE EVIDENCE Examine latency and outstanding requests

Compare mean latency, tail latency, throughput and queueing behaviour with normal operating conditions.

STEP 05 · FABRIC EVIDENCE Validate network and PCIe capacity

Examine congestion, link utilisation, negotiated PCIe attributes and infrastructure topology.

STEP 06 · WORKLOAD CORRELATION Investigate competing storage demand

Determine whether checkpoint bursts, recovery activity or another workload coincides with the performance regression.

STEP 07 · CONTROLLED MITIGATION Test the suspected bottleneck

Apply an authorized, reversible mitigation such as workload scheduling or resource isolation and compare results.

STEP 08 · VALIDATION Confirm application-level recovery

Verify that training throughput, latency distributions and accelerator activity recover without introducing another infrastructure problem.

Correlation identifies a candidate cause, not necessarily the root cause.

The illustrative telemetry suggests storage contention, but controlled testing and additional evidence are required to distinguish competing explanations.

08.22 · Production Troubleshooting

GPU storage performance troubleshooting matrix

Observed condition Possible explanation Engineering investigation
Low throughput and low queue occupancy Insufficient application concurrency Inspect outstanding requests and application submission rate
High throughput with rapidly increasing latency Approaching storage saturation Perform a controlled concurrency sweep
Low mean latency but high P99.9 Intermittent contention or service variability Correlate high-percentile events with infrastructure activity
Small-file workload performs poorly Metadata or operation-rate bottleneck Measure metadata services and file-open latency
Sequential throughput below expectations PCIe, device or network bandwidth constraint Inspect complete data path and negotiated link rates
High inter-socket traffic NUMA placement mismatch Inspect CPU, memory, GPU and adapter locality
Benchmark exceeds expected media throughput Cache-served reads Validate cache state and backend storage counters
Throughput declines during sustained testing Thermal, cache or media-management effects Inspect device temperature and time-series performance
GDS performance resembles host staging Fallback or unsupported direct path Validate cuFile integration and path diagnostics
Network throughput is high but storage throughput is low Protocol overhead, retransmissions or unrelated traffic Compare application bytes with transport counters
Performance declines during checkpointing Read/write contention Correlate checkpoint activity with shared resource pressure
Adding clients reduces per-client throughput Shared storage or fabric capacity Measure aggregate throughput and fairness
Storage remains online but GPUs become starved Degraded-mode performance deficit Validate available capacity after infrastructure failure
High storage bandwidth but low training throughput Non-storage application bottleneck Profile preprocessing, GPU kernels and collectives
High physical writes relative to logical writes Protection or media write amplification Separate filesystem, replication and SSD-level counters
Engineering Takeaways

Engineer storage performance around application progress, not isolated infrastructure specifications.

Predictable GPU storage performance requires coordinated engineering across storage media, distributed filesystems, transport networks, PCIe infrastructure, host memory and application execution.

  • IOPS and throughput are related through the amount of data transferred per operation.
  • Request size and access pattern strongly influence storage workload behaviour.
  • Average latency can conceal disruptive high-percentile completion times.
  • Distributed synchronization can amplify the effects of slow individual requests.
  • Queue depth exposes storage parallelism but can also introduce queueing pressure.
  • Little's Law relates average concurrency, throughput and response time.
  • Maximum throughput is not necessarily the optimal operating point.
  • PCIe switch uplinks and negotiated link attributes can constrain aggregate performance.
  • NUMA locality affects some host and device data-transfer paths.
  • Nominal network link rates are not equivalent to effective application bandwidth.
  • Storage protection and SSD write amplification must be measured separately.
  • Cache behaviour can significantly alter benchmark interpretation.
  • fio provides controlled host-oriented storage workload characterisation.
  • GPUDirect Storage requires GPU-aware benchmarking and actual path validation.
  • Cluster capacity must include concurrent demand, bursts and degraded-mode operation.
  • Checkpoint activity can compete with training input for shared resources.
  • Performance investigations should follow application dependencies across infrastructure layers.
  • Useful training throughput is the ultimate measure of successful AI storage performance engineering.
Continue the Engineering Journey

From storage performance to production architecture and resilience

Understanding storage performance establishes the quantitative foundation for designing enterprise AI storage infrastructure.

The final section brings together NVMe, NVMe over Fabrics, GPUDirect Storage, RDMA, distributed filesystems, redundant storage fabrics, multipathing, failure domains, security, observability and production incident investigation into a complete enterprise AI storage architecture.

NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 08

Engineering Every Gigabyte.

Enter the GPU storage performance laboratory. Explore the relationship between I/O size, queue depth, service latency, PCIe bandwidth, NUMA locality and storage amplification. Discover which resource actually limits the AI data pipeline.

TITANIUM PERFORMANCE ENGINEERING EDITION
GPU STORAGE PERFORMANCE / DIGITAL TWIN BENCHMARK READY
HIGH-PERFORMANCE AI STORAGE SERVER PARALLEL NVMe STORAGE ARRAY OUTSTANDING I/O REQUESTS QUEUE DEPTH 32 PCIe SWITCH FABRIC PCIe GEN 4 / x8 HOST NUMA TOPOLOGY NUMA 0 NUMA 1 LOCAL ROOT REMOTE ROOT LOCAL PLACEMENT GPU ACCELERATOR CLUSTER / HBM LOGICAL ARCHITECTURE / SIMULATED PERFORMANCE
Storage payload PCIe fabric GPU memory delivery NUMA interconnect Degraded resource
Architecture inspector

Effective throughput
0
GB/s useful application payload
Application IOPS
0
Logical I/O operations per second
Effective mean latency
0
Microseconds / modelled
GPU input demand satisfied
0%
Not measured GPU utilisation

Storage Benchmark Configuration

Performance Bottleneck Investigator

Concurrency-limited throughput
Effective physical media amplification
PCIe payload ceiling
Effective throughput model
T = min(T_queue, T_media, T_PCIe, T_NUMA)

The lowest capacity determines the maximum modelled application throughput.

Interactive performance surface

Queue Depth versus I/O Size Heatmap

Explore 49 workload combinations against the current infrastructure configuration. Each cell shows useful application throughput in GB/s. Select any cell to apply that queue depth and block size.

Low demand coverage
Full demand coverage

Storage Latency Distribution Explorer

Examine the difference between average response time and tail latency. The distribution below is a synthetic lognormal model, not measured benchmark data.

P50 latency
P95 latency
P99 latency

Live Benchmark Telemetry

Application throughput GPU input demand
Benchmark elapsed
0.0 s
Logical data transferred
0.0 GB
Physical media traffic
0.0 GB
Engineering state comparison

Baseline versus Optimised Configuration

Capture a baseline before modifying the infrastructure. Compare throughput, IOPS, latency, amplification and GPU input coverage against the current configuration.

Performance metric Baseline Current Change
STORAGE PERFORMANCE EVENT CONSOLE
Engineering discovery lab

Recover a bandwidth-starved GPU storage server.

An AI cluster requires 24 GB/s of input bandwidth. Its NVMe storage array supports 32 GB/s, but the server is configured with a PCIe Gen 4 x8 aggregate link, remote NUMA placement and insufficient I/O concurrency.

The workload uses 128 KiB reads with an unloaded service latency of 100 microseconds. Preserve the workload, storage array and GPU demand. Correct the PCIe configuration, NUMA placement and queue depth.

The objective is to achieve at least 24 GB/s of useful application throughput without replacing the NVMe storage array.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

This laboratory uses an illustrative, steady-state, fixed-block-size storage performance model. PCIe Gen 3, 4 and 5 use 128b/130b encoding with an additional assumed 90% payload efficiency.

Media amplification represents physical storage traffic per logical application byte. It reduces the useful media bandwidth but is not automatically applied to host PCIe traffic.

The latency model combines unloaded service latency, illustrative NUMA overhead and additional waiting implied by a continuously occupied aggregate queue. Real systems have more complex queueing, scheduling, firmware, caching and workload-dependent behaviour.

PCIe bandwidth is modelled as a single directional-equivalent aggregate budget. Actual PCIe links are full duplex, and mixed read/write workloads may exploit separate directional capacity.

Synthetic latency percentiles and benchmark telemetry are educational calculations, not measured NVIDIA, PCIe or NVMe hardware performance results.

NETWORK INSIGHT / PRODUCTION ENGINEERING / 09

Engineering Resilient
GPU Storage Infrastructure

Building an AI storage platform is not simply a question of deploying faster SSDs. Production engineering requires predictable data delivery, independent failure domains, controlled congestion, recoverable storage paths and visibility across the entire journey from persistent media to GPU memory.

01

Performance

Sustain the data delivery rate required by concurrent GPU workloads.

02

Resilience

Maintain storage access through supported path and component failures.

03

Observability

Correlate GPU utilisation with storage, PCIe and fabric telemetry.

04

Recoverability

Restore application progress using durable, validated checkpoints.

09.1 / REFERENCE ARCHITECTURE

The Production AI Storage Fabric

A disaggregated AI storage architecture separates compute capacity from persistent storage capacity. GPU servers access shared storage services through high-performance network interfaces, while independent fabrics provide alternative connectivity.

GPU COMPUTE CLUSTER GPU SERVER 01 GPU SERVER 02 GPU SERVER 03 GPU / HBM GPU / HBM GPU / HBM GPU / HBM GPU / HBM GPU / HBM PCIe / NIC A + NIC B PCIe / NIC A + NIC B PCIe / NIC A + NIC B STORAGE FABRIC A STORAGE FABRIC B Independent switching domain Independent switching domain STORAGE TARGET A STORAGE TARGET B NVMeNVMe NVMeNVMe NVMeNVMe NVMeNVMe SUPPORTED SHARED STORAGE / REPLICATION LAYER
AGGREGATE DELIVERY80 GB/s
P99 I/O LATENCY180 µs
GPU UTILISATION94%
STORAGE STATEHealthy
Both fabrics are available. Storage traffic is distributed across supported paths, with sufficient capacity for the illustrated workload.

Conceptual topology and illustrative telemetry. Target failover assumes a storage system that preserves namespace access and data consistency. Values are not measured hardware benchmarks.

09.2 / FAILURE DOMAIN ENGINEERING

Redundancy Is Not the Same as Resilience

Two network connections do not necessarily create two independent failure domains. Both connections might depend on the same PCIe switch, power distribution system, physical switch or storage controller. Effective resilience requires identifying these shared dependencies.

Failure domainPotential impactEngineering control
NIC or HCALoss of host storage pathIndependent adapters and supported multipathing
PCIe switchMultiple devices become inaccessibleIndependent PCIe roots where feasible
Fabric switchStorage network interruptionSeparate switching fabrics
Storage controllerNamespace or service interruptionSupported HA controller architecture
SSDMedia failure or degraded throughputReplication or erasure coding
Metadata serviceFile lookup and open failuresRedundant metadata services
Power or rackCorrelated infrastructure outageRack-aware placement and power separation
Engineering principle: Multipathing protects access paths. Replication protects data availability. Backups and recoverable checkpoints protect against a different class of failure. None is a complete substitute for the others.
09.3 / STORAGE PATH RESILIENCE

NVMe Multipathing and ANA

NVMe multipathing allows a host to maintain multiple controller paths to a namespace. Asymmetric Namespace Access (ANA) communicates differences in path accessibility and optimisation, enabling a compatible host to make informed path selection decisions.

Optimized

The namespace is accessible through a preferred path.

Non-optimized

The namespace remains accessible, but the path may be less efficient.

Inaccessible

The namespace cannot currently be accessed through this path.

Change

A transition is occurring. Host behaviour depends on ANA and controller state.

ANA also defines a persistent loss state. Path recovery depends on controller behaviour, host policies, reconnect settings and I/O timeouts. An alternative path does not guarantee uninterrupted application execution.

09.4 / CAPACITY ENGINEERING

Designing for Degraded Operation

Storage fabrics should be sized for both normal and degraded operation. A design that operates near saturation when all components are healthy may experience severe queueing when a single fabric fails.

Normal aggregate capacity100 GB/s
Illustrative workload demand80 GB/s
Capacity after one fabric fails50 GB/s
Unserved demand during failure30 GB/s

In this simplified example, two fabrics each provide 50 GB/s of usable capacity. The workload requires 80 GB/s. Following a fabric failure, the surviving path cannot satisfy the original demand. Queues may grow, application throughput may fall and GPU workers may spend more time waiting for data.

Capacity objective: If full performance must survive a single fabric failure, each independent surviving fabric must support the required workload, including appropriate protocol overhead and operational headroom.
09.5 / END-TO-END OBSERVABILITY

Building the Storage Telemetry Stack

GPU utilisation alone cannot identify a storage bottleneck. Engineers must correlate measurements across the application, GPU, PCIe topology, network and persistent storage infrastructure.

APPLICATION

Training pipeline

Batch preparation time, data loader wait, checkpoint duration and step-time variance.

GPU

Accelerator telemetry

GPU activity, memory utilisation, PCIe traffic and relevant DCGM profiling metrics.

DATA PATH

GPUDirect Storage

cuFile diagnostics, supported direct paths, compatibility behaviour and transfer statistics.

FABRIC

Network telemetry

Port throughput, congestion notifications, discards, pause counters and RDMA errors.

STORAGE

Target telemetry

IOPS, queue depth, tail latency, controller utilisation and namespace availability.

MEDIA

SSD health

Temperature, endurance, media errors, spare capacity and thermal throttling.

09.6 / INCIDENT INVESTIGATION

When Healthy GPUs Stop Making Progress

Consider a distributed training cluster where GPU activity suddenly declines, despite no accelerator hardware failures. The investigation begins by correlating application symptoms with infrastructure events.

00:00 — BASELINE

Training operates normally

Data loader queues remain populated and training step times are stable.

00:30 — TRIGGER

One storage fabric becomes unavailable

Supported multipathing redirects eligible storage I/O to surviving paths.

00:35 — PROPAGATION

Surviving fabric becomes congested

Offered load exceeds available capacity and storage tail latency increases.

00:50 — APPLICATION IMPACT

GPU workers experience input starvation

Data preparation falls behind computation and distributed training progress slows.

02:00 — MITIGATION

Reduce competing storage demand

Apply workload-aware throttling or scheduling while investigating the failed fabric.

05:00 — RECOVERY

Restore and validate storage paths

Confirm path state, application progress, latency and checkpoint integrity before closing the incident.

Root cause versus symptom: Low GPU utilisation is the visible symptom. Insufficient surviving storage bandwidth is the immediate performance constraint. The underlying engineering weakness is inadequate degraded-mode capacity.
09.7 / ENGINEERING TERMINAL

Production Diagnostic Commands

The following Linux commands provide starting points for investigating GPU topology, NVMe paths, RDMA interfaces and storage performance. Availability depends on installed utilities, drivers and privileges.

# GPU and PCIe topology
nvidia-smi
nvidia-smi topo -m
lspci -tv

# GPUDirect Storage compatibility
/usr/local/cuda/gds/tools/gdscheck -p

# NVMe controllers and subsystem paths
nvme list
nvme list-subsys
nvme ana-log /dev/nvme0

# NVMe device health
nvme smart-log /dev/nvme0

# RDMA interfaces and resources
rdma link show
rdma statistic show
ibstat

# Network interface counters
ip -s link show
ethtool -S eth0

# Storage performance and latency
iostat -xz 1

# Kernel events
journalctl -k --since "10 minutes ago"

Replace device and interface names with the actual production identifiers. The GDS utility location may vary with installation. ANA log availability depends on controller support.

Observed symptomInvestigateEvidence
GPU starvationData loader and storage deliveryBatch wait, I/O latency
High CPU usageStaged I/O or preprocessingcuFile diagnostics, CPU profiles
Unexpected latencyCongestion or queue saturationP99 latency, queue depth, ECN
Intermittent I/O errorsPath or controller instabilityNVMe logs, kernel events
Low transfer bandwidthPCIe or NUMA localityTopology and negotiated link state
Slow checkpointsConcurrent write amplificationWrite throughput, durability latency
09.8 / SECURITY AND DATA PROTECTION

Protecting the AI Storage Infrastructure

Fabric isolation

Separate storage traffic and management access using appropriate network segmentation and access controls.

Host authorisation

Restrict subsystem and namespace access. Use supported authentication mechanisms rather than treating NQNs as credentials.

DMA protection

Evaluate IOMMU configuration, registered memory boundaries and platform-specific GDS compatibility.

Data confidentiality

Use supported encryption at rest and in transit, validating performance and direct-path compatibility.

Checkpoint integrity

Validate checkpoint consistency, access permissions, durability and successful restoration.

Management security

Protect administrative interfaces, firmware updates, credentials and infrastructure audit logs.

09.9 / PRODUCTION READINESS

GPU Storage Architecture Validation

Use this engineering checklist when reviewing an AI storage deployment before introducing production workloads.

ARCHITECTURE VALIDATION PROGRESS 0 / 12

Checklist progress is temporary and does not constitute automated infrastructure validation.

ENGINEERING CONCLUSION

The Storage System Is Part of the AI Compute System

Modern GPU infrastructure cannot be engineered by considering accelerators, networking and storage as independent systems. Application throughput emerges from the interaction between all three, together with software scheduling, memory management and data preparation.

NVMe provides efficient storage command processing. NVMe-oF extends that storage model across network fabrics. RDMA reduces host data movement overhead, while GPUDirect Storage enables supported direct data transfers involving GPU memory.

Their combined value depends on correct topology, adequate bandwidth, compatible software, predictable latency, operational resilience and disciplined performance engineering.

The ultimate engineering objective: Deliver the right data to the right GPU at the right time, while preserving performance, correctness and recoverability throughout the infrastructure lifecycle.
NETWORK INSIGHT   /   THE VISUAL AGE OF ENGINEERING
NETWORK INSIGHT
INTERACTIVE ENGINEERING EXPERIENCE / SECTION 09

Inside the AI Storage Command Centre.

Take control of a production-inspired GPU storage infrastructure. Investigate degraded training performance, inspect redundant storage fabrics, collect diagnostic evidence, identify root causes and restore the end-to-end AI data pipeline.

TITANIUM STORAGE COMMAND CENTRE MASTER EDITION
Production incident library

Select an engineering investigation

Current investigation
Healthy AI Storage Infrastructure

OPERATIONAL
PRODUCTION AI STORAGE DIGITAL TWIN ACTIVE PATH: FABRIC A
DISTRIBUTED NVMe STORAGE / PROTECTED DATASET NVMe TARGET A ONLINE / 24 GB/s NVMe TARGET B ONLINE / 24 GB/s CHECKPOINT STORAGE STANDBY REDUNDANT RDMA STORAGE FABRICS STORAGE FABRIC A 400 Gbit/s / ACTIVE STORAGE FABRIC B 400 Gbit/s / STANDBY AI COMPUTE NODE / HOST AND ACCELERATOR ARCHITECTURE DUAL-PORT RDMA ADAPTER PORT A PORT B RDMA OPERATIONAL PCIe ROOT / SWITCH GEN 5 / x16 CPU / HOST MEMORY CPU DIRECT PAYLOAD PATH GPU ACCELERATOR CLUSTER / HBM LOGICAL PRODUCTION ARCHITECTURE / SIMULATED TELEMETRY
Primary storage path Secondary storage path Direct GPU data placement Host staging / checkpoint traffic Failed or degraded resource
Infrastructure inspector

Storage input throughput
GB/s useful payload
GPU input demand coverage
Configured demand: 32 GB/s
Storage service latency
Microseconds / modelled
Checkpoint duration
128 GB checkpoint estimate

Infrastructure Observability

Multipath
RDMA
GDS
Storage targets
PCIe link
Checkpoint

Infrastructure Remediation Console

Collect diagnostic evidence before changing infrastructure state. Apply targeted remediation and verify the resulting performance.

Controlled fault injection
Diagnostic evidence collection

AI Storage Engineering Terminal

Execute simulated diagnostic commands to inspect NVMe controllers, multipath connectivity, RDMA links, PCIe negotiation, GPU input telemetry and GPUDirect Storage compatibility.

  AI-COMPUTE-01 / SIMULATED DIAGNOSTIC SHELL
engineer $

Linux-style commands return simplified synthetic output. Commands beginning with "show" are laboratory-specific diagnostic commands, not standard Linux utilities. No commands execute against a real system.

Engineering Investigation Evidence Board

No diagnostic evidence collected.

Production Performance Timeline

Storage input throughput GPU input demand Checkpoint write allocation
Incident reconstruction

Infrastructure Incident Timeline

Network state comparison engine

Healthy Baseline versus Incident versus Recovery

Engineering metric Healthy baseline Initial incident Current state
Production architecture review

Storage Security and Resilience Checklist

01 / Independent failure domains

Separate fabric switches, adapters, power infrastructure and storage failure domains wherever the availability design requires it.

02 / Storage access controls

Restrict namespace access using appropriate host identities, subsystem access controls and supported authentication mechanisms.

03 / RDMA network isolation

Apply network segmentation, controlled fabric access, congestion management and monitoring appropriate to the transport.

04 / Checkpoint durability

Validate checkpoint integrity, recovery procedures, retention policies and independent backup requirements.

05 / Encryption and key management

Verify encryption at rest and supported in-transit protection for the selected storage transport and threat model.

06 / End-to-end observability

Correlate storage, RDMA, PCIe, application and GPU telemetry rather than relying on isolated device-health indicators.

Final engineering discovery challenge

Restore production AI storage infrastructure.

Select an incident, collect the relevant diagnostic evidence, identify the root cause and apply targeted remediation. Restore at least 32 GB/s of GPU input capacity and validate the recovered infrastructure.

NETWORK INSIGHT   /   INTERACTIVE ENGINEERING LABORATORY

This laboratory implements a deterministic, simplified production storage model. The two NVMe targets represent a protected storage pool whose data remains accessible following one target failure.

The redundant storage fabrics use a single-active path policy with simplified automatic failover. Actual NVMe multipathing depends on subsystem topology, ANA states, host configuration and transport-specific recovery behaviour.

RDMA congestion penalties, checkpoint allocations, host-memory budgets and service latency are illustrative engineering assumptions rather than measured hardware performance.

GPU input coverage compares available storage payload capacity against a fixed input demand. It does not represent measured GPU utilisation, SM occupancy or model FLOPS utilisation.

☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Matt Conran
Tags: No tags

Comments are closed.