Inferensys

Glossary

GPU Direct Storage

A technology enabling a direct data path between local or remote storage and GPU memory, bypassing the CPU to dramatically accelerate I/O for data-intensive AI and HPC workloads.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
DIRECT MEMORY ACCESS PATH

What is GPU Direct Storage?

GPU Direct Storage (GDS) creates a direct data path between local or remote storage and GPU memory, bypassing the CPU and system memory to dramatically accelerate I/O for data-intensive AI and HPC workloads.

GPU Direct Storage (GDS) is a technology that enables a direct memory access (DMA) data path between a storage device—such as an NVMe drive or parallel filesystem—and GPU memory, completely bypassing the CPU and system memory buffer. This eliminates a traditional bottleneck where the CPU must copy data from storage into a bounce buffer in system RAM before the GPU can access it, adding latency and consuming valuable CPU cycles.

By leveraging RDMA and GPUDirect capabilities, GDS allows the GPU to pull data directly from a storage target into its own high-bandwidth memory. This is critical for workloads like deep learning training on massive datasets stored on Lustre or local NVMe arrays, where the CPU can become a severe I/O bottleneck, starving the GPU of data and reducing overall utilization.

DIRECT DATA PATH

Key Features of GPU Direct Storage

GPU Direct Storage (GDS) creates a direct data path between local or remote storage and GPU memory, bypassing the CPU and system memory to eliminate I/O bottlenecks for data-intensive AI and HPC workloads.

01

CPU Bypass Architecture

GDS enables a Direct Memory Access (DMA) engine to transfer data straight from NVMe drives or network-attached storage into GPU memory. This completely circumvents the CPU's buffer copy mechanism, eliminating the traditional bounce buffer in system memory. The result is a significant reduction in I/O latency and a dramatic increase in usable bandwidth for large-scale training datasets.

2-3x
Bandwidth Improvement vs. Traditional I/O
02

cuFile API Integration

The technology is exposed through the cuFile API, a core component of the CUDA toolkit. This API provides a POSIX-like interface for file operations, allowing developers to read directly from storage into GPU device memory without complex memory management. It supports standard file system operations and is compatible with both local file systems and parallel distributed file systems like Lustre and GPFS.

03

RDMA Network Compatibility

GDS extends its direct data path over the network by integrating with Remote Direct Memory Access (RDMA) technologies. This allows data to be pulled directly from remote storage servers or NVMe over Fabrics (NVMe-oF) targets into GPU memory without CPU intervention on either the client or server side. It is a critical enabler for disaggregated storage architectures in large-scale AI clusters.

04

Kernel Driver Model

The GDS functionality relies on the nvidia-fs.ko kernel module, which works in tandem with the NVIDIA GPU driver. This module intercepts storage I/O requests and orchestrates the DMA transfer between the storage controller and the GPU. It is designed to handle page-faults and memory pinning automatically, ensuring that GPU memory buffers are properly locked for direct hardware access during the transfer.

05

Compatibility Requirements

To leverage GDS, specific hardware and software alignment is required:

  • GPU: NVIDIA Volta architecture or newer (Tesla V100, A100, H100).
  • Storage: NVMe SSDs or NVMe-oF targets.
  • Network: Mellanox/NVIDIA ConnectX adapters for RDMA.
  • File System: A GDS-compatible file system such as ext4, XFS, or a parallel file system with GDS support enabled.
  • CUDA: Version 11.4 or later with the cuFile library.
06

Magnum IO Stack

GPU Direct Storage is a foundational component of NVIDIA's Magnum IO suite, which encompasses the entire I/O stack for accelerated computing. It works in concert with GPUDirect RDMA (for network-to-GPU transfers) and GPUDirect P2P (for GPU-to-GPU transfers) to create a fully optimized data movement ecosystem. This integration ensures that data never makes a round-trip through the CPU or system memory at any stage of the pipeline.

GPU DIRECT STORAGE FAQ

Frequently Asked Questions

Clear, technical answers to the most common questions about GPU Direct Storage (GDS), the NVIDIA technology that creates a direct data path between storage and GPU memory to eliminate CPU bottlenecks in data-intensive AI and HPC workloads.

GPU Direct Storage (GDS) is an NVIDIA technology that enables a direct data path between local or remote storage (NVMe drives, NVMe-oF targets) and GPU memory, bypassing the CPU and system memory entirely. It works by allowing the GPU to initiate and control DMA (Direct Memory Access) transfers from storage devices through the PCIe bus directly into GPU framebuffer memory. The mechanism relies on a kernel module (nvidia-fs.ko) that integrates with the Linux kernel's libaio and io_uring interfaces, enabling RDMA-like semantics for storage. When a CUDA application requests data, the GDS-enabled driver coordinates with the NVMe controller to stream data across the PCIe fabric into a pinned GPU memory buffer, avoiding the traditional bounce buffer in CPU RAM. This eliminates the CPU's involvement in the data copy loop, reducing latency, freeing CPU cycles for computation, and dramatically increasing throughput for I/O-bound AI training and inference workloads.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.