# uGDS: A User-Space Development Kit for High-Performance GPU Direct Storage

DevFeed: [uGDS: A User-Space Development Kit for High-Performance GPU Direct Storage](<https://devfeed.tech/articles/ugds-a-user-space-development-kit-for-high-performance-gpu-direct-storage-97308.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.30868>)

Author: Jing Wei, Guanyi Chen, Qi Chen, Chuyu Zhang, Zheng Zhou, Chutian Wang, Jian Zhang

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [GPUDirect](<https://devfeed.tech/topics/gpudirect.md>), [NVMe](<https://devfeed.tech/topics/nvme.md>), [dma](<https://devfeed.tech/topics/dma.md>), [rocm](<https://devfeed.tech/topics/rocm.md>), [gpu-initated](<https://devfeed.tech/topics/gpu-initated.md>)

Tags: [amd](<https://devfeed.tech/tags/amd.md>), [apis](<https://devfeed.tech/tags/apis.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [batch](<https://devfeed.tech/tags/batch.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [command](<https://devfeed.tech/tags/command.md>), [completion](<https://devfeed.tech/tags/completion.md>), [compute](<https://devfeed.tech/tags/compute.md>), [control](<https://devfeed.tech/tags/control.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-os](<https://devfeed.tech/tags/cs-os.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [custom](<https://devfeed.tech/tags/custom.md>), [data](<https://devfeed.tech/tags/data.md>), [development-kit](<https://devfeed.tech/tags/development-kit.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [performance](<https://devfeed.tech/tags/performance.md>), [storage](<https://devfeed.tech/tags/storage.md>), [user](<https://devfeed.tech/tags/user.md>)

## AI overview

uGDS is an open-source GPU Direct Storage library that moves NVMe command management into user space while transferring payloads by PCIe peer-to-peer DMA; a minimal kernel module handles one-time privileged setup. It offers cuFile-compatible synchronous, batched, and stream-ordered APIs for CUDA and HIP, with polling or interrupt completion. Its queue partitioning targets synchronous and batch traffic, and it enforces DMA-safe buffer lifetimes. In the reported A100/Samsung 990 PRO tests, uGDS reached up to 12.12x GDS batch-read and 30.69x batch-write bandwidth at specified small request sizes and batch size 128, and cut 4-KiB synchronous-write latency by 84.1% with two threads. The abstract also reports lower LMCache median time-to-first-token and higher serving goodput, plus up to 1.19x hipFile synchronous-write bandwidth on AMD; these are evaluation-specific results, not general guarantees.

## Source excerpt

arXiv:2610.30868v1 Announce Type: new Abstract: Data-intensive GPU applications increasingly rely on NVMe SSDs to extend GPU memory. NVIDIA GPU Direct Storage (GDS) enables direct SSD-GPU transfers via PCIe peer-to-peer DMA, eliminating host staging. However, GDS retains three key limitations: (1) its control path traverses the kernel for every I/O request, introducing software overhead; (2) its stream-ordered path imposes strict total ordering even when workloads only require batch-level ordering; and (3) its closed-source user-space engine hinders diagnosis and custom scheduling. We present uGDS, https://github.com/ScaleX-IO/uGDS, an open-source user-space GPU Direct Storage library built on four principles: user-space control, unified cross-vendor abstraction, workload-aware scheduling, and end-to-end transparency. The host CPU manages the entire NVMe command lifecycle in user space, while payloads move via PCIe P2P DMA without consuming GPU compute. A minimal kernel module (ugds_drv.ko) is used only for one-time privileged setup. uGDS partitions hardware queues between synchronous and batch traffic, enforces DMA-safe buffer lifetimes, and provides cuFile-compatible synchronous, batched, and stream-ordered APIs with polling or interrupt completion on both NVIDIA CUDA and AMD HIP. Evaluated on an A100 with a Samsung 990 PRO, uGDS achieves up to 12.12x GDS's batch-read bandwidth and 30.69x its batch-write bandwidth (8- and 4-KiB requests, batch size 128), and reduces 4-KiB synchronous write latency by 84.1% with two threads. Its stream-ordered path sustains 5.49 GiB/s on a single stream, where GDS retains only 40.8% of its synchronous bandwidth. In LMCache, uGDS reduces median time-to-first-token (TTFT) by up to 62.7% and raises serving goodput by 2.63x. On AMD, uGDS achieves up to 1.19x hipFile's synchronous-write bandwidth.