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.
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.
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.
GPU performance is a system-level property. Compute, storage, networking, memory topology and software execution must be engineered together.
From storage media to GPU memory
Conventional Storage Path
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
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.
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.
Three technologies. One storage ecosystem.
NVMe
A storage protocol designed for non-volatile memory, supporting parallel command queues and efficient access to high-performance storage devices.
NVMe over Fabrics
Extends NVMe command semantics across network fabrics using transports such as RDMA, TCP and Fibre Channel.
GPUDirect Storage
Enables supported storage-to-GPU data paths that reduce reliance on intermediate system-memory buffers.
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.
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.
GPU Storage Architecture
Memory hierarchy, data movement, CPU staging and accelerator I/O bottlenecks.
NVMe & PCIe
Controllers, command queues, namespaces, DMA and PCIe topology.
NVMe over Fabrics
Remote storage access, discovery, subsystems and network transport architectures.
GPUDirect Storage
cuFile, direct DMA, supported I/O paths and compatibility behaviour.
RDMA Storage Networking
InfiniBand, RoCEv2, queue pairs, congestion and remote memory access.
Parallel File Systems
Distributed metadata, storage targets, striping and parallel data access.
AI Training Pipelines
Dataset ingestion, distributed data loading, checkpointing and recovery.
Performance Engineering
Throughput, IOPS, latency, queue depth, NUMA locality and benchmarking.
Production Troubleshooting
Failure domains, degraded paths, GPU starvation and storage incident investigation.
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.
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.
Understanding GPU Storage Architecture
Explore GPU memory hierarchy, persistent storage, CPU bounce buffers, DMA, PCIe topology, NUMA locality and GPU starvation.
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 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.
GPU Execution
Executes tensor operations, matrix calculations, neural network layers and massively parallel application kernels.
GPU Memory
Holds active tensors, model parameters, intermediate results and other data required by accelerator workloads.
Persistent Data
Provides datasets, model checkpoints, application files and durable storage for large-scale AI infrastructure.
Increasing the number of GPUs without scaling the supporting data delivery infrastructure can increase contention and reduce effective utilisation across the entire cluster.
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.
| 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.
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.
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.
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.
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.
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.
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.
Host-Memory Staging
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.
GPUDirect Storage
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.
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.
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.
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 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.
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.
I/O Submission
The application and software stack prepare an I/O request, identify the relevant storage data and establish the destination buffer.
Memory Mapping
The platform establishes the address mappings and access permissions required for the device to perform the supported DMA operation.
Payload Transfer
The appropriate hardware engine transfers data through the I/O fabric and completion information is returned through the software stack.
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.
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.
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.
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.
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.
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.
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.
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.
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 |
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.
The original workload maintains sufficient input buffering and relatively consistent compute intervals.
More concurrent dataset readers increase demand on shared storage and data preparation resources.
Input queues become depleted. Some workers wait for data while others complete computation.
Examine storage latency, network throughput, PCIe connectivity, CPU utilisation, data-loader timing and GPU execution traces.
Determine whether the slowdown originates in storage, networking, host memory, preprocessing, synchronisation or another dependency.
Repeat the same workload after remediation and compare throughput, input wait time and accelerator activity against the original baseline.
Storage starvation is only one possible explanation. Distributed communication, CPU preprocessing, insufficient parallelism, synchronisation and application behaviour must also be considered.
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.
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.
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.
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.
Storage Engineering Controls
Live Infrastructure Telemetry
Inside the Data Journey
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.
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.
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 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.
NVMe
Defines command formats, controller behaviour, queues, namespaces and storage management operations.
PCI Express
Provides high-speed local connectivity between an NVMe controller and the host computing platform.
Non-Volatile Memory
Provides persistent data storage. NAND flash is widely used, but the NVMe protocol is not tied to a single storage technology.
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.
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.
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.
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.
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.
Administrative Queue Pair
Supports operations such as Identify, Get Features, Set Features, Get Log Page and creation or deletion of I/O queues.
I/O Queue Architecture
Supports normal storage operations, allowing multiple outstanding commands and concurrent access from application workers.
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.
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.
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.
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.
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.
The application requests data. The operating system or userspace storage stack translates the request into the appropriate storage operations.
The driver prepares the opcode, command identifier, namespace identifier, logical block range and data pointer information.
The command is written into an available submission queue entry. The host updates the tail doorbell after the command is ready for controller access.
The controller fetches the submission queue entry using the supported memory-access mechanism and schedules the requested operation.
For a NAND-based SSD, the controller uses its internal mapping and flash-management mechanisms to locate and retrieve the requested data.
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.
The controller writes completion information to the associated completion queue and may generate an interrupt, depending on configuration.
The host recognises the new completion, resolves the command status, releases or reuses resources as appropriate and advances the completion queue head doorbell.
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.
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.
| 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 |
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.
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.
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.
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.
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.
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.
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.
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.
| 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 |
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.
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.
32 Outstanding Requests
At an average latency of 100 microseconds, 32 average outstanding requests correspond to approximately 320,000 IOPS in steady state.
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.
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.
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.
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.
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.
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.
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.
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.
# 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
| 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 |
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.
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.
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.
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.
NVMe Engineering Controls
PCIe Lane and Controller Telemetry
NVMe Submission Queue
0 pendingHost software writes command descriptors into the submission queue and updates the controller doorbell. The controller fetches commands using DMA.
NVMe Completion Queue
0 completedThe 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
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.
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.
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.
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.
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.
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.
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.
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.
Hosts, targets, subsystems and remote namespaces
Understanding NVMe-oF requires separating the physical storage infrastructure from the logical entities presented to connecting hosts.
NVMe Host
The system requesting storage access. Its NVMe-oF initiator establishes controller connections and submits storage commands.
NVMe Target
The implementation accepting fabric connections and exposing NVMe controllers and storage namespaces to authorised hosts.
NVMe Subsystem
A logical NVMe storage entity containing controllers and potentially shared namespaces. It is identified by a subsystem NQN.
Controller A
Host-facing controller association.
Controller B
Alternative controller association.
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.
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.
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.
Uses RDMA-capable infrastructure to transfer data between registered memory regions.
Carries NVMe protocol data units over reliable TCP connections.
Integrates NVMe storage access with supported Fibre Channel SAN infrastructure.
| 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 |
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.
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.
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.
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.
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.
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.
| 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.
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.
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.
FC Host Bus Adapter
A compatible HBA provides host connectivity and supports the required Fibre Channel and NVMe transport functions.
Fibre Channel SAN
Provides fabric login, name services, zoning and frame forwarding across supported storage infrastructure.
NVMe/FC Target
Exposes supported NVMe subsystems and namespaces through the FC-NVMe transport.
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.
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.
| 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 |
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.
The host establishes the transport-specific communication resources, such as a TCP connection or RDMA connection.
Transport-specific initialisation takes place. NVMe/TCP, for example, exchanges ICReq and ICResp PDUs before normal command capsules.
A Fabrics Connect command for queue ID zero establishes the administrative queue association with the remote controller.
Where configured and supported, the host completes the applicable authentication exchange before normal controller operations.
The host performs the required controller property operations, readiness checks, Identify commands and feature configuration.
The host establishes transport resources and issues Fabrics Connect commands for non-zero queue IDs associated with the controller.
The host identifies the namespaces exposed through the controller and creates the corresponding operating-system storage objects.
Normal read and write commands flow through established I/O queues. Keep-alive, asynchronous events and recovery mechanisms maintain controller operation where applicable.
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.
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 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.
NUMA Locality
Prefer suitable paths based on proximity to the CPU or NUMA node handling the I/O, where supported by the host implementation.
Round Robin
Distribute requests among eligible paths using a rotating selection policy.
Queue Depth
Select eligible paths using outstanding I/O information where supported by the operating system and driver version.
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.
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.
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.
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.
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.
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.
Dataset Delivery
Supply training data to multiple GPU workers while managing aggregate read throughput, metadata operations and workload concurrency.
Persistent Model State
Absorb large checkpoint writes and provide the persistence and recovery semantics required by distributed training systems.
Model Loading
Retrieve model weights and other artifacts when inference servers initialise or load additional models.
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.
NVMe over Fabrics
Extends NVMe command and storage access semantics across a network fabric.
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.
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.
Host NQN Access Control
Restrict which host identities can connect to particular subsystems. Treat identity allowlists as one layer of access control.
DH-HMAC-CHAP
Use supported NVMe in-band authentication mechanisms to authenticate connecting entities. Mutual authentication may be available.
Transport Protection
Evaluate supported NVMe/TCP TLS capabilities and appropriate transport-specific security controls. Authentication alone does not encrypt storage payloads.
Fabric Segmentation
Separate storage traffic using suitable network architecture, routing policy, access controls and dedicated fabrics where appropriate.
Connection and Queue Limits
Control resource allocation and monitor excessive connections, queue creation, command rates and target saturation.
Namespace Governance
Apply least-privilege storage exposure, encryption at rest, backup, recovery and appropriate tenant isolation.
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.
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.
# 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
| 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 |
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.
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.
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.
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.
Storage Fabric Engineering Controls
Fabric Command Centre
NVMe-oF Connection and Namespace Inspector
Remote Storage I/O Journey
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.
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.
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.
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.
Reduced Memory Copies
Registered buffers can be accessed by the adapter without staging every transfer through additional application or kernel payload buffers.
Hardware-Assisted Processing
Supported adapters perform transport processing, DMA operations and communication resource management in hardware.
Asynchronous Operations
Applications can submit multiple outstanding work requests and process completions independently of submission.
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.
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 Processing Engine
WQE processing · Address translation · Access validation · DMA · Transport execution
Work Request
Describes an operation to be executed, including the operation type, buffer references and relevant remote-memory information.
Work Queue Element
The queue representation consumed by the adapter or its execution mechanism. Its exact structure depends on the device.
Completion Queue Entry
Reports completion status and associated operation information for work that generates a completion.
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
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.
Illustrative Memory Allocation
Registered length: 16 KiB
Four illustrative 4 KiB pages form the registered memory region. Physical pages need not be contiguous.
lkey
Used by local work requests to reference and validate registered memory access.
rkey
Used by supported remote-memory operations to identify authorised access to a region or memory window.
Address Translation and Access Validation
Region bounds · Access permissions · Protection-domain association · Memory keys · DMA mappings
Registered Address Range
Describes memory accessible to the adapter under the configured registration and access permissions.
Local Key
Associates a local scatter/gather buffer reference with the appropriate registered memory resources.
Remote Key
Participates in validating remote access together with the address, region bounds, permissions and relevant communication resources.
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.
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.
| 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 |
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.
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.
The initiating application prepares data in memory accessible to its RDMA adapter.
The request references the local buffer, transfer length, remote address and rkey.
The local adapter processes the operation and transports the payload using the configured communication service.
The remote adapter validates access and places the data into the destination region.
The initiator processes completion information according to the transport and signalling configuration.
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.
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.
Push Model
The initiator pushes data into an authorised remote destination buffer.
Pull Model
The initiator retrieves data from an authorised remote source buffer.
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.
| 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 |
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.
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.
Dedicated high-performance fabric with native RDMA capabilities, credit-based flow control and subnet management.
Routable RDMA over Ethernet using UDP/IP encapsulation of the applicable InfiniBand transport structures.
RDMA architecture using reliable TCP transport together with direct data placement and RDMA protocol layers.
| 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 |
Understanding RoCEv2 packet encapsulation
RoCEv2 carries applicable InfiniBand transport structures inside UDP/IP packets. This enables RDMA communication across supported routed Ethernet infrastructure.
BTH
Opcode · Destination QP · Packet Sequence Number · Partition Key · Applicable transport control fields
RETH
Remote virtual address · Remote key · DMA length
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.
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.
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.
Explicit Congestion Notification
ECN allows network devices to signal congestion by marking eligible IP packets rather than relying exclusively on drops.
Congestion Notification Packet
A RoCE receiver can generate CNPs in response to congestion indications, enabling the relevant sender to react.
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 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.
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.
Host Channel Adapter
Provides communication resources, transport processing and memory-access capabilities for supported InfiniBand operations.
Subnet Manager
Discovers fabric topology, assigns relevant addressing information and configures forwarding behaviour within the subnet.
Credit-Based Transmission
Uses link-level credits to manage available receive buffering and regulate transmission across supported virtual lanes.
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.
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.
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.
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.
GPUDirect RDMA
Allows supported third-party devices, such as network adapters, to perform peer memory transfers involving GPU memory.
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 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.
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.
Doorbell Batching
Submit multiple work requests while reducing unnecessary device notification overhead where supported.
Selective Signalling
Reduce successful send-completion overhead while correctly managing outstanding resources and error handling.
Registered Buffer Pools
Reuse appropriately registered memory resources to reduce repeated registration and mapping costs.
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.
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.
# 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
| 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 |
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.
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.
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.
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.
Storage Data Path Engineering
GPUDirect Storage Compatibility Lab
Configure the requirements of this simplified direct-DMA architecture.
Direct Memory Access Path Inspector
Conventional vs GPUDirect Storage
Compare both requested modes using the same storage capacity, dataset and workload configuration.
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
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.
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.
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.
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.
Intermediate Buffer Traffic
System memory receives the storage payload and subsequently supplies data for transfer into GPU memory.
Additional Transfer Stage
The application must coordinate storage completion with subsequent GPU transfer and execution dependencies.
GPU Starvation
If the data-loading pipeline cannot keep pace with GPU computation, expensive accelerator resources can remain idle.
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.
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.
Direct DMA
Supported devices can transfer storage payloads to or from GPU memory without an intermediate host-memory payload buffer.
CPU-Orchestrated I/O
The CPU continues to manage application logic, file operations, I/O requests, resource allocation and completion handling.
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.
cuFile
Provides GPU-aware file I/O functions for applications and compatible storage integration libraries.
GPU Memory Coordination
Supported kernel and driver mechanisms establish the memory-access resources required for storage-related DMA.
Filesystem and Device Support
The storage implementation must support the required direct I/O and GPU-memory access mechanisms.
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 |
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.
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.
// 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; }
Storage Position
Identifies the starting byte position within the registered file.
GPU Memory Position
Identifies the starting position within the supplied GPU allocation.
I/O Size
Determines the requested byte count. Alignment and size can influence direct-path eligibility and performance.
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 Buffer
Registered subregion: 4 MiB
Registration offset: 2 MiB
Each block represents an illustrative 1 MiB segment, not a physical GPU page. The highlighted segments represent the registered subregion.
Buffer Registration
Establishes reusable memory-access resources for the supported GDS path.
DMA Mapping
Associates accessible GPU memory with device-appropriate DMA addressing and mapping mechanisms.
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.
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.
Peer Connectivity
Suitable switch topology can allow device traffic to remain within a local PCIe hierarchy rather than traversing additional system interconnects.
Resource Placement
GPU, NIC, storage and CPU placement influence memory-access paths and overall application performance.
ACS and IOMMU
Access Control Services and IOMMU configuration can affect peer routing, address translation and 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.
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.
The application identifies the file, file offset, transfer size and GPU buffer.
Supported filesystem and storage components resolve the required storage access and prepare the request.
The storage stack submits the appropriate command and device-accessible buffer information.
The NVMe controller retrieves the requested data and transfers it through the supported DMA path.
The storage payload reaches the appropriate GPU memory range when direct access is supported.
The application validates the result and observes the required GPU execution dependencies before consuming the data.
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.
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.
Distributed Data Services
Resolve file requests, retrieve data and manage the storage system's internal data and metadata architecture.
RDMA Transport
Provides hardware-assisted memory transfers across a supported high-performance network.
Peer Memory Placement
A compatible RNIC and GPU memory path enable supported direct placement into the application's GPU buffer.
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.
| 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 |
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.
File Offset Alignment
Align file offsets according to the requirements of the supported storage and filesystem implementation.
GPU Buffer Alignment
Consider allocation alignment and offsets into GPU buffers when preparing storage operations.
I/O Size
Larger aligned requests can amortise submission overhead, but the optimal size depends on the application workload.
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.
Read Before Compute
Ensure storage I/O has completed and the GPU can safely observe the data before launching dependent computation.
Compute Before Write
Ensure GPU-produced data is ready before submitting dependent storage writes or checkpoint operations.
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.
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.
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.
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.
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 NVMe
Suitable local storage configurations can provide direct GPU I/O through supported filesystem and device paths.
NVMe over Fabrics
Supported NVMe-oF integrations can expose remote storage resources through high-performance storage transports.
Parallel Filesystems
Supported parallel filesystem integrations can distribute file access across multiple storage servers and network paths.
Network Filesystems
Direct-path availability depends on the specific client, server, transport and GDS integration.
Application Libraries
GPU-aware data loaders and I/O libraries can integrate cuFile capabilities into larger application workflows.
Version Compatibility
GPU driver, CUDA, kernel, filesystem, storage software and device versions must be evaluated together.
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.
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.
# 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'
| 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 |
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.
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.
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.
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.
RDMA Fabric Engineering Controls
Congestion and Flow Control Centre
RDMA Queue Pair State Machine
Work Queue and Completion Queue Inspector
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
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.
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.
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.
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.
Distributed Bandwidth
Multiple storage nodes can contribute bandwidth to a shared workload rather than requiring every request to traverse one data server.
Parallel Data Access
Independent GPU compute nodes can access different dataset regions or files simultaneously.
Scale-Out Architecture
Additional storage resources can increase capacity and potentially improve aggregate performance.
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.
/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
Directory Operations
Create, remove, rename and locate files within a shared filesystem hierarchy.
File Layout
Maintain the information required to identify the storage resources containing file data.
Consistency and Permissions
Coordinate concurrent operations, access permissions and filesystem consistency according to the platform's semantics.
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.
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.
Data Distribution Granularity
Smaller stripes distribute data more frequently. Larger stripes can reduce the number of targets involved in smaller sequential requests.
Parallel Storage Resources
Increasing the number of participating targets can increase potential bandwidth for suitable large-file workloads.
Layout Selection
Select layouts according to file size, access patterns, concurrency and storage resource availability.
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.
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.
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.
MGS / MGT
The Management Server and Management Target provide filesystem configuration information to participating components.
MDS / MDT
Metadata Servers provide access to Metadata Targets and coordinate supported namespace operations.
OSS / OST
Object Storage Servers provide access to Object Storage Targets containing file data objects.
Lustre Client
Presents the filesystem namespace and coordinates metadata and data operations with remote services.
LNet
Provides Lustre networking facilities across supported transport implementations.
File Striping
Controls how supported file layouts distribute data across Object Storage Targets.
# 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
Distributed storage architecture comparisons
Enterprise AI storage platforms address similar infrastructure requirements using different software architectures, data placement strategies, metadata models and deployment approaches.
Lustre
A parallel filesystem architecture featuring dedicated metadata and object storage services, configurable file layouts and distributed client access.
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.
BeeGFS
BeeGFS distributes filesystem metadata and file data across configurable services, allowing clients to access storage targets in parallel.
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.
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.
| 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 |
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.
Following a parallel filesystem read request
Consider a GPU training server opening a large dataset file whose contents are distributed across several storage targets.
The training application opens a file through the mounted distributed filesystem namespace.
The client obtains required metadata from its cache or the appropriate metadata service.
The filesystem identifies the storage resources associated with the requested file regions.
The client submits supported concurrent I/O operations to the relevant data services.
Storage services obtain the required data from memory, flash or other configured storage resources.
Data traverses supported network transports toward the compute server.
The client delivers the data into host memory or supported GPU-memory paths according to the application and storage integration.
The application observes successful completion and the required execution dependencies before consuming the data.
Filesystem clients can cache metadata, file layouts and other state. Actual request sequences depend on cache state, filesystem semantics and the selected storage implementation.
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.
InfiniBand
Provides high-performance networking and RDMA capabilities for supported distributed storage deployments.
RoCEv2
Provides routable RDMA transport over Ethernet, requiring appropriate congestion and network design.
GPUDirect Storage
Enables supported GPU-aware file I/O paths that reduce unnecessary host-memory payload staging.
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.
Multiple Complete Copies
Three-way replication requires approximately three units of raw capacity for each unit of logical data, excluding other overheads.
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% |
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.
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.
1,000,000 Individual Files
Assuming each sample occupies one 100 kB file, a complete dataset traversal involves one million individual file accesses.
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.
Larger I/O Operations
Suitable dataset packaging can improve opportunities for sequential reads and larger storage requests.
Fewer File Opens
Larger dataset containers can reduce the number of individual filesystem objects accessed during a training scan.
Shard Distribution
Data loaders can distribute shards across workers while maintaining appropriate sampling and shuffle behaviour.
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.
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.
Bisection Bandwidth
Evaluate available bandwidth across the network topology, not merely the sum of server interface speeds.
Multipath Behaviour
Verify that supported routing and transport mechanisms distribute storage flows across available paths.
Traffic Isolation
Prevent storage bursts from unnecessarily degrading latency-sensitive accelerator communication.
Redundant Connectivity
Design for supported failover across NICs, switches, links and independent failure domains.
RDMA Fabric Engineering
Evaluate congestion signalling, queue behaviour and transport-specific flow-control requirements.
End-to-End Telemetry
Correlate network utilisation, storage throughput, latency and application data-loading behaviour.
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.
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.
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.
Checkpoint Scheduling
Avoid unnecessary synchronisation of large checkpoint bursts across independent training jobs.
Asynchronous Checkpointing
Supported asynchronous mechanisms can overlap some checkpoint processing with computation while preserving consistency requirements.
Storage Quality of Service
Supported QoS mechanisms can help manage contention between training, inference and checkpoint workloads.
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 |
# 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'
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 |
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.
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.
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.
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.
Parallel Storage Engineering Controls
Distributed Storage Resource Monitor
Protection and rebuild controls represent generic storage-pool behaviour, not vendor-specific protection implementations.
File Striping and Dataset Distribution
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.
Lustre Architecture
Distributed Storage I/O Journey
The animated sequence is time-compressed. Estimated transfer time is calculated independently using the selected dataset size and modelled throughput.
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.
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.
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.
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.
Dataset Retrieval
Retrieve training samples from local storage, shared filesystems or other supported data services.
Batch Construction
Decode, tokenize, transform and combine samples into tensors suitable for model execution.
Training Execution
Execute model operations, calculate gradients and update training state according to the selected algorithm.
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.
Worker Count
Additional workers may improve throughput until CPU, memory, storage or scheduling limits become dominant.
Worker Replication
Multiple processes can increase host-memory consumption through dataset state, intermediate buffers and process-local allocations.
CPU Oversubscription
Excessive worker and library thread counts can introduce scheduling overhead and compete with training communication processes.
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.
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.
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.
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.
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.
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.
Image Processing
JPEG decoding, resizing, cropping, normalization and augmentation.
Text Processing
Tokenization, sequence packing, padding, masking and batch collation.
Signal Processing
Audio decoding, resampling, feature extraction and multimodal sample assembly.
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.
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.
Page Locking
Keeps registered memory resident for supported device-access operations.
Asynchronous Copy
Can enable supported copy operations to overlap with independent GPU work.
Excessive Pinning
Too much pinned memory can reduce available pageable memory and degrade overall system behaviour.
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.
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.
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.
Host-Staged Pipeline
Storage reads populate host memory. CPU-side preparation creates training tensors, which are subsequently transferred to GPU memory.
Supported Direct Storage Path
Compatible file data can be delivered into GPU memory, where supported processing stages prepare it for accelerator execution.
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.
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.
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()
| 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 |
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.
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.
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: 160 ms · Compute: 80 ms
Ideal compute duty cycle falls to 50% because the input stage requires twice as long as GPU computation.
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.
Parameters and Buffers
Preserve model weights and relevant persistent buffers needed to reconstruct the trained model state.
Training Continuity
Preserve optimizer-specific state, such as momentum or first and second moments, where required.
Progress and Randomness
Preserve training position, scheduling, random state and relevant dataset iteration information.
Even a comprehensive checkpoint may not guarantee bitwise-identical continuation when hardware, world size, software, nondeterministic kernels or data-loading behaviour changes.
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.
| 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 |
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.
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.
Aggregate Storage Throughput
Multiple training processes can contribute concurrent writes to a suitable distributed storage platform.
Reduced Central Gathering
Sharded formats can avoid assembling every distributed tensor on one training process.
Checkpoint Coordination
Participating processes must preserve a compatible training state and correctly identify completed writes.
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.
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.
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.
Participating training processes execute successive optimizer updates.
Required state is staged, serialized and written using the configured checkpoint mechanism.
The framework confirms successful completion and the required storage durability guarantees before marking the generation available for recovery.
A failure prevents the current distributed training job from continuing normally.
Allocate available resources and initialize the required distributed process groups.
Restore compatible model, optimizer and application state, including supported resharding where required.
Restore the required sampler, iteration position and randomness according to the recovery strategy.
Continue training from the restored checkpoint after validating the distributed execution environment.
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.
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.
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.
Retention Policies
Account for retained generations, incomplete writes, protection overhead and temporary checkpoint staging.
Checkpoint Burst Demand
Size storage for concurrent checkpoint writes rather than relying exclusively on long-term average throughput.
Independent Recovery Copies
Protect important training generations against storage-system failures, corruption and accidental deletion.
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 |
# 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
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.
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 |
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.
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.
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.
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.
Training Pipeline Engineering Controls
AI Training Resource Monitor
Checkpoints share the aggregate storage and fabric budgets. Synchronous checkpoints also introduce a training barrier.
Live Prefetch Queue and Training 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.
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
Rolling throughput samples use simulated time. The graph shows pipeline capacity, actual modelled training consumption and checkpoint bandwidth allocation.
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.
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.
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.
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.
IOPS
Input/output operations completed per second. Particularly important for small-block and highly concurrent storage workloads.
Throughput
The volume of data transferred per unit of time, typically expressed in MB/s, GB/s or their binary equivalents.
Latency
Time between an I/O request and its completion at the selected measurement boundary.
Queue Depth
Number of outstanding requests at a specified queue, device or application boundary.
Tail Latency
High-percentile request completion times that expose occasional delays hidden by average measurements.
Training Goodput
Productive application progress, measured through useful samples, tokens or completed training steps.
Increasing storage bandwidth has limited value if the training workload is constrained by CPU preprocessing, distributed collectives or accelerator computation.
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.
| 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.
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.
| 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 |
Decomposing end-to-end storage latency
Storage request latency can include application processing, filesystem operations, queueing, network transport, device processing and completion handling.
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.
The independent-request model is only illustrative. Real storage delays can be correlated through shared switches, storage servers, congestion and synchronized workload behaviour.
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.
Potential Underutilisation
Too few outstanding requests may leave device processing resources idle between operations.
Efficient Parallelism
Sufficient requests keep the storage subsystem productive while meeting latency objectives.
Queueing Pressure
Additional requests beyond service capacity may increase latency without materially increasing throughput.
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.
With fixed 128 KiB requests, this corresponds to approximately 18.3 outstanding operations on average.
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.
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.
Select an operating region that meets application throughput and latency objectives while preserving capacity for bursts, recovery operations and infrastructure failures.
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.
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.
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.
# 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
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 |
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 Amplification
Additional underlying data reads relative to the useful bytes requested by the application.
SSD Write Amplification
Additional NAND programming relative to host writes, potentially influenced by garbage collection and data placement.
Replication and Coding
Additional storage and write activity required to maintain the selected data protection architecture.
Replication increases retained storage requirements. SSD write amplification increases media programming activity and can affect endurance. These quantities must not be treated as interchangeable.
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.
Previously Accessed Data
Repeated reads may be served from memory, reducing device or network traffic and improving observed application response times.
Persistent Storage Retrieval
Data not present in the relevant cache hierarchy must be retrieved from another storage tier.
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.
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.
# 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
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
| 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 |
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.
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.
# 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
| 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 |
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.
Conventional Storage Testing
Measure storage I/O through host-oriented application buffers using the selected filesystem and I/O interface.
GDS Data-Path Testing
Exercise compatible cuFile-based I/O and evaluate GPU memory placement, transfer performance and actual path selection.
# 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
| 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 |
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.
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.
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.
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.
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.
Stagger Checkpoints
Where training semantics permit, avoid unnecessary synchronization of checkpoint bursts across independent jobs.
Storage QoS
Apply supported workload isolation, prioritization or bandwidth controls to protect latency-sensitive operations.
Dedicated Storage Tiers
Consider separate checkpoint and dataset resources when contention cannot be adequately controlled within a shared infrastructure.
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 |
# 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
Investigating a GPU storage performance incident
Consider a hypothetical AI training environment where application throughput declines despite no reported GPU hardware failures.
Compare training throughput and step duration with an established baseline for the same workload.
Determine whether GPU execution waits for input, communication, synchronization or another dependency.
Correlate batch wait time and prefetch queue depletion with accelerator inactivity.
Compare mean latency, tail latency, throughput and queueing behaviour with normal operating conditions.
Examine congestion, link utilisation, negotiated PCIe attributes and infrastructure topology.
Determine whether checkpoint bursts, recovery activity or another workload coincides with the performance regression.
Apply an authorized, reversible mitigation such as workload scheduling or resource isolation and compare results.
Verify that training throughput, latency distributions and accelerator activity recover without introducing another infrastructure problem.
The illustrative telemetry suggests storage contention, but controlled testing and additional evidence are required to distinguish competing explanations.
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 |
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.
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.
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.
Storage Benchmark Configuration
Performance Bottleneck Investigator
T = min(T_queue, T_media, T_PCIe, T_NUMA)
The lowest capacity determines the maximum modelled application throughput.
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.
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.
Live Benchmark Telemetry
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 |
|---|
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.
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.
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.
Performance
Sustain the data delivery rate required by concurrent GPU workloads.
Resilience
Maintain storage access through supported path and component failures.
Observability
Correlate GPU utilisation with storage, PCIe and fabric telemetry.
Recoverability
Restore application progress using durable, validated checkpoints.
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.
Conceptual topology and illustrative telemetry. Target failover assumes a storage system that preserves namespace access and data consistency. Values are not measured hardware benchmarks.
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 domain | Potential impact | Engineering control |
|---|---|---|
| NIC or HCA | Loss of host storage path | Independent adapters and supported multipathing |
| PCIe switch | Multiple devices become inaccessible | Independent PCIe roots where feasible |
| Fabric switch | Storage network interruption | Separate switching fabrics |
| Storage controller | Namespace or service interruption | Supported HA controller architecture |
| SSD | Media failure or degraded throughput | Replication or erasure coding |
| Metadata service | File lookup and open failures | Redundant metadata services |
| Power or rack | Correlated infrastructure outage | Rack-aware placement and power separation |
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.
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.
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.
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.
Training pipeline
Batch preparation time, data loader wait, checkpoint duration and step-time variance.
Accelerator telemetry
GPU activity, memory utilisation, PCIe traffic and relevant DCGM profiling metrics.
GPUDirect Storage
cuFile diagnostics, supported direct paths, compatibility behaviour and transfer statistics.
Network telemetry
Port throughput, congestion notifications, discards, pause counters and RDMA errors.
Target telemetry
IOPS, queue depth, tail latency, controller utilisation and namespace availability.
SSD health
Temperature, endurance, media errors, spare capacity and thermal throttling.
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.
Training operates normally
Data loader queues remain populated and training step times are stable.
One storage fabric becomes unavailable
Supported multipathing redirects eligible storage I/O to surviving paths.
Surviving fabric becomes congested
Offered load exceeds available capacity and storage tail latency increases.
GPU workers experience input starvation
Data preparation falls behind computation and distributed training progress slows.
Reduce competing storage demand
Apply workload-aware throttling or scheduling while investigating the failed fabric.
Restore and validate storage paths
Confirm path state, application progress, latency and checkpoint integrity before closing the incident.
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 symptom | Investigate | Evidence |
|---|---|---|
| GPU starvation | Data loader and storage delivery | Batch wait, I/O latency |
| High CPU usage | Staged I/O or preprocessing | cuFile diagnostics, CPU profiles |
| Unexpected latency | Congestion or queue saturation | P99 latency, queue depth, ECN |
| Intermittent I/O errors | Path or controller instability | NVMe logs, kernel events |
| Low transfer bandwidth | PCIe or NUMA locality | Topology and negotiated link state |
| Slow checkpoints | Concurrent write amplification | Write throughput, durability latency |
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.
GPU Storage Architecture Validation
Use this engineering checklist when reviewing an AI storage deployment before introducing production workloads.
Checklist progress is temporary and does not constitute automated infrastructure validation.
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.
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.
Select an engineering investigation
Infrastructure Observability
Infrastructure Remediation Console
Collect diagnostic evidence before changing infrastructure state. Apply targeted remediation and verify the resulting performance.
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.
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
Infrastructure Incident Timeline
Healthy Baseline versus Incident versus Recovery
| Engineering metric | Healthy baseline | Initial incident | Current state |
|---|
Storage Security and Resilience Checklist
Separate fabric switches, adapters, power infrastructure and storage failure domains wherever the availability design requires it.
Restrict namespace access using appropriate host identities, subsystem access controls and supported authentication mechanisms.
Apply network segmentation, controlled fabric access, congestion management and monitoring appropriate to the transport.
Validate checkpoint integrity, recovery procedures, retention policies and independent backup requirements.
Verify encryption at rest and supported in-transit protection for the selected storage transport and threat model.
Correlate storage, RDMA, PCIe, application and GPU telemetry rather than relying on isolated device-health indicators.
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.
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.
- GPU Storage, NVMe-oF and GPUDirect Storage Explained - November 26, 2026
- MCP Security and Gateway Engineering Explained - November 26, 2026
- AI Agent Identity and Authorization Architecture Explained - November 25, 2026
